mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-12-13 23:11:03 +01:00
103 lines
3.3 KiB
HTML
103 lines
3.3 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>matching</code></h1>
|
|
<h2 id="request"><code>matching.request</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre><code><call <i>...</i>>
|
|
<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></code></pre>
|
|
<h3>Response:</h3>
|
|
<pre><code><response>
|
|
<matching status="<i>status</i>">
|
|
<hostid __type="s64" />
|
|
<result __type="s32" />
|
|
<hostip_g __type="str" />
|
|
<hostip_l __type="str" />
|
|
<hostport_l __type="s32" />
|
|
<hostport_g __type="s32" />
|
|
</matching>
|
|
</response></code></pre>
|
|
|
|
<h2 id="wait"><code>matching.wait</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre><code><call <i>...</i>>
|
|
<matching method="wait">
|
|
<info>
|
|
<version __type="s32" />
|
|
</info>
|
|
<data>
|
|
<hostid __type="s64" />
|
|
<locationid __type="str" />
|
|
<lineid __type="str" />
|
|
</data>
|
|
</matching>
|
|
</call></code></pre>
|
|
<h3>Response:</h3>
|
|
<pre><code><response>
|
|
<matching status="<i>status</i>">
|
|
<result __type="s32" />
|
|
<prwtime __type="s32" />
|
|
</matching>
|
|
</response></code></pre>
|
|
|
|
<h2 id="finish"><code>matching.finish</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre><code><call <i>...</i>>
|
|
<matching method="finish">
|
|
<info>
|
|
<version __type="s32" />
|
|
</info>
|
|
<data>
|
|
<hostid __type="s64" />
|
|
<locationid __type="str" />
|
|
<lineid __type="str" />
|
|
</data>
|
|
</matching>
|
|
</call></code></pre>
|
|
<h3>Response:</h3>
|
|
<pre><code><response>
|
|
<matching status="<i>status</i>">
|
|
<result __type="s32" />
|
|
</matching>
|
|
</response></code></pre>
|
|
</body> |