Table of Contents

Struct SwitchStateBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Server → Client broadcast when a switch is toggled. Communicates the new state.

public struct SwitchStateBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Fields

Activated

True if the switch target is now activated.

public bool Activated

Field Value

bool

ChangeTick

The server tick the change began at, for a target that plays it out (ITimedSwitchTarget).

public uint ChangeTick

Field Value

uint

ChangeTravel

How far along its travel that target stood when the change began, 0..1.

public float ChangeTravel

Field Value

float

InteractableID

ID of the switch interactable.

public long InteractableID

Field Value

long

SolidTick

The server tick its resting pose turns solid from (SolidTick; 0: not yet).

public uint SolidTick

Field Value

uint