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