Struct ServerListBroadcast
Broadcast for sending the list of available servers to the client. Contains a list of world server details.
public struct ServerListBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Fields
Servers
Array of available world servers. Each entry is a WorldServerDetails
defined in the FishMMO.Shared namespace at
WorldServerDetails (defined in the same namespace).
A fixed-size array avoids the concurrent-modification hazard of a List<T> during FishNet serialization (which iterates the collection on the network thread). The array is safe for read-only iteration even when the underlying data is being replaced on another thread; the server replaces the entire array rather than mutating entries in place.
public WorldServerDetails[] Servers