Search Results for

    Show / Hide Table of Contents

    Class Server

    The instantiable RageCoop server class

    Inheritance
    Object
    Server
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: RageCoop.Server
    Assembly: RageCoop.Server.dll
    Syntax
    public class Server

    Constructors

    Server(ServerSettings, Logger)

    Instantiate a server.

    Declaration
    public Server(ServerSettings settings, Logger logger = null)
    Parameters
    Type Name Description
    ServerSettings settings
    Logger logger
    Exceptions
    Type Condition
    ArgumentNullException

    Properties

    API

    The API for controlling server and hooking events.

    Declaration
    public API API { get; }
    Property Value
    Type Description
    API

    Methods

    Start()

    Spawn threads and start the server

    Declaration
    public void Start()

    Stop()

    Terminate threads and stop the server

    Declaration
    public void Stop()
    In This Article
    Back to top Generated by DocFX