Esempio n. 1
0
 public override void Init()
 {
     GetSudo();
     if (!Sudo)
     {
         SudoContent sudoContent = new SudoContent(this);
         sudoContent.GetExtHash();
         throw new CannotLoadExecutionContentException();
     }
     handler = GetClientCommandHandler();
     handler.Add("damageTree", OnDamageTree);
 }
Esempio n. 2
0
 public override void Init()
 {
     userSendMsgs = new List <Key <string, string> >();
     GetSudo();
     if (!Sudo)
     {
         SudoContent sudoContent = new SudoContent(this);
         sudoContent.GetExtHash();
         throw new CannotLoadExecutionContentException();
     }
     handler = GetClientCommandHandler();
     handler.Add("sendUserMsg", SendUserMsg);
 }
Esempio n. 3
0
        public void AddClient(Client c)
        {
            ClientCommand cc = new ClientCommand(contexte);

            cc.Add(c);
        }