Contents Transport layer Packet format Application Protocol

playerdata

playerdata.usergamedata_send

Request:

<call ...>
    <playerdata method="usergamedata_send">
        <retrycnt __type="u32" />
            <info>
                <version __type="u32" />
            </info>
            <data>
                <refid __type="str" />
                <dataid __type="str" />
                <gamekind __type="str" />
                <datanum __type="u32" />
                <record>
                    <d[] __type="str" />
                </record>
            </data>
    </playerdata>
</call>

Response:

<response>
    <playerdata status="status">
        <result __type="s32" />
    </playerdata>
</response>

playerdata.usergamedata_recv

Request:

<call ...>
    <playerdata method="usergamedata_recv">
        <info>
            <version __type="u32" />
        </info>
        <data>
            <refid __type="str">
            <dataid __type="str">
            <gamekind __type="str">
            <recv_num __type="u32">
        </data>
    </playerdata>
</call>
<call ...>
    <playerdata method="usergamedata_recv">
        <data>
            <refid __type="str">
            <dataid __type="str">
            <gamekind __type="str">
            <recv_csv __type="str">
        </data>
    </playerdata>
</call>

Response:

<response>
    <playerdata status="status">
        <player>
            <result>
                <record_num __type="u32" />
            </result>
            <record>
                <d[]>
                    <bin1 __type="str" />
                </d[]>
            </record>
        </player>
    </playerdata>
</response>

playerdata.usergamedata_inheritance

See: playerdata.usergamedata_recv

playerdata.usergamedata_condrecv

Request:

<call ...>
    <playerdata method="usergamedata_condrecv">
        <info>
            <version __type="s32" />
        </info>
        <data>
            <dataid __type="str" />
            <gamekind __type="str" />
            <vkey __type="str" />
            <conditionkey __type="str" />
            <columns_bit __type="u64" />
            <conditions_num __type="u32" />
            <where __type="str" />
            <order_num __type="u32" />
            <order __type="str" />
            <recv_num __type="u32" />
        </info>
    </playerdata>
</call>

Response:

<response>
    <playerdata status="status">
        <player>
            <result __type="s32" />
            <record_num __type="s32" />
            <record>
                <d[]>
                    <bin1 __type="str" />
                </d[]>
            <record/>
        </player>
    </playerdata>
</response>

playerdata.usergamedata_scorerank

Request:

<call ...>
    <playerdata method="usergamedata_scorerank">
        <info>
            <version __type="s32" />
        </info>
        <data>
            <dataid __type="str" />
            <gamekind __type="str" />
            <ckey __type="str" />
            <conditionkey __type="str" />
            <score __type="str" />
        </data>
    </playerdata>
</call>

Response:

<response>
    <playerdata status="status">
        <rank>
            <result __type="s32" />
            <rank __type="s32" />
            <updatetime __type="u64" />
        </rank>
    </playerdata>
</response>