2021-12-28 20:54:12 +00:00
|
|
|
{% extends "base.html" %}
|
2021-12-29 01:41:21 +00:00
|
|
|
{% block title %}eventlog{% endblock %}
|
2021-12-28 20:54:12 +00:00
|
|
|
{% block body %}
|
|
|
|
<h1><code>eventlog</code></h1>
|
|
|
|
<h2 id="write"><code>eventlog.write</code></h2>
|
|
|
|
<h3>Request:</h3>
|
2021-12-28 22:29:33 +00:00
|
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
|
|
<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>{% endhighlight %}</pre>
|
2021-12-28 20:54:12 +00:00
|
|
|
<p>Event ID list:</p>
|
|
|
|
<ul>
|
2021-12-31 22:07:46 +00:00
|
|
|
<li><code>S_INIT</code>: init</li>
|
2021-12-28 20:54:12 +00:00
|
|
|
<li><code>T_OTDEMO</code></li>
|
2021-12-31 22:07:46 +00:00
|
|
|
<li><code>S_TEST</code>: test mode</li>
|
|
|
|
<li><code>S_ERROR</code>: error</li>
|
|
|
|
<li><code>G_GAMEST</code>: game start</li>
|
|
|
|
<li><code>G_GAMEED</code>: game end</li>
|
|
|
|
<li><code>T_*</code>: transition</li>
|
|
|
|
<li><code>E_*</code>: event data</li>
|
|
|
|
<li><code>S_PWRON</code></li>
|
|
|
|
<li><code>S_IPADDR</code></li>
|
|
|
|
<li><code>G_GOININ</code></li>
|
|
|
|
<li><code>G_SVPUSH</code></li>
|
|
|
|
<li><code>G_CARD</code></li>
|
|
|
|
<li><code>G_CARDIQ</code></li>
|
|
|
|
<li><code>G_CARDA</code></li>
|
|
|
|
<li><code>G_CARDBM</code></li>
|
|
|
|
<li><code>G_CARDBC</code></li>
|
|
|
|
<li><code>G_CARDEE</code></li>
|
|
|
|
<li><code>G_CARDST</code></li>
|
|
|
|
<li><code>G_CARDED</code></li>
|
|
|
|
<li><code>G_ECRDOQ</code></li>
|
|
|
|
<li><code>G_ECRDA</code></li>
|
|
|
|
<li><code>G_ECRDBM</code></li>
|
|
|
|
<li><code>G_ECRDBC</code></li>
|
|
|
|
<li><code>G_ECRDEE</code></li>
|
|
|
|
<li><code>G_ECRDST</code></li>
|
|
|
|
<li><code>G_ECRDED</code></li>
|
|
|
|
<li><code>S_CRUSH</code></li>
|
|
|
|
<li><code>G_DEMOST</code></li>
|
|
|
|
<li><code>G_DEMOSP</code></li>
|
|
|
|
<li><code>G_DEMOED</code></li>
|
|
|
|
<li><code>G_ITEMST</code></li>
|
|
|
|
<li><code>G_ITEMED</code></li>
|
|
|
|
<li><code>G_EVENT</code></li>
|
|
|
|
<li><code>G_LOAD</code></li>
|
|
|
|
<li><code>G_INHERI</code></li>
|
|
|
|
<li><code>G_SAVE</code></li>
|
|
|
|
<li><code>G_ESAVE</code></li>
|
|
|
|
<li><code>G_XRPCPX</code></li>
|
|
|
|
<li><code>G_MATREQ</code></li>
|
|
|
|
<li><code>G_MATRES</code></li>
|
|
|
|
<li><code>G_RANK</code></li>
|
|
|
|
<li><code>G_SCRANK</code></li>
|
|
|
|
<li><code>S_UPDATE</code></li>
|
|
|
|
<li><code>G_EXCOIN</code></li>
|
|
|
|
<li><code>G_PITMST</code></li>
|
|
|
|
<li><code>G_PITMED</code></li>
|
|
|
|
<li><code>G_DONAST</code></li>
|
|
|
|
<li><code>G_DONAED</code></li>
|
|
|
|
<li><code>G_PCKIN</code></li>
|
|
|
|
<li><code>G_PCKOUT</code></li>
|
2021-12-28 20:54:12 +00:00
|
|
|
</ul>
|
|
|
|
<h3>Response:</h3>
|
2021-12-28 22:29:33 +00:00
|
|
|
<pre>{% highlight "cxml" %}<response>
|
|
|
|
<eventlog status="??status">
|
|
|
|
<gamesession __type="s64" />
|
|
|
|
<logsendflg __type="s32" />
|
|
|
|
<logerrlevel __type="s32" />
|
|
|
|
<evtidnosendflg __type="s32" />
|
|
|
|
</eventlog>
|
|
|
|
</response>{% endhighlight %}</pre>
|
2021-12-28 20:54:12 +00:00
|
|
|
{% endblock %}
|