All the base bemani xrpc methods

This commit is contained in:
Bottersnike 2021-12-22 04:21:13 +00:00
parent aeff96e1d5
commit a5e2a7569b
1 changed files with 175 additions and 58 deletions

View File

@ -306,13 +306,25 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;playerdata method="usergamedata_send"&gt;
<i>placeholder</i>
&lt;retrycnt __type="u32" /&gt;
&lt;info&gt;
&lt;version __type="u32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;refid __type="str" /&gt;
&lt;dataid __type="str" /&gt;
&lt;gamekind __type="str" /&gt;
&lt;datanum __type="u32" /&gt;
&lt;record&gt;
&lt;d[] __type="str" /&gt;
&lt;/record&gt;
&lt;/data&gt;
&lt;/playerdata&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;playerdata status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;/playerdata&gt;
&lt;/response&gt;</code></pre>
@ -320,6 +332,9 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;playerdata method="usergamedata_recv"&gt;
&lt;info&gt;
&lt;version __type="u32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;refid __type="str"&gt;
&lt;dataid __type="str"&gt;
@ -341,35 +356,55 @@
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;playerdata status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;player&gt;
&lt;result&gt;
&lt;record_num __type="u32" /&gt;
&lt;/result&gt;
&lt;record&gt;
&lt;d[]&gt;
&lt;bin1 __type="str" /&gt;
&lt;/d[]&gt;
&lt;/record&gt;
&lt;/player&gt;
&lt;/playerdata&gt;
&lt;/response&gt;</code></pre>
<h3 id="playerdata.usergamedata_inheritance"><code>playerdata.usergamedata_inheritance</code></h3>
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;playerdata method="usergamedata_inheritance"&gt;
<i>placeholder</i>
&lt;/playerdata&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;playerdata status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;/playerdata&gt;
&lt;/response&gt;</code></pre>
<p>See: <code>playerdata.usergamedata_recv</code></p>
<h3 id="playerdata.usergamedata_condrecv"><code>playerdata.usergamedata_condrecv</code></h3>
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;playerdata method="usergamedata_condrecv"&gt;
<i>placeholder</i>
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;dataid __type="str" /&gt;
&lt;gamekind __type="str" /&gt;
&lt;vkey __type="str" /&gt;
&lt;conditionkey __type="str" /&gt;
&lt;columns_bit __type="u64" /&gt;
&lt;conditions_num __type="u32" /&gt;
&lt;where __type="str" /&gt;
&lt;order_num __type="u32" /&gt;
&lt;order __type="str" /&gt;
&lt;recv_num __type="u32" /&gt;
&lt;/info&gt;
&lt;/playerdata&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;playerdata status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;player&gt;
&lt;result __type="s32" /&gt;
&lt;record_num __type="s32" /&gt;
&lt;record&gt;
&lt;d[]&gt;
&lt;bin1 __type="str" /&gt;
&lt;/d[]&gt;
&lt;record/&gt;
&lt;/player&gt;
&lt;/playerdata&gt;
&lt;/response&gt;</code></pre>
@ -377,13 +412,26 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;playerdata method="usergamedata_scorerank"&gt;
<i>placeholder</i>
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;dataid __type="str" /&gt;
&lt;gamekind __type="str" /&gt;
&lt;ckey __type="str" /&gt;
&lt;conditionkey __type="str" /&gt;
&lt;score __type="str" /&gt;
&lt;/data&gt;
&lt;/playerdata&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;playerdata status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;rank&gt;
&lt;result __type="s32" /&gt;
&lt;rank __type="s32" /&gt;
&lt;updatetime __type="u64" /&gt;
&lt;/rank&gt;
&lt;/playerdata&gt;
&lt;/response&gt;</code></pre>
@ -393,28 +441,36 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;matching method="request"&gt;
&lt;matchtyp __type="s32" /&gt;
&lt;matchgrp __type="s32" /&gt;
&lt;matchflg __type="s32" /&gt;
&lt;waituser __type="s32" /&gt;
&lt;waittime __type="s32" /&gt;
&lt;joinip __type="str" /&gt;
&lt;localip __type="str" /&gt;
&lt;localport __type="s32" /&gt;
&lt;dataid __type="str" /&gt;
&lt;gamekind __type="str" /&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;locationcountry __type="str" /&gt;
&lt;locationregion __type="str" /&gt;
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;matchtyp __type="s32" /&gt;
&lt;matchgrp __type="s32" /&gt;
&lt;matchflg __type="s32" /&gt;
&lt;waituser __type="s32" /&gt;
&lt;waittime __type="s32" /&gt;
&lt;joinip __type="str" /&gt;
&lt;localip __type="str" /&gt;
&lt;localport __type="s32" /&gt;
&lt;dataid __type="str" /&gt;
&lt;gamekind __type="str" /&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;locationcountry __type="str" /&gt;
&lt;locationregion __type="str" /&gt;
&lt;/data&gt;
&lt;/matching&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;matching status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;hostid __type="s64" /&gt;
&lt;result __type="s32" /&gt;
&lt;hostip_g __type="str" /&gt;
&lt;hostip_l __type="str" /&gt;
&lt;hostport_l __type="s32" /&gt;
&lt;hostport_g __type="s32" /&gt;
&lt;/matching&gt;
&lt;/response&gt;</code></pre>
@ -422,13 +478,21 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;matching method="wait"&gt;
<i>placeholder</i>
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;hostid __type="s64" /&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;/data&gt;
&lt;/matching&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;matching status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;prwtime __type="s32" /&gt;
&lt;/matching&gt;
&lt;/response&gt;</code></pre>
@ -436,13 +500,20 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;matching method="finish"&gt;
<i>placeholder</i>
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;hostid __type="s64" /&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;/data&gt;
&lt;/matching&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;matching status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;/matching&gt;
&lt;/response&gt;</code></pre>
@ -452,13 +523,20 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="getmaster"&gt;
<i>placeholder</i>
&lt;data&gt;
&lt;gamekind __type="str" /&gt;
&lt;datatype __type="str" /&gt;
&lt;datakey __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;strdata1 __type="str" /&gt;
&lt;strdata2 __type="str" /&gt;
&lt;updatedate __type="u64" /&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
@ -466,13 +544,22 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="getlocationiplist"&gt;
<i>placeholder</i>
&lt;data&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;iplist&gt;
&lt;record_num __type="s32" /&gt;
&lt;record[]&gt;
&lt;localconn __type="str" /&gt;
&lt;/record[]&gt;
&lt;/iplist&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
@ -480,13 +567,35 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="xrpcproxy"&gt;
<i>placeholder</i>
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;hostid __type="s64" /&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;pwrtime __type="s32" /&gt;
&lt;matchlist&gt;
&lt;record_num __type="u32" /&gt;
&lt;record[]&gt;
&lt;pcbid __type="str" /&gt;
&lt;statusflg __type="str" /&gt;
&lt;matchgrp __type="s32" /&gt;
&lt;hostid __type="s64" /&gt;
&lt;jointime __type="u64" /&gt;
&lt;connip_g __type="str" /&gt;
&lt;connport_g __type="s32" /&gt;
&lt;connip_l __type="str" /&gt;
&lt;connport_l __type="s32" /&gt;
&lt;/record[]&gt;
&lt;/matchlist&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
@ -494,13 +603,22 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="convcardnumber"&gt;
<i>placeholder</i>
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;card_id __type="str" /&gt;
&lt;card_type __type="s32" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;result __type="s32" /&gt;
&lt;data&gt;
&lt;card_number __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
@ -510,28 +628,27 @@
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;esoc method="read"&gt;
<i>placeholder</i>
&lt;senddata /&gt;
&lt;/esoc&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;esoc status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;recvdata /&gt;
&lt;/esoc&gt;
&lt;/response&gt;</code></pre>
<p>Go figure.</p>
<h3 id="esoc.write"><code>esoc.write</code></h3>
<h4>Request:</h4>
<pre><code>&lt;call <i>...</i>&gt;
&lt;esoc method="write"&gt;
<i>placeholder</i>
&lt;senddata /&gt;
&lt;/esoc&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
<pre><code>&lt;response&gt;
&lt;esoc status="<i>status</i>"&gt;
<i>placeholder</i>
&lt;/esoc&gt;
&lt;esoc status="<i>status</i>" /&gt;
&lt;/response&gt;</code></pre>
@ -647,7 +764,7 @@
&lt;lasttime __type="str" /&gt;
&lt;exptime __type="str" /&gt;
&lt;expflag __type="u8" /&gt;
&lt;/item&gt;
&lt;/item[]&gt;
&lt;/cardmng&gt;
&lt;/response&gt;</code></pre>
@ -800,7 +917,7 @@
&lt;name __type="str" /&gt;
&lt;value __type="s32" /&gt;
&lt;time __type="time" /&gt;
&lt;/item&gt;
&lt;/item[]&gt;
&lt;/pcbevent&gt;
&lt;/call&gt;</code></pre>
<h4>Response:</h4>
@ -1234,7 +1351,7 @@
&lt;cardno __type="str" /&gt;
&lt;title __type="str" /&gt;
&lt;systemid __type="str" /&gt;
&lt;/item&gt;
&lt;/item[]&gt;
&lt;/history&gt;
&lt;/eacoin&gt;
&lt;/response&gt;</code></pre>
@ -1249,7 +1366,7 @@
&lt;valid __type="bool"&gt;
&lt;addr __type="ip4"&gt;
&lt;usec __type="u64"&gt;
&lt;/hop&gt;
&lt;/hop[]&gt;
&lt;/traceroute&gt;
&lt;/call&gt;</code></pre>
<p><code>hop</code> repeats for every hop (unsurprisingly)</p>