C# Class PartyCraft.Server

Inheritance: IServer
Afficher le fichier Open project: SirCmpwn/PartyCraft Class Usage Examples

Private Properties

Свойство Type Description
MinecraftServerOnChatMessage void
MinecraftServerOnPlayerLoggedIn void
MinecraftServerOnPlayerLoggedOut void

Méthodes publiques

Méthode Description
GetUserGroups ( string user ) : List
MinecraftServer_TabComplete ( object sender, Craft.Net.Server.Events.TabCompleteEventArgs e ) : void
SendChatToGroup ( string group, string text ) : void

Sends a chat message to all members of a specified permission group.

Server ( ISettingsProvider settingsProvider ) : System
SetUserGroups ( string user, List groups ) : void
Start ( ) : void
Stop ( ) : void
TabCompleteUsername ( string text, string &matches ) : bool

Private Methods

Méthode Description
MinecraftServerOnChatMessage ( object sender, Craft.Net.Server.Events.ChatMessageEventArgs chatMessageEventArgs ) : void
MinecraftServerOnPlayerLoggedIn ( object sender, Craft.Net.Server.Events.PlayerLogInEventArgs playerLogInEventArgs ) : void
MinecraftServerOnPlayerLoggedOut ( object sender, Craft.Net.Server.Events.PlayerLogInEventArgs playerLogInEventArgs ) : void

Method Details

GetUserGroups() public méthode

public GetUserGroups ( string user ) : List
user string
Résultat List

MinecraftServer_TabComplete() public méthode

public MinecraftServer_TabComplete ( object sender, Craft.Net.Server.Events.TabCompleteEventArgs e ) : void
sender object
e Craft.Net.Server.Events.TabCompleteEventArgs
Résultat void

SendChatToGroup() public méthode

Sends a chat message to all members of a specified permission group.
public SendChatToGroup ( string group, string text ) : void
group string
text string
Résultat void

Server() public méthode

public Server ( ISettingsProvider settingsProvider ) : System
settingsProvider ISettingsProvider
Résultat System

SetUserGroups() public méthode

public SetUserGroups ( string user, List groups ) : void
user string
groups List
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TabCompleteUsername() public méthode

public TabCompleteUsername ( string text, string &matches ) : bool
text string
matches string
Résultat bool