Class ServerRoom
This class represents a room from the server.
Inherited Members
Namespace: Evergine.Networking.Server.Rooms
Assembly: Evergine.Networking.dll
Syntax
public class ServerRoom : LocalNetworkRoom, INetworkRoom, IRoomInfo
  Constructors
ServerRoom(RoomOptions)
Initializes a new instance of the ServerRoom class.
Declaration
public ServerRoom(RoomOptions roomOptions)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RoomOptions | roomOptions | The room options for the new room.  | 
      
Properties
AllPlayers
Gets the "list" of all the players who are in that room. Only updated while inside a Room.
Declaration
public IEnumerable<ServerPlayer> AllPlayers { get; }
  Property Value
| Type | Description | 
|---|---|
| IEnumerable<ServerPlayer> |