docs/templates/pages/proto/matching.html

84 lines
2.4 KiB
HTML

{% extends "konami.html" %}
{% block title %}matching{% endblock %}
{% block body %}
<h1><code>matching</code></h1>
<h2 id="request"><code>matching.request</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<call ...>
<matching method="request">
<info>
<version __type="s32" />
</info>
<data>
<matchtyp __type="s32" />
<matchgrp __type="s32" />
<matchflg __type="s32" />
<waituser __type="s32" />
<waittime __type="s32" />
<joinip __type="str" />
<localip __type="str" />
<localport __type="s32" />
<dataid __type="str" />
<gamekind __type="str" />
<locationid __type="str" />
<lineid __type="str" />
<locationcountry __type="str" />
<locationregion __type="str" />
</data>
</matching>
</call>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<matching status="??status">
<hostid __type="s64" />
<result __type="s32" />
<hostip_g __type="str" />
<hostip_l __type="str" />
<hostport_l __type="s32" />
<hostport_g __type="s32" />
</matching>
</response>{% endhighlight %}</pre>
<h2 id="wait"><code>matching.wait</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<call ...>
<matching method="wait">
<info>
<version __type="s32" />
</info>
<data>
<hostid __type="s64" />
<locationid __type="str" />
<lineid __type="str" />
</data>
</matching>
</call>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<matching status="??status">
<result __type="s32" />
<prwtime __type="s32" />
</matching>
</response>{% endhighlight %}</pre>
<h2 id="finish"><code>matching.finish</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<call ...>
<matching method="finish">
<info>
<version __type="s32" />
</info>
<data>
<hostid __type="s64" />
<locationid __type="str" />
<lineid __type="str" />
</data>
</matching>
</call>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<matching status="??status">
<result __type="s32" />
</matching>
</response>{% endhighlight %}</pre>
{% endblock %}