public ModelPlayToClient PlayInfo(ModelPlayToServer info) { //Loger.Log("Client PlayInfo "/* + info.TypeInfo.ToString()*/); var stat = TransObject <ModelPlayToClient>(info, (int)PackageType.Request11, (int)PackageType.Response12); return(stat); }
/* * public bool CreatePlayerMap(ModelCreatePlayerMap packet) * { * Loger.Log("Client CreatePlayerMap"); * var stat = TransObject<ModelStatus>(packet, 9, 10); * if (stat != null && stat.Status != 0) * { * ErrorMessage = stat.Message; * return false; * } * return stat != null; * } */ public ModelPlayToClient PlayInfo(ModelPlayToServer info) { //Loger.Log("Client PlayInfo "/* + info.TypeInfo.ToString()*/); var stat = TransObject <ModelPlayToClient>(info, 11, 12); return(stat); }