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(Settings, Logger)

    Instantiate a server.

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

    Fields

    Version

    Get the current server version

    Declaration
    public static readonly Version Version
    Field Value
    Type Description
    Version

    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