Some work on directing storage component's client updates (#75)
* adds storage system, primitive client-unsubscribing of storage updates * strips out currently unneeded system * channel to actor * closestorageui todo added * thorough logging, actor to session, validates session before sending packets * offloads session status check to an event handler
This commit is contained in:
@@ -56,4 +56,17 @@ namespace Content.Shared.GameObjects.Components.Storage
|
||||
Directed = true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Component message for closing the storage UI.
|
||||
/// E.g when the player moves too far away from the container.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class CloseStorageUIMessage : ComponentMessage
|
||||
{
|
||||
public CloseStorageUIMessage()
|
||||
{
|
||||
Directed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user