public override void Init() { GetSudo(); if (!Sudo) { SudoContent sudoContent = new SudoContent(this); sudoContent.GetExtHash(); throw new CannotLoadExecutionContentException(); } handler = GetClientCommandHandler(); handler.Add("damageTree", OnDamageTree); }
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); }
public void AddClient(Client c) { ClientCommand cc = new ClientCommand(contexte); cc.Add(c); }