Search Results for

    Show / Hide Table of Contents

    Class ServerRoom

    This class represents a room from the server.

    Inheritance
    object
    BaseNetworkRoom
    LocalNetworkRoom
    ServerRoom
    Implements
    INetworkRoom
    IRoomInfo
    Inherited Members
    LocalNetworkRoom.IsVisible
    LocalNetworkRoom.MaxPlayers
    LocalNetworkRoom.RemotePlayers
    LocalNetworkRoom.PlayerJoining
    LocalNetworkRoom.PlayerJoined
    LocalNetworkRoom.PlayerLeaving
    LocalNetworkRoom.PlayerLeft
    BaseNetworkRoom.FirstPlayerId
    BaseNetworkRoom.internalRoomInfo
    BaseNetworkRoom.MasterClientId
    BaseNetworkRoom.CustomProperties
    BaseNetworkRoom.Name
    BaseNetworkRoom.PlayerCount
    BaseNetworkRoom.IsFull
    BaseNetworkRoom.PropertiesListedInLobby
    BaseNetworkRoom.MasterClientIdChanged
    BaseNetworkRoom.GetPlayer(int)
    BaseNetworkRoom.WriteToMessage(OutgoingMessage, BaseNetworkRoom.RoomFieldsFlags)
    BaseNetworkRoom.InternalAddPlayer(BaseNetworkPlayer)
    BaseNetworkRoom.InternalAddPlayer(BaseNetworkPlayer, int)
    BaseNetworkRoom.InternalRemovePlayer(int)
    BaseNetworkRoom.OnChange(BaseNetworkRoom.RoomFieldsFlags)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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>

    Implements

    INetworkRoom
    IRoomInfo

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX