Search Results for

    Show / Hide Table of Contents

    Class ServerResource

    A class representing a server side resource, each resource is isolated from another and will be started alongside the server.

    Inheritance
    Object
    McMaster.NETCore.Plugins.PluginLoader
    ServerResource
    Implements
    IDisposable
    Inherited Members
    McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(System.String, System.Boolean, System.Type[])
    McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(System.String, System.Boolean, System.Type[], System.Action<McMaster.NETCore.Plugins.PluginConfig>)
    McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(System.String, System.Type[])
    McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(System.String, System.Type[], System.Action<McMaster.NETCore.Plugins.PluginConfig>)
    McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(System.String)
    McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(System.String, System.Action<McMaster.NETCore.Plugins.PluginConfig>)
    McMaster.NETCore.Plugins.PluginLoader.Reload()
    McMaster.NETCore.Plugins.PluginLoader.LoadDefaultAssembly()
    McMaster.NETCore.Plugins.PluginLoader.LoadAssembly(System.Reflection.AssemblyName)
    McMaster.NETCore.Plugins.PluginLoader.LoadAssemblyFromPath(System.String)
    McMaster.NETCore.Plugins.PluginLoader.LoadAssembly(System.String)
    McMaster.NETCore.Plugins.PluginLoader.EnterContextualReflection()
    McMaster.NETCore.Plugins.PluginLoader.Dispose()
    McMaster.NETCore.Plugins.PluginLoader.IsUnloadable
    McMaster.NETCore.Plugins.PluginLoader.Reloaded
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: RageCoop.Server.Scripting
    Assembly: RageCoop.Server.dll
    Syntax
    public class ServerResource : PluginLoader, IDisposable

    Fields

    Logger

    Get a Logger instance that can be used to show information in console.

    Declaration
    public Logger Logger
    Field Value
    Type Description
    Logger

    Properties

    DataFolder

    A resource-specific folder that can be used to store your files.

    Declaration
    public string DataFolder { get; }
    Property Value
    Type Description
    String

    Files

    Get all ResourceFile that can be used to acces files in this resource

    Declaration
    public Dictionary<string, ResourceFile> Files { get; }
    Property Value
    Type Description
    Dictionary<String, ResourceFile>

    Name

    Name of the resource

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    Scripts

    Get all ServerScript instance in this resource

    Declaration
    public Dictionary<string, ServerScript> Scripts { get; }
    Property Value
    Type Description
    Dictionary<String, ServerScript>

    Implements

    System.IDisposable
    In This Article
    Back to top Generated by DocFX