virtualize all net ids to reduce net traffic
This commit is contained in:
@@ -14,8 +14,9 @@ namespace Content.Shared.GameObjects.Components.Observer
|
||||
public class GhostComponentState : ComponentState
|
||||
{
|
||||
public bool CanReturnToBody { get; }
|
||||
public override uint NetID => ContentNetIDs.GHOST;
|
||||
|
||||
public GhostComponentState(bool canReturnToBody) : base(ContentNetIDs.GHOST)
|
||||
public GhostComponentState(bool canReturnToBody)
|
||||
{
|
||||
CanReturnToBody = canReturnToBody;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user