C# Class EssentialsPlugin.Essentials

Inheritance: IPlugin, IChatEventHandler, IPlayerEventHandler, ICubeGridHandler, ICubeBlockEventHandler, ISectorEventHandler
Afficher le fichier Open project: rexxar-tc/EssentialsPlugin Class Usage Examples

Méthodes publiques

Свойство Type Description
Log Logger

Private Properties

Свойство Type Description
DisplayAvailableCommands void
DoInit void
HandleHelpCommand void
HandleHelpDialog void
PluginProcessing void

Méthodes publiques

Méthode Description
HandleChatMessage ( ulong steamId, string message ) : void
Init ( ) : void
InitWithPath ( String modPath ) : void
OnChatReceived ( ChatManager obj ) : void

Raised when a chat messages are received. NOTE: This is raised on a different thread

OnChatSent ( ChatManager obj ) : void
OnCubeBlockCreated ( CubeBlockEntity entity ) : void
OnCubeBlockDeleted ( CubeBlockEntity entity ) : void
OnCubeGridCreated ( CubeGridEntity cubeGrid ) : void
OnCubeGridDeleted ( CubeGridEntity cubeGrid ) : void
OnCubeGridLoaded ( CubeGridEntity cubeGrid ) : void
OnCubeGridMoved ( CubeGridEntity cubeGrid ) : void
OnEntityAdd ( IMyEntity obj ) : void
OnEntityRemove ( IMyEntity obj ) : void
OnMessageReceived ( ) : void
OnPlayerJoined ( ulong remoteUserId ) : void
OnPlayerLeft ( ulong remoteUserId ) : void
OnPlayerWorldSent ( ulong remoteUserId ) : void
OnSectorSaved ( object state ) : void
Shutdown ( ) : void
Update ( ) : void

Private Methods

Méthode Description
DisplayAvailableCommands ( ulong remoteUserId, string recvMessage ) : void

Displays the available commands for the command entered

DoInit ( string path ) : void
HandleHelpCommand ( ulong remoteUserId, IReadOnlyCollection commandParts ) : void

This function displays available help for all the functionality of this plugin

HandleHelpDialog ( ulong remoteUserId, IReadOnlyCollection commandParts ) : void

This function displays available help for all the functionality of this plugin in a dialog window

PluginProcessing ( ) : void

Method Details

HandleChatMessage() public méthode

public HandleChatMessage ( ulong steamId, string message ) : void
steamId ulong
message string
Résultat void

Init() public méthode

public Init ( ) : void
Résultat void

InitWithPath() public méthode

public InitWithPath ( String modPath ) : void
modPath String
Résultat void

OnChatReceived() public méthode

Raised when a chat messages are received. NOTE: This is raised on a different thread
public OnChatReceived ( ChatManager obj ) : void
obj ChatManager
Résultat void

OnChatSent() public méthode

public OnChatSent ( ChatManager obj ) : void
obj ChatManager
Résultat void

OnCubeBlockCreated() public méthode

public OnCubeBlockCreated ( CubeBlockEntity entity ) : void
entity CubeBlockEntity
Résultat void

OnCubeBlockDeleted() public méthode

public OnCubeBlockDeleted ( CubeBlockEntity entity ) : void
entity CubeBlockEntity
Résultat void

OnCubeGridCreated() public méthode

public OnCubeGridCreated ( CubeGridEntity cubeGrid ) : void
cubeGrid CubeGridEntity
Résultat void

OnCubeGridDeleted() public méthode

public OnCubeGridDeleted ( CubeGridEntity cubeGrid ) : void
cubeGrid CubeGridEntity
Résultat void

OnCubeGridLoaded() public méthode

public OnCubeGridLoaded ( CubeGridEntity cubeGrid ) : void
cubeGrid CubeGridEntity
Résultat void

OnCubeGridMoved() public méthode

public OnCubeGridMoved ( CubeGridEntity cubeGrid ) : void
cubeGrid CubeGridEntity
Résultat void

OnEntityAdd() public méthode

public OnEntityAdd ( IMyEntity obj ) : void
obj IMyEntity
Résultat void

OnEntityRemove() public méthode

public OnEntityRemove ( IMyEntity obj ) : void
obj IMyEntity
Résultat void

OnMessageReceived() public méthode

public OnMessageReceived ( ) : void
Résultat void

OnPlayerJoined() public méthode

public OnPlayerJoined ( ulong remoteUserId ) : void
remoteUserId ulong
Résultat void

OnPlayerLeft() public méthode

public OnPlayerLeft ( ulong remoteUserId ) : void
remoteUserId ulong
Résultat void

OnPlayerWorldSent() public méthode

public OnPlayerWorldSent ( ulong remoteUserId ) : void
remoteUserId ulong
Résultat void

OnSectorSaved() public méthode

public OnSectorSaved ( object state ) : void
state object
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

Log public_oe static_oe property

public static Logger Log
Résultat Logger