mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-12-14 15:12:52 +01:00
58 lines
1.8 KiB
HTML
58 lines
1.8 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>eventlog</code></h1>
|
||
|
<h2 id="write"><code>eventlog.write</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<eventlog method="write">
|
||
|
<retrycnt __type="u32" />
|
||
|
<data>
|
||
|
<eventid __type="str" />
|
||
|
<eventorder __type="s32" />
|
||
|
<pcbtime __type="u64" />
|
||
|
<gamesession __type="s64" />
|
||
|
<strdata1 __type="str" />
|
||
|
<strdata2 __type="str" />
|
||
|
<numdata1 __type="s64" />
|
||
|
<numdata2 __type="s64" />
|
||
|
<locationid __type="str" />
|
||
|
</data>
|
||
|
</eventlog>
|
||
|
</call></code></pre>
|
||
|
<p>Event ID list:</p>
|
||
|
<ul>
|
||
|
<li><code>G_GAMED</code></li>
|
||
|
<li><code>S_ERROR</code></li>
|
||
|
<li><code>S_PWRON</code> <b>TODO: find more!</b></li>
|
||
|
<li><code>T_OTDEMO</code></li>
|
||
|
</ul>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<eventlog status="<i>status</i>">
|
||
|
<gamesession __type="s64" />
|
||
|
<logsendflg __type="s32" />
|
||
|
<logerrlevel __type="s32" />
|
||
|
<evtidnosendflg __type="s32" />
|
||
|
</eventlog>
|
||
|
</response></code></pre>
|
||
|
</body>
|