EntityUid Type (#23)
* Wraps Entity Uids in their own type. * Update submodule I think.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
5ee56a4cd3
commit
988b2b2bc5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user