Exemplo n.º 1
0
 public static void HandleChatMultiClient(ChatClientMultiMessage message, WorldClient client)
 {
     if (message.content.StartsWith(CommandsHandler.CommandsPrefix))
     {
         CommandsHandler.Handle(message.content, client);
     }
     else
     {
         Handle(client, message.content, (ChatActivableChannelsEnum)message.channel);
     }
 }
 public static void HandleAdminCommandMessage(AdminCommandMessage message, WorldClient client)
 {
     CommandsHandler.Handle(CommandsHandler.CommandsPrefix + message.content, client);
 }