docs/templates/pages/proto/eventlog.html
2021-12-28 22:29:33 +00:00

38 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% 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>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>{% highlight "cxml" %}<response>
<eventlog status="??status">
<gamesession __type="s64" />
<logsendflg __type="s32" />
<logerrlevel __type="s32" />
<evtidnosendflg __type="s32" />
</eventlog>
</response>{% endhighlight %}</pre>
{% endblock %}