update docs

This commit is contained in:
Sardelka
2022-07-02 11:23:12 +08:00
parent eb5b23ae17
commit 8ee188cf19
32 changed files with 1964 additions and 340 deletions

View File

@ -280,31 +280,18 @@
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Client_Scripting_API_Disconnect_" data-uid="RageCoop.Client.Scripting.API.Disconnect*"></a>
<h4 id="RageCoop_Client_Scripting_API_Disconnect" data-uid="RageCoop.Client.Scripting.API.Disconnect">Disconnect()</h4>
<div class="markdown level1 summary"><p>Disconnect from the server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Disconnect()</code></pre>
</div>
<a id="RageCoop_Client_Scripting_API_GetLogger_" data-uid="RageCoop.Client.Scripting.API.GetLogger*"></a>
<h4 id="RageCoop_Client_Scripting_API_GetLogger" data-uid="RageCoop.Client.Scripting.API.GetLogger">GetLogger()</h4>
<a id="RageCoop_Client_Scripting_API_Logger_" data-uid="RageCoop.Client.Scripting.API.Logger*"></a>
<h4 id="RageCoop_Client_Scripting_API_Logger" data-uid="RageCoop.Client.Scripting.API.Logger">Logger</h4>
<div class="markdown level1 summary"><p>Get a <a class="xref" href="RageCoop.Core.Logger.html">Logger</a> that RAGECOOP is currently using.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Logger GetLogger()</code></pre>
<pre><code class="lang-csharp hljs">public static Logger Logger { get; }</code></pre>
</div>
<h5 class="returns">Returns</h5>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@ -319,6 +306,19 @@
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Client_Scripting_API_Disconnect_" data-uid="RageCoop.Client.Scripting.API.Disconnect*"></a>
<h4 id="RageCoop_Client_Scripting_API_Disconnect" data-uid="RageCoop.Client.Scripting.API.Disconnect">Disconnect()</h4>
<div class="markdown level1 summary"><p>Disconnect from the server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Disconnect()</code></pre>
</div>
<a id="RageCoop_Client_Scripting_API_LocalChatMessage_" data-uid="RageCoop.Client.Scripting.API.LocalChatMessage*"></a>
@ -421,7 +421,7 @@
<a id="RageCoop_Client_Scripting_API_SendCustomEvent_" data-uid="RageCoop.Client.Scripting.API.SendCustomEvent*"></a>
<h4 id="RageCoop_Client_Scripting_API_SendCustomEvent_System_Int32_System_Collections_Generic_List_System_Object__" data-uid="RageCoop.Client.Scripting.API.SendCustomEvent(System.Int32,System.Collections.Generic.List{System.Object})">SendCustomEvent(Int32, List&lt;Object&gt;)</h4>
<div class="markdown level1 summary"><p>Send an event and data to the specified clients.</p>
<div class="markdown level1 summary"><p>Send an event and data to the server.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
@ -453,6 +453,39 @@ byte, short, ushort, int, uint, long, ulong, float, bool, string.</p>
</tr>
</tbody>
</table>
<a id="RageCoop_Client_Scripting_API_SendCustomEvent_" data-uid="RageCoop.Client.Scripting.API.SendCustomEvent*"></a>
<h4 id="RageCoop_Client_Scripting_API_SendCustomEvent_System_Int32_System_Object___" data-uid="RageCoop.Client.Scripting.API.SendCustomEvent(System.Int32,System.Object[])">SendCustomEvent(Int32, Object[])</h4>
<div class="markdown level1 summary"><p>Send an event and data to the server.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void SendCustomEvent(int eventHash, params object[] args)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">eventHash</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>[]</td>
<td><span class="parametername">args</span></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>