Table of Contents

Struct CharacterMovementModeBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Tells observers a character entered or left combat.

public struct CharacterMovementModeBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

CharacterFlags.IsInCombat was known only to the character's own client and to the server, so nothing on anybody else's screen could react to a peer being in a fight — a nameplate indicator had no state to read. This is the smallest message that closes that: one id and one bool, sent on the transition rather than continuously.

Reliable, and deliberately not buffered — a client that arrives later reads the flag out of the spawn payload, exactly as it does for death.

Fields

CharacterObjectID

NetworkObject id of the character.

public int CharacterObjectID

Field Value

int

Mode

The movement mode, MovementModeBits.

public byte Mode

Field Value

byte