Esempio n. 1
0
 void CreateRole(NetFrame.UserToken token, string name, int modelName)
 {
     ExecutorPool.Instance.Executor(delegate
     {
         int i = UserBiz.CreatRole(token, name, modelName);//返回结果
         Write(token, UserProtocol.CreateRole_SRES, i);
     });
 }