/// <summary> /// 创建实例 /// </summary> public static QueryPlayerRequest create(long playerID, int type, int[] args) { QueryPlayerRequest re = (QueryPlayerRequest)BytesControl.createRequest(dataID); re.playerID = playerID; re.type = type; re.args = args; return(re); }
/// <summary> /// 查询角色数据 /// </summary> public void queryPlayer(long playerID, int type, int[] args) { me.send(QueryPlayerRequest.create(playerID, type, args)); }