mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-28 08:30:55 +01:00
86 lines
2.8 KiB
HTML
86 lines
2.8 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}eventlog{% endblock %}
|
|
{% block body %}
|
|
<h1><code>eventlog</code></h1>
|
|
<h2 id="write"><code>eventlog.write</code></h2>
|
|
<h3>Request:</h3>
|
|
<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>
|
|
<p>Event ID list:</p>
|
|
<ul>
|
|
<li><code>S_INIT</code>: init</li>
|
|
<li><code>T_OTDEMO</code></li>
|
|
<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>
|
|
</ul>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<eventlog status="??status">
|
|
<gamesession __type="s64" />
|
|
<logsendflg __type="s32" />
|
|
<logerrlevel __type="s32" />
|
|
<evtidnosendflg __type="s32" />
|
|
</eventlog>
|
|
</response>{% endhighlight %}</pre>
|
|
{% endblock %} |