Update docs

This commit is contained in:
Sardelka 2022-07-10 16:39:28 +08:00
parent 260678c1bc
commit eab6c79e15
22 changed files with 3729 additions and 768 deletions

View File

@ -76,10 +76,6 @@
<a href="https://github.com/RAGECOOP/RAGECOOP-V/network/members"><img src="https://img.shields.io/github/forks/RAGECOOP/RAGECOOP-V.svg?style=for-the-badge" alt="Forks"></a>
<a href="https://github.com/RAGECOOP/RAGECOOP-V/stargazers"><img src="https://img.shields.io/github/stars/RAGECOOP/RAGECOOP-V.svg?style=for-the-badge" alt="Stargazers"></a>
<a href="https://github.com/RAGECOOP/RAGECOOP-V/issues"><img src="https://img.shields.io/github/issues/RAGECOOP/RAGECOOP-V.svg?style=for-the-badge" alt="Issues"></a></p>
<h1 id="-notice">⚠ Notice</h1>
<p>The original author of this project is <a href="https://github.com/EntenKoeniq">EntenKoeniq</a>.
The project has been reworked and is currently maintained by <a href="https://github.com/Sardelka9515">Sardelka9515</a>.
To download the legacy versions, go to <a href="https://github.com/RAGECOOP/RAGECOOP-V.OLD">this repository</a></p>
<h1 id="-thats-it">🧠 That's it</h1>
<p>RAGECOOP is a multiplayer mod to play story mode or some mods made for RAGECOOP or just drive around with your buddy.</p>
<p><em>Old name: GTACOOP:R</em></p>

View File

@ -151,6 +151,58 @@
</table>
<a id="RageCoop_Client_Scripting_API_Config_BlipScale_" data-uid="RageCoop.Client.Scripting.API.Config.BlipScale*"></a>
<h4 id="RageCoop_Client_Scripting_API_Config_BlipScale" data-uid="RageCoop.Client.Scripting.API.Config.BlipScale">BlipScale</h4>
<div class="markdown level1 summary"><p>Get or set scale of player's blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static float BlipScale { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.single">Single</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Client_Scripting_API_Config_BlipSprite_" data-uid="RageCoop.Client.Scripting.API.Config.BlipSprite*"></a>
<h4 id="RageCoop_Client_Scripting_API_Config_BlipSprite" data-uid="RageCoop.Client.Scripting.API.Config.BlipSprite">BlipSprite</h4>
<div class="markdown level1 summary"><p>Get or set player's blip sprite</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BlipSprite BlipSprite { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.BlipSprite</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Client_Scripting_API_Config_EnableAutoRespawn_" data-uid="RageCoop.Client.Scripting.API.Config.EnableAutoRespawn*"></a>
<h4 id="RageCoop_Client_Scripting_API_Config_EnableAutoRespawn" data-uid="RageCoop.Client.Scripting.API.Config.EnableAutoRespawn">EnableAutoRespawn</h4>
<div class="markdown level1 summary"><p>Enable automatic respawn for this player.</p>

View File

@ -419,41 +419,6 @@
</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_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 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, List&lt;object&gt; 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><p>An unique identifier of the event</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>&gt;</td>
<td><span class="parametername">args</span></td>
<td><p>The objects conataing your data, see <a class="xref" href="RageCoop.Client.Scripting.CustomEventReceivedArgs.html">CustomEventReceivedArgs</a> for a list of supported types</p>
</td>
</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>
@ -476,12 +441,14 @@
<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>
<td><p>An unique identifier of the event</p>
</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>
<td><p>The objects conataing your data, see <a class="xref" href="RageCoop.Client.Scripting.CustomEventReceivedArgs.html">CustomEventReceivedArgs</a> for a list of supported types</p>
</td>
</tr>
</tbody>
</table>

View File

