docs/templates/pages/proto/system.html

107 lines
3.0 KiB
HTML
Raw Normal View History

2021-12-28 20:54:12 +00:00
{% extends "base.html" %}
2021-12-29 01:41:21 +00:00
{% block title %}system{% endblock %}
2021-12-28 20:54:12 +00:00
{% block body %}
<h1><code>system</code></h1>
<h2 id="getmaster"><code>system.getmaster</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<system method="getmaster">
<data>
<gamekind __type="str" />
<datatype __type="str" />
<datakey __type="str" />
</data>
</system>
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<system status="??status">
<result __type="s32" />
<strdata1 __type="str" />
<strdata2 __type="str" />
<updatedate __type="u64" />
</system>
</response>{% endhighlight %}</pre>
2021-12-28 00:26:42 +00:00
2021-12-28 20:54:12 +00:00
<h2 id="getlocationiplist"><code>system.getlocationiplist</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<system method="getlocationiplist">
<data>
<locationid __type="str" />
<lineid __type="str" />
</data>
</system>
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<system status="??status">
<result __type="s32" />
<iplist>
<record_num __type="s32" />
<record[]>
<localconn __type="str" />
</record[]>
</iplist>
</system>
</response>{% endhighlight %}</pre>
2021-12-28 00:26:42 +00:00
2021-12-28 20:54:12 +00:00
<h2 id="xrpcproxy"><code>system.xrpcproxy</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<system method="xrpcproxy">
<info>
<version __type="s32" />
</info>
<data>
<hostid __type="s64" />
<locationid __type="str" />
<lineid __type="str" />
</data>
</system>
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<system status="??status">
<result __type="s32" />
<pwrtime __type="s32" />
<matchlist>
<record_num __type="u32" />
<record[]>
<pcbid __type="str" />
<statusflg __type="str" />
<matchgrp __type="s32" />
<hostid __type="s64" />
<jointime __type="u64" />
<connip_g __type="str" />
<connport_g __type="s32" />
<connip_l __type="str" />
<connport_l __type="s32" />
</record[]>
</matchlist>
</system>
</response>{% endhighlight %}</pre>
2021-12-28 00:26:42 +00:00
2021-12-28 20:54:12 +00:00
<h2 id="convcardnumber"><code>system.convcardnumber</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<system method="convcardnumber">
<info>
<version __type="s32" />
</info>
<data>
<card_id __type="str" />
<card_type __type="s32" />
</data>
</system>
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<system status="??status">
<result __type="s32" />
<data>
<card_number __type="str" />
</data>
</system>
</response>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
{% endblock %}