EntityUid Type (#23)

* Wraps Entity Uids in their own type.

* Update submodule I think.
This commit is contained in:
Acruid
2018-01-20 14:46:31 -08:00
committed by Pieter-Jan Briers
parent 5ee56a4cd3
commit 988b2b2bc5
3 changed files with 4 additions and 4 deletions

View File

@@ -15,10 +15,10 @@ namespace Content.Shared.GameObjects
[Serializable]
public class HandsComponentState : ComponentState
{
public readonly Dictionary<string, int> Hands;
public readonly Dictionary<string, EntityUid> Hands;
public readonly string ActiveIndex;
public HandsComponentState(Dictionary<string, int> hands, string activeIndex) : base(ContentNetIDs.HANDS)
public HandsComponentState(Dictionary<string, EntityUid> hands, string activeIndex) : base(ContentNetIDs.HANDS)
{
Hands = hands;
ActiveIndex = activeIndex;