mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-12-14 15:12:52 +01:00
156 lines
5.1 KiB
HTML
156 lines
5.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>e-Amusement API</title>
|
||
|
|
||
|
<link rel="stylesheet" href="../styles.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td><a href="..">Contents</a></td>
|
||
|
<td><a href="../transport.html">Transport layer</a></td>
|
||
|
<td><a href="../packet.html">Packet format</a></td>
|
||
|
<td><a href="../protocol.html">Application Protocol</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<h1><code>playerdata</code></h1>
|
||
|
<h2 id="usergamedata_send"><code>playerdata.usergamedata_send</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<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></code></pre>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<playerdata status="<i>status</i>">
|
||
|
<result __type="s32" />
|
||
|
</playerdata>
|
||
|
</response></code></pre>
|
||
|
|
||
|
<h2 id="usergamedata_recv"><code>playerdata.usergamedata_recv</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<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></code></pre>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<playerdata method="usergamedata_recv">
|
||
|
<data>
|
||
|
<refid __type="str">
|
||
|
<dataid __type="str">
|
||
|
<gamekind __type="str">
|
||
|
<recv_csv __type="str">
|
||
|
</data>
|
||
|
</playerdata>
|
||
|
</call></code></pre>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<playerdata status="<i>status</i>">
|
||
|
<player>
|
||
|
<result>
|
||
|
<record_num __type="u32" />
|
||
|
</result>
|
||
|
<record>
|
||
|
<d[]>
|
||
|
<bin1 __type="str" />
|
||
|
</d[]>
|
||
|
</record>
|
||
|
</player>
|
||
|
</playerdata>
|
||
|
</response></code></pre>
|
||
|
|
||
|
<h2 id="usergamedata_inheritance"><code>playerdata.usergamedata_inheritance</code></h2>
|
||
|
<p>See: <code>playerdata.usergamedata_recv</code></p>
|
||
|
|
||
|
<h2 id="usergamedata_condrecv"><code>playerdata.usergamedata_condrecv</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<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></code></pre>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<playerdata status="<i>status</i>">
|
||
|
<player>
|
||
|
<result __type="s32" />
|
||
|
<record_num __type="s32" />
|
||
|
<record>
|
||
|
<d[]>
|
||
|
<bin1 __type="str" />
|
||
|
</d[]>
|
||
|
<record/>
|
||
|
</player>
|
||
|
</playerdata>
|
||
|
</response></code></pre>
|
||
|
|
||
|
<h2 id="usergamedata_scorerank"><code>playerdata.usergamedata_scorerank</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<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></code></pre>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<playerdata status="<i>status</i>">
|
||
|
<rank>
|
||
|
<result __type="s32" />
|
||
|
<rank __type="s32" />
|
||
|
<updatetime __type="u64" />
|
||
|
</rank>
|
||
|
</playerdata>
|
||
|
</response></code></pre>
|
||
|
</body>
|