Revise the message handler system, and partially the command system
This commit is contained in:
parent
57dcc685df
commit
59c62e62e2
19 changed files with 350 additions and 209 deletions
20
CommandSystem/BaseCommands.cs
Normal file
20
CommandSystem/BaseCommands.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using OpenMetaverse;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Bot.CommandSystem
|
||||
{
|
||||
public class BaseCommands
|
||||
{
|
||||
|
||||
public void MHE(Destinations dest, UUID client, string msg)
|
||||
{
|
||||
MessageFactory.Post(dest, msg, client);
|
||||
}
|
||||
public static void MH(Destinations dest, UUID client, string msg)
|
||||
{
|
||||
MessageFactory.Post(dest, msg, client);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue