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:
indeano
2018-06-20 16:49:13 -04:00
committed by clusterfack
parent 86e600bec7
commit 2d23c6a45e
3 changed files with 83 additions and 9 deletions

View File

@@ -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;
}
}
}