コード例 #1
0
    /// <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);
    }
コード例 #2
0
 /// <summary>
 /// 查询角色数据
 /// </summary>
 public void queryPlayer(long playerID, int type, int[] args)
 {
     me.send(QueryPlayerRequest.create(playerID, type, args));
 }