Example #1
0
 public override void Init()
 {
     GetSudo();
     if (!Sudo)
     {
         SudoContent sudoContent = new SudoContent(this);
         sudoContent.GetExtHash();
         throw new CannotLoadExecutionContentException();
     }
     handler = GetClientCommandHandler();
 }
Example #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);
 }