@ -135,7 +135,7 @@
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;object&gt; Args { get; set; }</code></pre>
<pre><code class="lang-csharp hljs">public object[] Args { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
@ -147,7 +147,7 @@
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>&gt;</td>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>[]</td>
<td></td>
</tr>
</tbody>

View File

@ -257,7 +257,7 @@
<a id="RageCoop_Server_Client_Player_" data-uid="RageCoop.Server.Client.Player*"></a>
<h4 id="RageCoop_Server_Client_Player" data-uid="RageCoop.Server.Client.Player">Player</h4>
<div class="markdown level1 summary"><p>The <a class="xref" href="RageCoop.Server.ServerPed.html">ServerPed</a> instance representing the client's main character.</p>
<div class="markdown level1 summary"><p>The <a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a> instance representing the client's main character.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
@ -274,7 +274,7 @@
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.ServerPed.html">ServerPed</a></td>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a></td>
<td></td>
</tr>
</tbody>
@ -399,41 +399,6 @@
</table>
<a id="RageCoop_Server_Client_SendCustomEvent_" data-uid="RageCoop.Server.Client.SendCustomEvent*"></a>
<h4 id="RageCoop_Server_Client_SendCustomEvent_System_Int32_System_Collections_Generic_List_System_Object__" data-uid="RageCoop.Server.Client.SendCustomEvent(System.Int32,System.Collections.Generic.List{System.Object})">SendCustomEvent(Int32, List&lt;Object&gt;)</h4>
<div class="markdown level1 summary"><p>Trigger a CustomEvent for this client</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SendCustomEvent(int hash, List&lt;object&gt; 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">hash</span></td>
<td><p>An unique identifier of the event, you can use <a class="xref" href="RageCoop.Core.Scripting.CustomEvents.html#RageCoop_Core_Scripting_CustomEvents_Hash_System_String_">Hash(String)</a> to get it from a string</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>&gt;</td>
<td><span class="parametername">args</span></td>
<td><p>Arguments</p>
</td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Client_SendCustomEvent_" data-uid="RageCoop.Server.Client.SendCustomEvent*"></a>
<h4 id="RageCoop_Server_Client_SendCustomEvent_System_Int32_System_Object___" data-uid="RageCoop.Server.Client.SendCustomEvent(System.Int32,System.Object[])">SendCustomEvent(Int32, Object[])</h4>
<div class="markdown level1 summary"><p>Trigger a CustomEvent for this client</p>
@ -469,6 +434,39 @@
</table>
<a id="RageCoop_Server_Client_SendCustomEventQueued_" data-uid="RageCoop.Server.Client.SendCustomEventQueued*"></a>
<h4 id="RageCoop_Server_Client_SendCustomEventQueued_System_Int32_System_Object___" data-uid="RageCoop.Server.Client.SendCustomEventQueued(System.Int32,System.Object[])">SendCustomEventQueued(Int32, Object[])</h4>
<div class="markdown level1 summary"><p>Send a CustomEvent that'll be queued at client side and invoked from script thread</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SendCustomEventQueued(int hash, 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">hash</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>
<a id="RageCoop_Server_Client_SendNativeCall_" data-uid="RageCoop.Server.Client.SendNativeCall*"></a>
<h4 id="RageCoop_Server_Client_SendNativeCall_GTA_Native_Hash_System_Object___" data-uid="RageCoop.Server.Client.SendNativeCall(GTA.Native.Hash,System.Object[])">SendNativeCall(Hash, Object[])</h4>
<div class="markdown level1 summary"><p>Send a native call to client and ignore it's response.</p>

View File

@ -171,7 +171,33 @@
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.ServerEntities.html">ServerEntities</a></td>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerEntities.html">ServerEntities</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_API_Host_" data-uid="RageCoop.Server.Scripting.API.Host*"></a>
<h4 id="RageCoop_Server_Scripting_API_Host" data-uid="RageCoop.Server.Scripting.API.Host">Host</h4>
<div class="markdown level1 summary"><p>Gets or sets the client that is resposible for synchronizing time and weather</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Client Host { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Client.html">Client</a></td>
<td></td>
</tr>
</tbody>
@ -213,7 +239,7 @@
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Dictionary&lt;long, Client&gt; GetAllClients()</code></pre>
<pre><code class="lang-csharp hljs">public Dictionary&lt;string, Client&gt; GetAllClients()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
@ -225,7 +251,7 @@
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int64">Int64</a>, <a class="xref" href="RageCoop.Server.Client.html">Client</a>&gt;</td>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a>, <a class="xref" href="RageCoop.Server.Client.html">Client</a>&gt;</td>
<td><p>All clients as a dictionary indexed by NetID</p>
</td>
</tr>
@ -528,13 +554,13 @@
<a id="RageCoop_Server_Scripting_API_SendCustomEvent_" data-uid="RageCoop.Server.Scripting.API.SendCustomEvent*"></a>
<h4 id="RageCoop_Server_Scripting_API_SendCustomEvent_System_Int32_System_Collections_Generic_List_System_Object__System_Collections_Generic_List_RageCoop_Server_Client__" data-uid="RageCoop.Server.Scripting.API.SendCustomEvent(System.Int32,System.Collections.Generic.List{System.Object},System.Collections.Generic.List{RageCoop.Server.Client})">SendCustomEvent(Int32, List&lt;Object&gt;, List&lt;Client&gt;)</h4>
<div class="markdown level1 summary"><p>Send an event and data to the specified clients. Use <a class="xref" href="RageCoop.Server.Client.html#RageCoop_Server_Client_SendCustomEvent_System_Int32_System_Collections_Generic_List_System_Object__">SendCustomEvent(Int32, List&lt;Object&gt;)</a> if you want to send event to individual client.</p>
<h4 id="RageCoop_Server_Scripting_API_SendCustomEvent_System_Collections_Generic_List_RageCoop_Server_Client__System_Int32_System_Object___" data-uid="RageCoop.Server.Scripting.API.SendCustomEvent(System.Collections.Generic.List{RageCoop.Server.Client},System.Int32,System.Object[])">SendCustomEvent(List&lt;Client&gt;, Int32, Object[])</h4>
<div class="markdown level1 summary"><p>Send an event and data to the specified clients. Use <a class="xref" href="RageCoop.Server.Client.html#RageCoop_Server_Client_SendCustomEvent_System_Int32_System_Object___">SendCustomEvent(Int32, Object[])</a> if you want to send event to individual client.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SendCustomEvent(int eventHash, List&lt;object&gt; args = null, List&lt;Client&gt; targets = null)</code></pre>
<pre><code class="lang-csharp hljs">public void SendCustomEvent(List&lt;Client&gt; targets, int eventHash, params object[] args)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
@ -546,6 +572,12 @@
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="RageCoop.Server.Client.html">Client</a>&gt;</td>
<td><span class="parametername">targets</span></td>
<td><p>The target clients to send. Leave it null to send to all clients</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">eventHash</span></td>
@ -553,29 +585,23 @@
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>&gt;</td>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>[]</td>
<td><span class="parametername">args</span></td>
<td><p>The objects conataing your data, see <a class="xref" href="RageCoop.Server.Scripting.CustomEventReceivedArgs.html#RageCoop_Server_Scripting_CustomEventReceivedArgs_Args">Args</a> for supported types.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="RageCoop.Server.Client.html">Client</a>&gt;</td>
<td><span class="parametername">targets</span></td>
<td><p>The target clients to send. Leave it null to send to all clients</p>
</td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_API_SendCustomEvent_" data-uid="RageCoop.Server.Scripting.API.SendCustomEvent*"></a>
<h4 id="RageCoop_Server_Scripting_API_SendCustomEvent_System_String_System_Collections_Generic_List_System_Object__System_Collections_Generic_List_RageCoop_Server_Client__" data-uid="RageCoop.Server.Scripting.API.SendCustomEvent(System.String,System.Collections.Generic.List{System.Object},System.Collections.Generic.List{RageCoop.Server.Client})">SendCustomEvent(String, List&lt;Object&gt;, List&lt;Client&gt;)</h4>
<div class="markdown level1 summary"><p>Send an event and data to the specified clients. Use <a class="xref" href="RageCoop.Server.Client.html#RageCoop_Server_Client_SendCustomEvent_System_Int32_System_Collections_Generic_List_System_Object__">SendCustomEvent(Int32, List&lt;Object&gt;)</a> if you want to send event to individual client.</p>
<a id="RageCoop_Server_Scripting_API_SendCustomEventQueued_" data-uid="RageCoop.Server.Scripting.API.SendCustomEventQueued*"></a>
<h4 id="RageCoop_Server_Scripting_API_SendCustomEventQueued_System_Collections_Generic_List_RageCoop_Server_Client__System_Int32_System_Object___" data-uid="RageCoop.Server.Scripting.API.SendCustomEventQueued(System.Collections.Generic.List{RageCoop.Server.Client},System.Int32,System.Object[])">SendCustomEventQueued(List&lt;Client&gt;, Int32, Object[])</h4>
<div class="markdown level1 summary"><p>Send a CustomEvent that'll be queued at client side and invoked from script thread</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SendCustomEvent(string name, List&lt;object&gt; args = null, List&lt;Client&gt; targets = null)</code></pre>
<pre><code class="lang-csharp hljs">public void SendCustomEventQueued(List&lt;Client&gt; targets, int eventHash, params object[] args)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
@ -587,24 +613,60 @@
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td><span class="parametername">name</span></td>
<td><p>The name of the event, will be hashed to an int. For optimal performence, you should hash it in a static contructor inside the shared library, then call <a class="xref" href="RageCoop.Server.Scripting.API.html#RageCoop_Server_Scripting_API_SendCustomEvent_System_Int32_System_Collections_Generic_List_System_Object__System_Collections_Generic_List_RageCoop_Server_Client__">SendCustomEvent(Int32, List&lt;Object&gt;, List&lt;Client&gt;)</a>.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>&gt;</td>
<td><span class="parametername">args</span></td>
<td><p>See <a class="xref" href="RageCoop.Server.Scripting.CustomEventReceivedArgs.html">CustomEventReceivedArgs</a> for a list of supported types.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="RageCoop.Server.Client.html">Client</a>&gt;</td>
<td><span class="parametername">targets</span></td>
<td><p>The target clients to send. Leave it null to send to all clients</p>
<td></td>
</tr>
<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>
<a id="RageCoop_Server_Scripting_API_SendNativeCall_" data-uid="RageCoop.Server.Scripting.API.SendNativeCall*"></a>
<h4 id="RageCoop_Server_Scripting_API_SendNativeCall_System_Collections_Generic_List_RageCoop_Server_Client__GTA_Native_Hash_System_Object___" data-uid="RageCoop.Server.Scripting.API.SendNativeCall(System.Collections.Generic.List{RageCoop.Server.Client},GTA.Native.Hash,System.Object[])">SendNativeCall(List&lt;Client&gt;, Hash, Object[])</h4>
<div class="markdown level1 summary"><p>Send native call specified clients.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SendNativeCall(List&lt;Client&gt; clients, Hash hash, 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.collections.generic.list-1">List</a>&lt;<a class="xref" href="RageCoop.Server.Client.html">Client</a>&gt;</td>
<td><span class="parametername">clients</span></td>
<td><p>Clients to send, null for all clients</p>
</td>
</tr>
<tr>
<td><span class="xref">GTA.Native.Hash</span></td>
<td><span class="parametername">hash</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>

View File

@ -130,12 +130,12 @@
<a id="RageCoop_Server_Scripting_CustomEventReceivedArgs_Args_" data-uid="RageCoop.Server.Scripting.CustomEventReceivedArgs.Args*"></a>
<h4 id="RageCoop_Server_Scripting_CustomEventReceivedArgs_Args" data-uid="RageCoop.Server.Scripting.CustomEventReceivedArgs.Args">Args</h4>
<div class="markdown level1 summary"><p>Supported types: byte, short, ushort, int, uint, long, ulong, float, bool, string, Vector3, Quaternion, ServerPed, ServerVehicle, ServerProp</p>
<div class="markdown level1 summary"><p>Supported types: byte, short, ushort, int, uint, long, ulong, float, bool, string, Vector3, Quaternion, Vector2 <a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Handle">Handle</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;object&gt; Args { get; set; }</code></pre>
<pre><code class="lang-csharp hljs">public object[] Args { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
@ -147,7 +147,7 @@
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>&gt;</td>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a>[]</td>
<td></td>
</tr>
</tbody>

View File

@ -0,0 +1,266 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class PedBlip
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class PedBlip
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.PedBlip">
<h1 id="RageCoop_Server_Scripting_PedBlip" data-uid="RageCoop.Server.Scripting.PedBlip" class="text-break">Class PedBlip
</h1>
<div class="markdown level0 summary"><p>Represent a blip attached to ped.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><span class="xref">PedBlip</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_PedBlip_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class PedBlip</code></pre>
</div>
<h3 id="properties">Properties
</h3>
<a id="RageCoop_Server_Scripting_PedBlip_Color_" data-uid="RageCoop.Server.Scripting.PedBlip.Color*"></a>
<h4 id="RageCoop_Server_Scripting_PedBlip_Color" data-uid="RageCoop.Server.Scripting.PedBlip.Color">Color</h4>
<div class="markdown level1 summary"><p>Color of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public BlipColor Color { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.BlipColor</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_PedBlip_Ped_" data-uid="RageCoop.Server.Scripting.PedBlip.Ped*"></a>
<h4 id="RageCoop_Server_Scripting_PedBlip_Ped" data-uid="RageCoop.Server.Scripting.PedBlip.Ped">Ped</h4>
<div class="markdown level1 summary"><p>Get the <a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a> that this blip attached to.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerPed Ped { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_PedBlip_Scale_" data-uid="RageCoop.Server.Scripting.PedBlip.Scale*"></a>
<h4 id="RageCoop_Server_Scripting_PedBlip_Scale" data-uid="RageCoop.Server.Scripting.PedBlip.Scale">Scale</h4>
<div class="markdown level1 summary"><p>Scale of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float Scale { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.single">Single</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_PedBlip_Sprite_" data-uid="RageCoop.Server.Scripting.PedBlip.Sprite*"></a>
<h4 id="RageCoop_Server_Scripting_PedBlip_Sprite" data-uid="RageCoop.Server.Scripting.PedBlip.Sprite">Sprite</h4>
<div class="markdown level1 summary"><p>Sprite of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public BlipSprite Sprite { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.BlipSprite</span></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -0,0 +1,383 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServerBlip
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ServerBlip
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.ServerBlip">
<h1 id="RageCoop_Server_Scripting_ServerBlip" data-uid="RageCoop.Server.Scripting.ServerBlip" class="text-break">Class ServerBlip
</h1>
<div class="markdown level0 summary"><p>A static blip owned by server.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><span class="xref">ServerBlip</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_ServerBlip_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class ServerBlip</code></pre>
</div>
<h3 id="properties">Properties
</h3>
<a id="RageCoop_Server_Scripting_ServerBlip_Color_" data-uid="RageCoop.Server.Scripting.ServerBlip.Color*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Color" data-uid="RageCoop.Server.Scripting.ServerBlip.Color">Color</h4>
<div class="markdown level1 summary"><p>Color of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public BlipColor Color { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.BlipColor</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_Handle_" data-uid="RageCoop.Server.Scripting.ServerBlip.Handle*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Handle" data-uid="RageCoop.Server.Scripting.ServerBlip.Handle">Handle</h4>
<div class="markdown level1 summary"><p>Pass this as an argument in CustomEvent or NativeCall to convert this object to handle at client side.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Tuple&lt;byte, byte[]&gt; Handle { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.tuple-2">Tuple</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>[]&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_ID_" data-uid="RageCoop.Server.Scripting.ServerBlip.ID*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_ID" data-uid="RageCoop.Server.Scripting.ServerBlip.ID">ID</h4>
<div class="markdown level1 summary"><p>Network ID (not handle!)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int ID { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</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></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_Name_" data-uid="RageCoop.Server.Scripting.ServerBlip.Name*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Name" data-uid="RageCoop.Server.Scripting.ServerBlip.Name">Name</h4>
<div class="markdown level1 summary"><p>Name of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Name { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_Position_" data-uid="RageCoop.Server.Scripting.ServerBlip.Position*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Position" data-uid="RageCoop.Server.Scripting.ServerBlip.Position">Position</h4>
<div class="markdown level1 summary"><p>Position of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Vector3 Position { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_Rotation_" data-uid="RageCoop.Server.Scripting.ServerBlip.Rotation*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Rotation" data-uid="RageCoop.Server.Scripting.ServerBlip.Rotation">Rotation</h4>
<div class="markdown level1 summary"><p>Rotation of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Rotation { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</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></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_Scale_" data-uid="RageCoop.Server.Scripting.ServerBlip.Scale*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Scale" data-uid="RageCoop.Server.Scripting.ServerBlip.Scale">Scale</h4>
<div class="markdown level1 summary"><p>Scale of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float Scale { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.single">Single</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerBlip_Sprite_" data-uid="RageCoop.Server.Scripting.ServerBlip.Sprite*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Sprite" data-uid="RageCoop.Server.Scripting.ServerBlip.Sprite">Sprite</h4>
<div class="markdown level1 summary"><p>Sprite of this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public BlipSprite Sprite { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.BlipSprite</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Server_Scripting_ServerBlip_Delete_" data-uid="RageCoop.Server.Scripting.ServerBlip.Delete*"></a>
<h4 id="RageCoop_Server_Scripting_ServerBlip_Delete" data-uid="RageCoop.Server.Scripting.ServerBlip.Delete">Delete()</h4>
<div class="markdown level1 summary"><p>Delete this blip</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Delete()</code></pre>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -0,0 +1,601 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServerEntities
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ServerEntities
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.ServerEntities">
<h1 id="RageCoop_Server_Scripting_ServerEntities" data-uid="RageCoop.Server.Scripting.ServerEntities" class="text-break">Class ServerEntities
</h1>
<div class="markdown level0 summary"><p>Manipulate entities from the server</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><span class="xref">ServerEntities</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_ServerEntities_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class ServerEntities</code></pre>
</div>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Server_Scripting_ServerEntities_CreateBlip_" data-uid="RageCoop.Server.Scripting.ServerEntities.CreateBlip*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_CreateBlip_GTA_Math_Vector3_System_Int32_" data-uid="RageCoop.Server.Scripting.ServerEntities.CreateBlip(GTA.Math.Vector3,System.Int32)">CreateBlip(Vector3, Int32)</h4>
<div class="markdown level1 summary"><p>Create a static <a class="xref" href="RageCoop.Server.Scripting.ServerBlip.html">ServerBlip</a> owned by server.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerBlip CreateBlip(Vector3 pos, int rotation)</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><span class="xref">GTA.Math.Vector3</span></td>
<td><span class="parametername">pos</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">rotation</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerBlip.html">ServerBlip</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_CreateProp_" data-uid="RageCoop.Server.Scripting.ServerEntities.CreateProp*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_CreateProp_GTA_Model_GTA_Math_Vector3_GTA_Math_Vector3_" data-uid="RageCoop.Server.Scripting.ServerEntities.CreateProp(GTA.Model,GTA.Math.Vector3,GTA.Math.Vector3)">CreateProp(Model, Vector3, Vector3)</h4>
<div class="markdown level1 summary"><p>Create a static prop owned by server.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerProp CreateProp(Model model, Vector3 pos, Vector3 rot)</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><span class="xref">GTA.Model</span></td>
<td><span class="parametername">model</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td><span class="parametername">pos</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td><span class="parametername">rot</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerProp.html">ServerProp</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_CreateVehicle_" data-uid="RageCoop.Server.Scripting.ServerEntities.CreateVehicle*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_CreateVehicle_RageCoop_Server_Client_GTA_Model_GTA_Math_Vector3_System_Single_" data-uid="RageCoop.Server.Scripting.ServerEntities.CreateVehicle(RageCoop.Server.Client,GTA.Model,GTA.Math.Vector3,System.Single)">CreateVehicle(Client, Model, Vector3, Single)</h4>
<div class="markdown level1 summary"><p>Create a vehicle</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerVehicle CreateVehicle(Client owner, Model model, Vector3 pos, float heading)</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="RageCoop.Server.Client.html">Client</a></td>
<td><span class="parametername">owner</span></td>
<td><p>Owner of this vehicle</p>
</td>
</tr>
<tr>
<td><span class="xref">GTA.Model</span></td>
<td><span class="parametername">model</span></td>
<td><p>model</p>
</td>
</tr>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td><span class="parametername">pos</span></td>
<td><p>position</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.single">Single</a></td>
<td><span class="parametername">heading</span></td>
<td><p>heading of this vehicle</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetAllBlips_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllBlips*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetAllBlips" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllBlips">GetAllBlips()</h4>
<div class="markdown level1 summary"><p>Get all blips owned by server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerBlip[] GetAllBlips()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerBlip.html">ServerBlip</a>[]</td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetAllPeds_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllPeds*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetAllPeds" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllPeds">GetAllPeds()</h4>
<div class="markdown level1 summary"><p>Get all peds on this server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerPed[] GetAllPeds()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a>[]</td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetAllProps_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllProps*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetAllProps" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllProps">GetAllProps()</h4>
<div class="markdown level1 summary"><p>Get all static prop objects owned by server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerProp[] GetAllProps()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerProp.html">ServerProp</a>[]</td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetAllVehicles_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllVehicles*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetAllVehicles" data-uid="RageCoop.Server.Scripting.ServerEntities.GetAllVehicles">GetAllVehicles()</h4>
<div class="markdown level1 summary"><p>Get all vehicles on this server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerVehicle[] GetAllVehicles()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a>[]</td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetBlipByID_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetBlipByID*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetBlipByID_System_Int32_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetBlipByID(System.Int32)">GetBlipByID(Int32)</h4>
<div class="markdown level1 summary"><p>Get a <a class="xref" href="RageCoop.Server.Scripting.ServerBlip.html">ServerBlip</a> by it's id.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerBlip GetBlipByID(int id)</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">id</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerBlip.html">ServerBlip</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetPedByID_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetPedByID*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetPedByID_System_Int32_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetPedByID(System.Int32)">GetPedByID(Int32)</h4>
<div class="markdown level1 summary"><p>Get a <a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a> by it's id</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerPed GetPedByID(int id)</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">id</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetPropByID_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetPropByID*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetPropByID_System_Int32_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetPropByID(System.Int32)">GetPropByID(Int32)</h4>
<div class="markdown level1 summary"><p>Get a <a class="xref" href="RageCoop.Server.Scripting.ServerProp.html">ServerProp</a> owned by server from it's ID.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerProp GetPropByID(int id)</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">id</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerProp.html">ServerProp</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerEntities_GetVehicleByID_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetVehicleByID*"></a>
<h4 id="RageCoop_Server_Scripting_ServerEntities_GetVehicleByID_System_Int32_" data-uid="RageCoop.Server.Scripting.ServerEntities.GetVehicleByID(System.Int32)">GetVehicleByID(Int32)</h4>
<div class="markdown level1 summary"><p>Get a <a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a> by it's id</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerVehicle GetVehicleByID(int id)</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">id</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -0,0 +1,377 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServerObject
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ServerObject
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.ServerObject">
<h1 id="RageCoop_Server_Scripting_ServerObject" data-uid="RageCoop.Server.Scripting.ServerObject" class="text-break">Class ServerObject
</h1>
<div class="markdown level0 summary"><p>Server-side object controller</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><span class="xref">ServerObject</span></div>
<div class="level2"><a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a></div>
<div class="level2"><a class="xref" href="RageCoop.Server.Scripting.ServerProp.html">ServerProp</a></div>
<div class="level2"><a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_ServerObject_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract class ServerObject</code></pre>
</div>
<h3 id="properties">Properties
</h3>
<a id="RageCoop_Server_Scripting_ServerObject_Handle_" data-uid="RageCoop.Server.Scripting.ServerObject.Handle*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Handle" data-uid="RageCoop.Server.Scripting.ServerObject.Handle">Handle</h4>
<div class="markdown level1 summary"><p>Pass this as an argument in CustomEvent or NativeCall to convert this object to handle at client side.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Tuple&lt;byte, byte[]&gt; Handle { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.tuple-2">Tuple</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>, <a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>[]&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerObject_ID_" data-uid="RageCoop.Server.Scripting.ServerObject.ID*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_ID" data-uid="RageCoop.Server.Scripting.ServerObject.ID">ID</h4>
<div class="markdown level1 summary"><p>Network ID of this object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int ID { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</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></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerObject_Model_" data-uid="RageCoop.Server.Scripting.ServerObject.Model*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Model" data-uid="RageCoop.Server.Scripting.ServerObject.Model">Model</h4>
<div class="markdown level1 summary"><p>The object's model</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Model Model { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Model</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerObject_Owner_" data-uid="RageCoop.Server.Scripting.ServerObject.Owner*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Owner" data-uid="RageCoop.Server.Scripting.ServerObject.Owner">Owner</h4>
<div class="markdown level1 summary"><p>The client that owns this object, null if it's owned by server.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Client Owner { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Client.html">Client</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerObject_Position_" data-uid="RageCoop.Server.Scripting.ServerObject.Position*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Position" data-uid="RageCoop.Server.Scripting.ServerObject.Position">Position</h4>
<div class="markdown level1 summary"><p>Gets or sets this object's position</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual Vector3 Position { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerObject_Rotation_" data-uid="RageCoop.Server.Scripting.ServerObject.Rotation*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Rotation" data-uid="RageCoop.Server.Scripting.ServerObject.Rotation">Rotation</h4>
<div class="markdown level1 summary"><p>Gets or sets this object's rotation</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual Vector3 Rotation { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Server_Scripting_ServerObject_Delete_" data-uid="RageCoop.Server.Scripting.ServerObject.Delete*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Delete" data-uid="RageCoop.Server.Scripting.ServerObject.Delete">Delete()</h4>
<div class="markdown level1 summary"><p>Send updated information to clients, would be called automatically.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Delete()</code></pre>
</div>
<a id="RageCoop_Server_Scripting_ServerObject_Freeze_" data-uid="RageCoop.Server.Scripting.ServerObject.Freeze*"></a>
<h4 id="RageCoop_Server_Scripting_ServerObject_Freeze_System_Boolean_" data-uid="RageCoop.Server.Scripting.ServerObject.Freeze(System.Boolean)">Freeze(Boolean)</h4>
<div class="markdown level1 summary"><p>Freeze this object, will throw an exception if it's a ServerProp.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Freeze(bool toggle)</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.boolean">Boolean</a></td>
<td><span class="parametername">toggle</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.invalidoperationexception">InvalidOperationException</a></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -0,0 +1,293 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServerPed
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ServerPed
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.ServerPed">
<h1 id="RageCoop_Server_Scripting_ServerPed" data-uid="RageCoop.Server.Scripting.ServerPed" class="text-break">Class ServerPed
</h1>
<div class="markdown level0 summary"><p>Represents a ped from a client</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html">ServerObject</a></div>
<div class="level2"><span class="xref">ServerPed</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Handle">ServerObject.Handle</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Owner">ServerObject.Owner</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_ID">ServerObject.ID</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Model">ServerObject.Model</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Position">ServerObject.Position</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Rotation">ServerObject.Rotation</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Delete">ServerObject.Delete()</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Freeze_System_Boolean_">ServerObject.Freeze(Boolean)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_ServerPed_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class ServerPed : ServerObject</code></pre>
</div>
<h3 id="properties">Properties
</h3>
<a id="RageCoop_Server_Scripting_ServerPed_AttachedBlip_" data-uid="RageCoop.Server.Scripting.ServerPed.AttachedBlip*"></a>
<h4 id="RageCoop_Server_Scripting_ServerPed_AttachedBlip" data-uid="RageCoop.Server.Scripting.ServerPed.AttachedBlip">AttachedBlip</h4>
<div class="markdown level1 summary"><p>Get the <a class="xref" href="RageCoop.Server.Scripting.PedBlip.html">PedBlip</a> attached to this ped.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public PedBlip AttachedBlip { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.PedBlip.html">PedBlip</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerPed_Health_" data-uid="RageCoop.Server.Scripting.ServerPed.Health*"></a>
<h4 id="RageCoop_Server_Scripting_ServerPed_Health" data-uid="RageCoop.Server.Scripting.ServerPed.Health">Health</h4>
<div class="markdown level1 summary"><p>Health</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Health { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</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></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerPed_LastVehicle_" data-uid="RageCoop.Server.Scripting.ServerPed.LastVehicle*"></a>
<h4 id="RageCoop_Server_Scripting_ServerPed_LastVehicle" data-uid="RageCoop.Server.Scripting.ServerPed.LastVehicle">LastVehicle</h4>
<div class="markdown level1 summary"><p>Get the ped's last vehicle</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ServerVehicle LastVehicle { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Server_Scripting_ServerPed_AddBlip_" data-uid="RageCoop.Server.Scripting.ServerPed.AddBlip*"></a>
<h4 id="RageCoop_Server_Scripting_ServerPed_AddBlip" data-uid="RageCoop.Server.Scripting.ServerPed.AddBlip">AddBlip()</h4>
<div class="markdown level1 summary"><p>Attach a blip to this ped.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public PedBlip AddBlip()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="RageCoop.Server.Scripting.PedBlip.html">PedBlip</a></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -0,0 +1,249 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServerProp
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ServerProp
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.ServerProp">
<h1 id="RageCoop_Server_Scripting_ServerProp" data-uid="RageCoop.Server.Scripting.ServerProp" class="text-break">Class ServerProp
</h1>
<div class="markdown level0 summary"><p>Represents an prop owned by server.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html">ServerObject</a></div>
<div class="level2"><span class="xref">ServerProp</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Handle">ServerObject.Handle</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Owner">ServerObject.Owner</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_ID">ServerObject.ID</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Model">ServerObject.Model</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Freeze_System_Boolean_">ServerObject.Freeze(Boolean)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_ServerProp_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class ServerProp : ServerObject</code></pre>
</div>
<h3 id="properties">Properties
</h3>
<a id="RageCoop_Server_Scripting_ServerProp_Position_" data-uid="RageCoop.Server.Scripting.ServerProp.Position*"></a>
<h4 id="RageCoop_Server_Scripting_ServerProp_Position" data-uid="RageCoop.Server.Scripting.ServerProp.Position">Position</h4>
<div class="markdown level1 summary"><p>Gets or sets this object's position</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override Vector3 Position { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Position">ServerObject.Position</a></div>
<a id="RageCoop_Server_Scripting_ServerProp_Rotation_" data-uid="RageCoop.Server.Scripting.ServerProp.Rotation*"></a>
<h4 id="RageCoop_Server_Scripting_ServerProp_Rotation" data-uid="RageCoop.Server.Scripting.ServerProp.Rotation">Rotation</h4>
<div class="markdown level1 summary"><p>Gets or sets this object's rotation</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override Vector3 Rotation { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Rotation">ServerObject.Rotation</a></div>
<h3 id="methods">Methods
</h3>
<a id="RageCoop_Server_Scripting_ServerProp_Delete_" data-uid="RageCoop.Server.Scripting.ServerProp.Delete*"></a>
<h4 id="RageCoop_Server_Scripting_ServerProp_Delete" data-uid="RageCoop.Server.Scripting.ServerProp.Delete">Delete()</h4>
<div class="markdown level1 summary"><p>Delete this prop</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override void Delete()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Delete">ServerObject.Delete()</a></div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -0,0 +1,238 @@
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class ServerVehicle
| RageCoop resource documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ServerVehicle
| RageCoop resource documentation ">
<meta name="generator" content="docfx 2.59.2.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="RageCoop.Server.Scripting.ServerVehicle">
<h1 id="RageCoop_Server_Scripting_ServerVehicle" data-uid="RageCoop.Server.Scripting.ServerVehicle" class="text-break">Class ServerVehicle
</h1>
<div class="markdown level0 summary"><p>Represents a vehicle from a client</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object">Object</a></div>
<div class="level1"><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html">ServerObject</a></div>
<div class="level2"><span class="xref">ServerVehicle</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Handle">ServerObject.Handle</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Owner">ServerObject.Owner</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_ID">ServerObject.ID</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Model">ServerObject.Model</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Position">ServerObject.Position</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Delete">ServerObject.Delete()</a>
</div>
<div>
<a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Freeze_System_Boolean_">ServerObject.Freeze(Boolean)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.memberwiseclone#system-object-memberwiseclone">Object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.referenceequals#system-object-referenceequals(system-object-system-object)">Object.ReferenceEquals(Object, Object)</a>
</div>
<div>
<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring">Object.ToString()</a>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="RageCoop.Server.Scripting.html">RageCoop.Server.Scripting</a></h6>
<h6><strong>Assembly</strong>: RageCoop.Server.dll</h6>
<h5 id="RageCoop_Server_Scripting_ServerVehicle_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class ServerVehicle : ServerObject</code></pre>
</div>
<h3 id="properties">Properties
</h3>
<a id="RageCoop_Server_Scripting_ServerVehicle_Quaternion_" data-uid="RageCoop.Server.Scripting.ServerVehicle.Quaternion*"></a>
<h4 id="RageCoop_Server_Scripting_ServerVehicle_Quaternion" data-uid="RageCoop.Server.Scripting.ServerVehicle.Quaternion">Quaternion</h4>
<div class="markdown level1 summary"><p>Get this vehicle's quaternion</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Quaternion Quaternion { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Quaternion</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_Scripting_ServerVehicle_Rotation_" data-uid="RageCoop.Server.Scripting.ServerVehicle.Rotation*"></a>
<h4 id="RageCoop_Server_Scripting_ServerVehicle_Rotation" data-uid="RageCoop.Server.Scripting.ServerVehicle.Rotation">Rotation</h4>
<div class="markdown level1 summary"><p>Gets or sets vehicle rotation</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override Vector3 Rotation { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">GTA.Math.Vector3</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html#RageCoop_Server_Scripting_ServerObject_Rotation">ServerObject.Rotation</a></div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>

View File

@ -104,13 +104,34 @@
<section></section>
<h4><a class="xref" href="RageCoop.Server.Scripting.OnCommandEventArgs.html">OnCommandEventArgs</a></h4>
<section></section>
<h4><a class="xref" href="RageCoop.Server.Scripting.PedBlip.html">PedBlip</a></h4>
<section><p>Represent a blip attached to ped.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerBlip.html">ServerBlip</a></h4>
<section><p>A static blip owned by server.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerEntities.html">ServerEntities</a></h4>
<section><p>Manipulate entities from the server</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerEvents.html">ServerEvents</a></h4>
<section></section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerObject.html">ServerObject</a></h4>
<section><p>Server-side object controller</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerPed.html">ServerPed</a></h4>
<section><p>Represents a ped from a client</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerProp.html">ServerProp</a></h4>
<section><p>Represents an prop owned by server.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerResource.html">ServerResource</a></h4>
<section><p>A class representing a server side resource, each resource is isolated from another and will be started alongside the server.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerScript.html">ServerScript</a></h4>
<section><p>Inherit from this class, constructor will be called automatically, but other scripts might have yet been loaded and <a class="xref" href="RageCoop.Server.Scripting.ServerScript.html#RageCoop_Server_Scripting_ServerScript_API">API</a> will be null, you should use <a class="xref" href="RageCoop.Server.Scripting.ServerScript.html#RageCoop_Server_Scripting_ServerScript_OnStart">OnStart()</a>. to initiate your script.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.Scripting.ServerVehicle.html">ServerVehicle</a></h4>
<section><p>Represents a vehicle from a client</p>
</section>
</article>
</div>

View File

@ -151,6 +151,84 @@
</table>
<a id="RageCoop_Server_ServerSettings_Description_" data-uid="RageCoop.Server.ServerSettings.Description*"></a>
<h4 id="RageCoop_Server_ServerSettings_Description" data-uid="RageCoop.Server.ServerSettings.Description">Description</h4>
<div class="markdown level1 summary"><p>The description to be shown on master server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Description { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_ServerSettings_GameMode_" data-uid="RageCoop.Server.ServerSettings.GameMode*"></a>
<h4 id="RageCoop_Server_ServerSettings_GameMode" data-uid="RageCoop.Server.ServerSettings.GameMode">GameMode</h4>
<div class="markdown level1 summary"><p>The game mode to be shown on master server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string GameMode { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_ServerSettings_Language_" data-uid="RageCoop.Server.ServerSettings.Language*"></a>
<h4 id="RageCoop_Server_ServerSettings_Language" data-uid="RageCoop.Server.ServerSettings.Language">Language</h4>
<div class="markdown level1 summary"><p>The language to be shown on master server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Language { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_ServerSettings_LogLevel_" data-uid="RageCoop.Server.ServerSettings.LogLevel*"></a>
<h4 id="RageCoop_Server_ServerSettings_LogLevel" data-uid="RageCoop.Server.ServerSettings.LogLevel">LogLevel</h4>
<div class="markdown level1 summary"><p>See <a class="xref" href="RageCoop.Core.Logger.html#RageCoop_Core_Logger_LogLevel">LogLevel</a>.</p>
@ -359,6 +437,84 @@
</table>
<a id="RageCoop_Server_ServerSettings_TimeSync_" data-uid="RageCoop.Server.ServerSettings.TimeSync*"></a>
<h4 id="RageCoop_Server_ServerSettings_TimeSync" data-uid="RageCoop.Server.ServerSettings.TimeSync">TimeSync</h4>
<div class="markdown level1 summary"><p>If enabled, all clients will have same time as host</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TimeSync { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_ServerSettings_WeatherSync_" data-uid="RageCoop.Server.ServerSettings.WeatherSync*"></a>
<h4 id="RageCoop_Server_ServerSettings_WeatherSync" data-uid="RageCoop.Server.ServerSettings.WeatherSync">WeatherSync</h4>
<div class="markdown level1 summary"><p>If enabled, all clients will have same weather as host</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool WeatherSync { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_ServerSettings_Website_" data-uid="RageCoop.Server.ServerSettings.Website*"></a>
<h4 id="RageCoop_Server_ServerSettings_Website" data-uid="RageCoop.Server.ServerSettings.Website">Website</h4>
<div class="markdown level1 summary"><p>The website address to be shown on master server</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Website { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.string">String</a></td>
<td></td>
</tr>
</tbody>
</table>
<a id="RageCoop_Server_ServerSettings_WelcomeMessage_" data-uid="RageCoop.Server.ServerSettings.WelcomeMessage*"></a>
<h4 id="RageCoop_Server_ServerSettings_WelcomeMessage" data-uid="RageCoop.Server.ServerSettings.WelcomeMessage">WelcomeMessage</h4>
<div class="markdown level1 summary"><p>The message to send when a client connected (not visible to others)</p>

View File

@ -92,27 +92,9 @@
</section>
<h4><a class="xref" href="RageCoop.Server.Server.html">Server</a></h4>
<section><p>The instantiable RageCoop server class</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerBlip.html">ServerBlip</a></h4>
<section><p>A static blip owned by server.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerEntities.html">ServerEntities</a></h4>
<section><p>Manipulate entities from the server</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerObject.html">ServerObject</a></h4>
<section><p>Server-side object controller</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerPed.html">ServerPed</a></h4>
<section><p>Represents a ped from a client</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerProp.html">ServerProp</a></h4>
<section><p>Represents an prop owned by server.</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerSettings.html">ServerSettings</a></h4>
<section><p>Settings for RageCoop Server</p>
</section>
<h4><a class="xref" href="RageCoop.Server.ServerVehicle.html">ServerVehicle</a></h4>
<section><p>Represents a vehicle from a client</p>
</section>
</article>
</div>

View File

@ -111,27 +111,9 @@
<li>
<a href="RageCoop.Server.Server.html" name="" title="Server">Server</a>
</li>
<li>
<a href="RageCoop.Server.ServerBlip.html" name="" title="ServerBlip">ServerBlip</a>
</li>
<li>
<a href="RageCoop.Server.ServerEntities.html" name="" title="ServerEntities">ServerEntities</a>
</li>
<li>
<a href="RageCoop.Server.ServerObject.html" name="" title="ServerObject">ServerObject</a>
</li>
<li>
<a href="RageCoop.Server.ServerPed.html" name="" title="ServerPed">ServerPed</a>
</li>
<li>
<a href="RageCoop.Server.ServerProp.html" name="" title="ServerProp">ServerProp</a>
</li>
<li>
<a href="RageCoop.Server.ServerSettings.html" name="" title="ServerSettings">ServerSettings</a>
</li>
<li>
<a href="RageCoop.Server.ServerVehicle.html" name="" title="ServerVehicle">ServerVehicle</a>
</li>
</ul>
</li>
<li>
@ -160,15 +142,36 @@
<li>
<a href="RageCoop.Server.Scripting.OnCommandEventArgs.html" name="" title="OnCommandEventArgs">OnCommandEventArgs</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.PedBlip.html" name="" title="PedBlip">PedBlip</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerBlip.html" name="" title="ServerBlip">ServerBlip</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerEntities.html" name="" title="ServerEntities">ServerEntities</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerEvents.html" name="" title="ServerEvents">ServerEvents</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerObject.html" name="" title="ServerObject">ServerObject</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerPed.html" name="" title="ServerPed">ServerPed</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerProp.html" name="" title="ServerProp">ServerProp</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerResource.html" name="" title="ServerResource">ServerResource</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerScript.html" name="" title="ServerScript">ServerScript</a>
</li>
<li>
<a href="RageCoop.Server.Scripting.ServerVehicle.html" name="" title="ServerVehicle">ServerVehicle</a>
</li>
</ul>
</li>
</ul>

View File

@ -84,19 +84,18 @@
└───Resources
└───Server
│ │ RageCoop.Resources.Management.zip
│ │ RageCoop.Resources.FreeRoam.Server.zip
│ │ RageCoop.Resources.Race.zip
│ │
│───Client
│ │ RageCoop.Resources.FreeRoam.Client.zip
│ │ RageCoop.Resources.Race.Client.zip
│ │
└───Temp
</code></pre>
<h3 id="settingsxml">Settings.xml</h3>
<p>This file will be generated first time you started the server, you can then change the server's configuration option by editing it, refer to <a href="api/RageCoop.Server.ServerSettings.html">ServerSettings</a> for detailed description.</p>
<h2 id="server-reource">Server Reource</h2>
<p>To create a server resource:</p>
<h2 id="server-resource">Server Resource</h2>
<ol>
<li>Create a C# class library project targeting .NET 6.0.</li>
<li>Add reference to <strong>RageCoop.Server.dll</strong> and <strong>RageCoop.Core.dll</strong>.</li>
@ -110,7 +109,7 @@ using RageCoop.Core;
</code></pre>
</li>
<li>Inherit a class from <a href="api/RageCoop.Server.Scripting.ServerScript.html">ServerScript</a>.</li>
<li>Inherit from <a href="api/RageCoop.Server.Scripting.ServerScript.html">ServerScript</a>.</li>
<li>Implement <code>OnStart()</code> and <code>OnStop()</code>, your cs file should look like this:
<pre><code>using RageCoop.Server.Scripting;
@ -137,6 +136,46 @@ namespace NiceGuy.MyFirstResource
</li>
<li>That's it! Start your server and you should see your resource loading.</li>
</ol>
<h2 id="client-resource">Client Resource</h2>
<ol>
<li>Create a C# class library project targeting .NET Framework 4.8.</li>
<li>Add reference to <strong>RageCoop.Client.dll</strong> and <strong>RageCoop.Core.dll</strong>.</li>
<li>Add following namespace(s):
<pre><code>using RageCoop.Client.Scripting;
// Optional
using RageCoop.Core.Scripting;
using RageCoop.Core;
</code></pre>
</li>
<li>Inherit from <a href="api/RageCoop.Client.Scripting.ClientScript.html">ClientScript</a>.</li>
<li>Implement <code>OnStart()</code> and <code>OnStop()</code>, your cs file should look like this:
<pre><code>using RageCoop.Server.Scripting;
namespace NiceGuy.MyFirstClientResource
{
public class Main : ClientScript
{
public override void OnStart()
{
// Initiate your script here
}
public override void OnStop()
{
// Free all resources and perform cleanup
}
}
}
</code></pre>
</li>
<li>Now you can use anything from SHVDN to control client behaviour by adding a reference to <strong>ScriptHookVDotNet3.dll</strong></li>
<li>For convenience, you can create a symlink in <code>ServerRoot/Resources/Client/NiceGuy.MyFirstResource</code> targeting your output folder:
<pre><code>mklink /d ServerRoot/Resources/Client/NiceGuy.MyFirstClientResource C:/MyRepos/NiceGuy.MyFirstClientResource/bin/Debug
</code></pre>
</li>
<li>That's it! When a client connects the resource will be sent and loaded at client side.</li>
</ol>
</article>
</div>

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@
"output": {
".html": {
"relative_path": "README.html",
"hash": "4cmoUiB1VZB4gF99AmuNQ9605dgZhUYHrDJecdDtu60="
"hash": "pr8iZEnD+e9FBgqcqtSVdco9XpiIvzw68Jo+XGb22TM="
}
},
"is_incremental": false,
@ -33,7 +33,7 @@
"output": {
".html": {
"relative_path": "index.html",
"hash": "YNzCgE7KQWQPTJGSxetitmT6QG/2CXmz/gdmv3cY68s="
"hash": "1LFxLJxGw33vjwu18X5TzD6XpK2lhgCcWXklDwijzOU="
}
},
"is_incremental": false,
@ -69,7 +69,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Client.Scripting.API.Config.html",
"hash": "VBsaUYzbT0erc4kmdCnwpNkOLQEf1dnwpOHde9Lc1f8="
"hash": "oE9LrKsw83vyBp94AaNbvoHXxkpx7htXUTQNv22/w+I="
}
},
"is_incremental": false,
@ -117,7 +117,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Client.Scripting.API.html",
"hash": "qXU3gGLs3KnRlOWHnO08E985GHx+ixSrrbB7NGAyBfM="
"hash": "g2gzCGEfK6N/g88BY6mPWCHmY86Ua4lQZ2fcxFyn268="
}
},
"is_incremental": false,
@ -153,7 +153,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Client.Scripting.CustomEventReceivedArgs.html",
"hash": "/oQtDZe9+7w9CKt/AnXoqrDu/1D6OVDLGkNXJLDr+u8="
"hash": "pF96N5zynDc0gW+lndOoa7WJpl6V81hxrDV3CxY1Oco="
}
},
"is_incremental": false,
@ -333,7 +333,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Client.html",
"hash": "K49mINNkRd7PU0e8aaw0jBB4C3sbS/9e5UvaoY1C/Iw="
"hash": "cwbvqPEyg4SPw0sCT4LTou4H/0AqTkrwl4nGmRGs/To="
}
},
"is_incremental": false,
@ -345,7 +345,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.API.html",
"hash": "8ybDlQGQCl50xj9srw155Cyj35PK9UuX0RpEQlTFkbQ="
"hash": "2+FcM4J7HQf9ZRnJCTtk0BB3qZs5Vfcz1fRBpdE1/8s="
}
},
"is_incremental": false,
@ -393,7 +393,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.CustomEventReceivedArgs.html",
"hash": "NdiRA5BPjg6z2Ry5ZEBnOg9mKqXVd1imw27AV1CdHs8="
"hash": "7Ipc8ZlCOrPFZg18A+caKEqGWehp7TCeiLnALOTXByM="
}
},
"is_incremental": false,
@ -423,6 +423,42 @@
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.PedBlip.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.PedBlip.html",
"hash": "8QPQwHOlUcy4HX+aUUdXJGoKz4HfKkld6IEivXlpCuA="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerBlip.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.ServerBlip.html",
"hash": "I7YWvIsiIEuARR41jGrieoN9kg6lT//LHN+34NTlYOc="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerEntities.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.ServerEntities.html",
"hash": "W/5WUX/XP06YP2DpJcecmRI5gkPUH1g5fWKnbI0IFig="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerEvents.yml",
@ -435,6 +471,42 @@
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerObject.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.ServerObject.html",
"hash": "gnMcCcBSVuUOrSt/Ab1GnXaX+92uKmJF52HQvkcl2yY="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerPed.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.ServerPed.html",
"hash": "XGhPtZfJouhuw9N/ivNTU5HRqQVG/7iqIzgwCpBPc78="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerProp.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.ServerProp.html",
"hash": "JwPPEMrCqy3SKHJuV+wqqzdQjZTxkvRvCvcsOjpN+jc="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerResource.yml",
@ -459,13 +531,25 @@
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.ServerVehicle.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.ServerVehicle.html",
"hash": "7jkP85p+cMvpt4+h6el6Or073TQCnH7sgSjufGuarxg="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.Scripting.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.Scripting.html",
"hash": "/3wLFw/xx/dj3jj3zSpwT247r5JmANndoC59C1G8mWQ="
"hash": "TDLbATJ3GdNQNc0+qZ6qJlXc0+1LA59a273ILp/m/Ow="
}
},
"is_incremental": false,
@ -483,85 +567,13 @@
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerBlip.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerBlip.html",
"hash": "sg2l9vUzWiUtqFetXMUd3inOyOZj4wVvWlKIwjmaoAQ="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerEntities.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerEntities.html",
"hash": "dKwFKIdQpbSRUY9ZCXC9vxmERDyyVqRf4DN/ct7iX+c="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerObject.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerObject.html",
"hash": "PEhbsjDgDsj5b2JXz0SU5YbtDqMoPkYVC4z31uaLea4="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerPed.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerPed.html",
"hash": "JAf02BPc3fkEZaH75GLJWQNJNQzODetAUAWEqS85Va8="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerProp.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerProp.html",
"hash": "hbADqyV2RyHqimaz4y+e/h+WlYXCFAf8JEn5VEp4Chc="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerSettings.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerSettings.html",
"hash": "yDhZzdsJSauJbRUBMYqLcfGt1q1YyV5M41B/zNgW8gI="
}
},
"is_incremental": false,
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "obj/api/RageCoop.Server.ServerVehicle.yml",
"output": {
".html": {
"relative_path": "api/RageCoop.Server.ServerVehicle.html",
"hash": "sPVI4tw1V1JAsBXiWop+UJUijQUsVMG8wndC0nZ4wi4="
"hash": "yLQ3ep9p/5yyUAbQA0OjOm+3RNBOhhw9u7dbW8A2QJE="
}
},
"is_incremental": false,
@ -573,7 +585,7 @@
"output": {
".html": {
"relative_path": "api/RageCoop.Server.html",
"hash": "xyTwz7yi/LrAYZcx8Glo8TavDO453tEjAeG8nY511d0="
"hash": "MZ7YCuI30sBSEUCJx6/GoXA3X03xxeDLESs8kElMJrU="
}
},
"is_incremental": false,
@ -585,7 +597,7 @@
"output": {
".html": {
"relative_path": "api/toc.html",
"hash": "uZcO0u0n+LognaNjc+8AIrqPqE5CqXRa5wxG+MEAtOw="
"hash": "ZHjnDkBQ90EJF8E0YaqlgV9qbOm15fjetiHBs+V4Ovw="
}
},
"is_incremental": false,
@ -627,7 +639,7 @@
"ManagedReferenceDocumentProcessor": {
"can_incremental": false,
"incrementalPhase": "build",
"total_file_count": 45,
"total_file_count": 46,
"skipped_file_count": 0
},
"TocDocumentProcessor": {

File diff suppressed because it is too large Load Diff