ALFAIRCBot.ALFAIRCBot.IngameCommand_Help C# (CSharp) Метод

IngameCommand_Help() приватный Метод

Display a listing of available IRC extension commands.
private IngameCommand_Help ( int PlayerId, int CharacterServerId, string Text ) : void
PlayerId int Supplies the requesting player ID.
CharacterServerId int Supplies the server ID to send the /// response information to.
Text string
Результат void
        private void IngameCommand_Help(int PlayerId, int CharacterServerId, string Text)
        {
            foreach (IngameIrcCommand CommandDescriptor in IngameCommands)
            {
                SendMessageToPlayer(PlayerId, CharacterServerId, String.Format(
                    "#irc /{0}  - {1}", CommandDescriptor.Prefix, CommandDescriptor.HelpText));
            }
        }