docs/templates/pages/proto/playerdata.html
2021-12-29 01:41:21 +00:00

137 lines
4.1 KiB
HTML

{% extends "base.html" %}
{% block title %}playerdata{% endblock %}
{% block body %}
<h1><code>playerdata</code></h1>
<h2 id="usergamedata_send"><code>playerdata.usergamedata_send</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<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>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<playerdata status="??status">
<result __type="s32" />
</playerdata>
</response>{% endhighlight %}</pre>
<h2 id="usergamedata_recv"><code>playerdata.usergamedata_recv</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<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>{% endhighlight %}</pre>
<pre>{% highlight "cxml" %}<call ...>
<playerdata method="usergamedata_recv">
<data>
<refid __type="str">
<dataid __type="str">
<gamekind __type="str">
<recv_csv __type="str">
</data>
</playerdata>
</call>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<playerdata status="??status">
<player>
<result>
<record_num __type="u32" />
</result>
<record>
<d[]>
<bin1 __type="str" />
</d[]>
</record>
</player>
</playerdata>
</response>{% endhighlight %}</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>{% highlight "cxml" %}<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>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<playerdata status="??status">
<player>
<result __type="s32" />
<record_num __type="s32" />
<record>
<d[]>
<bin1 __type="str" />
</d[]>
<record/>
</player>
</playerdata>
</response>{% endhighlight %}</pre>
<h2 id="usergamedata_scorerank"><code>playerdata.usergamedata_scorerank</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<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>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<playerdata status="??status">
<rank>
<result __type="s32" />
<rank __type="s32" />
<updatetime __type="u64" />
</rank>
</playerdata>
</response>{% endhighlight %}</pre>
{% endblock %}