Universal

Namespace: uModLibraries

Assembly: uMod.Core.dll

Inheritance ObjectLibrary Universal

Implements ILibrary, ISingleton, INameable

Summary

The Universal library

Constructors

Name

Summary

Universal (IApplication, ILogger)

Properties

Name

Summary

ClientAppId

Gets the Steam app ID of the game's client, if available

CommandSystem

Gets the command system adapter

Game

Gets the name of the current game

Name

Gets the name "umod"

Players

Gets the player manager mediator

Server

Gets the server mediator

ServerAppId

Gets the Steam app ID of the game's server, if available

Methods

Name

Summary

FormatText (String)

Formats the text with markup into the game-specific markup language

Initialize ()

Initializes the Universal library

Initialize (IInitializationInfo)

RegisterCommand (String, IPlugin, CommandCallback)

Registers a command (chat + console)

UnregisterCommand (String, IPlugin)

Unregisters a command (chat + console)