Update docs

This commit is contained in:
Sardelka
2022-07-02 18:32:49 +08:00
parent e0c96cc200
commit f47f0570f9
10 changed files with 29 additions and 30 deletions

View File

@ -181,7 +181,7 @@
<a id="RageCoop_Client_Scripting_ClientScript_OnStart_" data-uid="RageCoop.Client.Scripting.ClientScript.OnStart*"></a>
<h4 id="RageCoop_Client_Scripting_ClientScript_OnStart" data-uid="RageCoop.Client.Scripting.ClientScript.OnStart">OnStart()</h4>
<div class="markdown level1 summary"><p>This method would be called from main thread shortly after all scripts have been loaded.</p>
<div class="markdown level1 summary"><p>This method would be called from background thread, call <a class="xref" href="RageCoop.Client.Scripting.API.html#RageCoop_Client_Scripting_API_QueueAction_System_Action_">QueueAction(Action)</a> to dispatch it to main thread.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
@ -192,7 +192,7 @@
<a id="RageCoop_Client_Scripting_ClientScript_OnStop_" data-uid="RageCoop.Client.Scripting.ClientScript.OnStop*"></a>
<h4 id="RageCoop_Client_Scripting_ClientScript_OnStop" data-uid="RageCoop.Client.Scripting.ClientScript.OnStop">OnStop()</h4>
<div class="markdown level1 summary"><p>This method would be called from main thread when the client disconnected from the server, you MUST terminate all background jobs/threads in this method.</p>
<div class="markdown level1 summary"><p>This method would be called from background thread when the client disconnected from the server, you MUST terminate all background jobs/threads in this method.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>