Table of Contents

Struct SceneChannelListBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Broadcast for sending a list of available scene channels to the client. Contains a list of channel addresses.

public struct SceneChannelListBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Fields

Addresses

List of available channel addresses for scene selection.

public ChannelAddress[] Addresses

Field Value

ChannelAddress[]

CurrentSceneHandle

The channel the character is on right now, as a scenes.id, so the picker can mark it.

public long CurrentSceneHandle

Field Value

long

Remarks

The client cannot work this out for itself. IPlayerCharacter.SceneHandle is server-side state — a plain property, never replicated — so on the client it is always zero, and the picker's "which one am I on" comparison could never match. The player was shown a list of identical-looking channels with no indication of where they already were, and picking their current one produced no visible result at all. Sending it is the only way the client can know.