// TODO: instead of this funny stuff just give it access and update in system dirtying when needed
[ViewVariables(VVAccess.ReadWrite)]
publicboolCanGhostInteract
{
get=>_canGhostInteract;
set
{
if(_canGhostInteract==value)return;
_canGhostInteract=value;
Dirty();
}
}
[DataField("canInteract"), AutoNetworkedField]
privatebool_canGhostInteract;
/// <summary>
/// Changed by <see cref="SharedGhostSystem.SetCanReturnToBody"/>
/// </summary>
// TODO MIRROR change this to use friend classes when thats merged
[ViewVariables(VVAccess.ReadWrite)]
publicboolCanReturnToBody
{
get=>_canReturnToBody;
set
{
if(_canReturnToBody==value)return;
_canReturnToBody=value;
Dirty();
}
}
/// <summary>
/// Ghost color
/// </summary>
/// <remarks>Used to allow admins to change ghost colors. Should be removed if the capability to edit existing sprite colors is ever added back.</remarks>