Class Alt
Inheritance
System.Object
Alt
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.dll
Syntax
Fields
|
Improve this Doc
View Source
ThrowIfEntityDoesNotExist
Declaration
public static bool ThrowIfEntityDoesNotExist
Field Value
Type |
Description |
System.Boolean |
|
Properties
|
Improve this Doc
View Source
Assemblies
Declaration
public static IEnumerable<Assembly> Assemblies { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> |
|
|
Improve this Doc
View Source
AssemblyLoadContext
Declaration
public static WeakReference<AssemblyLoadContext> AssemblyLoadContext { get; }
Property Value
Type |
Description |
System.WeakReference<System.Runtime.Loader.AssemblyLoadContext> |
|
|
Improve this Doc
View Source
Branch
Declaration
public static string Branch { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CacheEntities
Declaration
public static bool CacheEntities { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ColShapeTickRate
Declaration
public static uint ColShapeTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
IsDebug
Declaration
public static bool IsDebug { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMainThread
Declaration
public static bool IsMainThread { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LoadedVehicleModels
Declaration
public static uint[] LoadedVehicleModels { get; }
Property Value
Type |
Description |
System.UInt32[] |
|
|
Improve this Doc
View Source
MaxStreamingObjects
Declaration
public static ushort MaxStreamingObjects { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxStreamingPeds
Declaration
public static ushort MaxStreamingPeds { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxStreamingVehicles
Declaration
public static ushort MaxStreamingVehicles { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MigrationDistance
Declaration
public static uint MigrationDistance { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
MigrationThreadCount
Declaration
public static byte MigrationThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
MigrationTickRate
Declaration
public static uint MigrationTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
NetTime
Declaration
public static int NetTime { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Resource
Declaration
public static INativeResource Resource { get; }
Property Value
|
Improve this Doc
View Source
StreamerThreadCount
Declaration
public static byte StreamerThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
StreamingDistance
Declaration
public static uint StreamingDistance { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
StreamingTickRate
Declaration
public static uint StreamingTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
SyncReceiveThreadCount
Declaration
public static byte SyncReceiveThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
SyncSendThreadCount
Declaration
public static byte SyncSendThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Version
Declaration
public static string Version { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
AddClientConfigKey(String)
Declaration
public static void AddClientConfigKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
AddToPool(IBaseObject)
Declaration
public static void AddToPool(IBaseObject baseObject)
Parameters
|
Improve this Doc
View Source
CreateBlip(Boolean, BlipType, IEntity, IPlayer[])
Creates a blip for a specific player, attached to specific entity.
Declaration
public static IBlip CreateBlip(bool global, BlipType type, IEntity entityAttach, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
If the blip global
|
BlipType |
type |
The type of the blip.
|
IEntity |
entityAttach |
The entity to which the blip is atteched to.
|
IPlayer[] |
targets |
Targets there can see the blip
|
Returns
Type |
Description |
IBlip |
The created Blip.
|
|
Improve this Doc
View Source
CreateBlip(Boolean, BlipType, Position, IPlayer[])
Creates a blip for a specific player on a specific position.
Declaration
public static IBlip CreateBlip(bool global, BlipType type, Position pos, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
If the blip global
|
BlipType |
type |
The type of the blip.
|
Position |
pos |
The position on which the blip is created.
|
IPlayer[] |
targets |
Targets there can see the blip
|
Returns
Type |
Description |
IBlip |
The created Blip.
|
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, IEntity, IPlayer[])
Create a blip for a specific player, attached to specific entity.
Declaration
public static IBlip CreateBlip(bool global, byte type, IEntity entityAttach, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
If the blip global
|
System.Byte |
type |
The type of the blip.
|
IEntity |
entityAttach |
The entity to which the blip is atteched to.
|
IPlayer[] |
targets |
Targets there can see the blip
|
Returns
Type |
Description |
IBlip |
The created Blip.
|
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, Position, IPlayer[])
Creates a blip for a specific player on a specific position.
Declaration
public static IBlip CreateBlip(bool global, byte type, Position pos, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
If the blip global
|
System.Byte |
type |
The type of the blip.
|
Position |
pos |
The position on which the blip is created.
|
IPlayer[] |
targets |
Targets there can see the blip
|
Returns
Type |
Description |
IBlip |
The created Blip.
|
|
Improve this Doc
View Source
CreateCheckpoint(CheckpointType, Position, Single, Single, Rgba, UInt32)
Creates a checkpoint for a all players, with given type, position, radius, height and color.
Declaration
public static ICheckpoint CreateCheckpoint(CheckpointType type, Position pos, float radius, float height, Rgba color, uint streamingDistance)
Parameters
Type |
Name |
Description |
CheckpointType |
type |
The type of the checkpoint.
|
Position |
pos |
The position of the checkpoint.
|
System.Single |
radius |
The size of the checkpoint.
|
System.Single |
height |
The height of the checkpoint.
|
Rgba |
color |
The color of the checkpoint.
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateCheckpoint(Byte, Position, Single, Single, Rgba, UInt32)
Creates a checkpoint for a all players, with given type, position, radius, height and color.
Declaration
public static ICheckpoint CreateCheckpoint(byte type, Position pos, float radius, float height, Rgba color, uint streamingDistance)
Parameters
Type |
Name |
Description |
System.Byte |
type |
The type of the checkpoint.
|
Position |
pos |
The position of the checkpoint.
|
System.Single |
radius |
The size of the checkpoint.
|
System.Single |
height |
The height of the checkpoint.
|
Rgba |
color |
The color of the checkpoint.
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCircle(Position, Single)
Creates a alt:V cylinder colshape with no height (from bottom to top of the height of the map).
Declaration
public static IColShape CreateColShapeCircle(Position pos, float radius)
Parameters
Type |
Name |
Description |
Position |
pos |
The position of the colshape.
|
System.Single |
radius |
The size of the colshape.
|
Returns
Type |
Description |
IColShape |
The created colshape.
|
|
Improve this Doc
View Source
CreateColShapeCube(Position, Position)
Creates a alt:V cube colshape between two positions.
Declaration
public static IColShape CreateColShapeCube(Position pos, Position pos2)
Parameters
Type |
Name |
Description |
Position |
pos |
The first position of the colshape.
|
Position |
pos2 |
The second position of the colshape.
|
Returns
Type |
Description |
IColShape |
The created colshape.
|
|
Improve this Doc
View Source
CreateColShapeCylinder(Position, Single, Single)
Creates a alt:V cylinder colshape with specigic height.
Declaration
public static IColShape CreateColShapeCylinder(Position pos, float radius, float height)
Parameters
Type |
Name |
Description |
Position |
pos |
The position of the colshape.
|
System.Single |
radius |
The size of the colshape.
|
System.Single |
height |
The height of the colshape.
|
Returns
Type |
Description |
IColShape |
The created colshape.
|
|
Improve this Doc
View Source
CreateColShapePolygon(Single, Single, Vector2[])
Creates a alt:v polygon colshape between given points from minmal z position to maximal z position.
Declaration
public static IColShape CreateColShapePolygon(float minZ, float maxZ, Vector2[] points)
Parameters
Type |
Name |
Description |
System.Single |
minZ |
The minimal z-axis of the colshape.
|
System.Single |
maxZ |
The maximal z-axis of the colshape.
|
System.Numerics.Vector2[] |
points |
The set of points of the polygon (only x and y axis)
|
Returns
Type |
Description |
IColShape |
The created colshape.
|
|
Improve this Doc
View Source
CreateColShapeRectangle(Single, Single, Single, Single, Single)
Creates a alt:v cube colshape between two positions with no height (from bottom to top of the height of the map).
Declaration
public static IColShape CreateColShapeRectangle(float x1, float y1, float x2, float y2, float z)
Parameters
Type |
Name |
Description |
System.Single |
x1 |
The first position of the colshape.
|
System.Single |
y1 |
The second position of the colshape.
|
System.Single |
x2 |
The first position of the colshape.
|
System.Single |
y2 |
The second position of the colshape.
|
System.Single |
z |
The second position of the colshape.
|
Returns
Type |
Description |
IColShape |
The created colshape.
|
|
Improve this Doc
View Source
CreateColShapeSphere(Position, Single)
Creates a alt:V sphere colshape.
Declaration
public static IColShape CreateColShapeSphere(Position pos, float radius)
Parameters
Type |
Name |
Description |
Position |
pos |
The position of the colshape.
|
System.Single |
radius |
The size of the colshape.
|
Returns
Type |
Description |
IColShape |
The created colshape.
|
|
Improve this Doc
View Source
CreateFunction(Action)
Declaration
public static Function CreateFunction(Action function)
Parameters
Type |
Name |
Description |
System.Action |
function |
|
Returns
|
Improve this Doc
View Source
CreateFunction<T>(T)
Declaration
public static Function CreateFunction<T>(T func)
where T : Delegate
Parameters
Type |
Name |
Description |
T |
func |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CreateFunction<T1>(Action<T1>)
Declaration
public static Function CreateFunction<T1>(Action<T1> function)
Parameters
Type |
Name |
Description |
System.Action<T1> |
function |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CreateFunction<T1>(Func<T1>)
Declaration
public static Function CreateFunction<T1>(Func<T1> function)
Parameters
Type |
Name |
Description |
System.Func<T1> |
function |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
T16 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
T16 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
T16 |
|
TResult |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2>(Action<T1, T2>)
Declaration
public static Function CreateFunction<T1, T2>(Action<T1, T2> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2> |
function |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CreateFunction<T1, T2>(Func<T1, T2>)
Declaration
public static Function CreateFunction<T1, T2>(Func<T1, T2> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2> |
function |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3>(Action<T1, T2, T3>)
Declaration
public static Function CreateFunction<T1, T2, T3>(Action<T1, T2, T3> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3>(Func<T1, T2, T3>)
Declaration
public static Function CreateFunction<T1, T2, T3>(Func<T1, T2, T3> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4>(Action<T1, T2, T3, T4>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4>(Action<T1, T2, T3, T4> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4>(Func<T1, T2, T3, T4>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4>(Func<T1, T2, T3, T4> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> function)
Parameters
Type |
Name |
Description |
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
|
Improve this Doc
View Source
CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
Declaration
public static Function CreateFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9> function)
Parameters
Type |
Name |
Description |
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
function |
|
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
|
Improve this Doc
View Source
CreateMarker(IPlayer, MarkerType, Position, Rgba)
Declaration
public static IMarker CreateMarker(IPlayer player, MarkerType type, Position pos, Rgba color)
Parameters
Returns
|
Improve this Doc
View Source
CreateMarker(MarkerType, Position, Rgba)
Declaration
public static IMarker CreateMarker(MarkerType type, Position pos, Rgba color)
Parameters
Type |
Name |
Description |
MarkerType |
type |
|
Position |
pos |
|
Rgba |
color |
|
Returns
|
Improve this Doc
View Source
CreateMValue(out MValueConst, Object)
Declaration
public static void CreateMValue(out MValueConst mValue, object obj)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Object |
obj |
|
|
Improve this Doc
View Source
CreateMValueBaseObject(out MValueConst, IBaseObject)
Declaration
public static void CreateMValueBaseObject(out MValueConst mValue, IBaseObject value)
Parameters
|
Improve this Doc
View Source
CreateMValueBool(out MValueConst, Boolean)
Declaration
public static void CreateMValueBool(out MValueConst mValue, bool value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Boolean |
value |
|
|
Improve this Doc
View Source
CreateMValueBuffer(MValueConst[])
Declaration
public static MValueBuffer2 CreateMValueBuffer(MValueConst[] values)
Parameters
Returns
|
Improve this Doc
View Source
CreateMValueByteArray(out MValueConst, Byte[])
Declaration
public static void CreateMValueByteArray(out MValueConst mValue, byte[] value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Byte[] |
value |
|
|
Improve this Doc
View Source
CreateMValueDict(out MValueConst, String[], MValueConst[], UInt64)
Declaration
public static void CreateMValueDict(out MValueConst mValue, string[] keys, MValueConst[] val, ulong size)
Parameters
|
Improve this Doc
View Source
CreateMValueDouble(out MValueConst, Double)
Declaration
public static void CreateMValueDouble(out MValueConst mValue, double value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Double |
value |
|
|
Improve this Doc
View Source
CreateMValueFunction(out MValueConst, IntPtr)
Declaration
public static void CreateMValueFunction(out MValueConst mValue, IntPtr value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.IntPtr |
value |
|
|
Improve this Doc
View Source
CreateMValueInt(out MValueConst, Int64)
Declaration
public static void CreateMValueInt(out MValueConst mValue, long value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Int64 |
value |
|
|
Improve this Doc
View Source
CreateMValueList(out MValueConst, MValueConst[], UInt64)
Declaration
public static void CreateMValueList(out MValueConst mValue, MValueConst[] val, ulong size)
Parameters
|
Improve this Doc
View Source
CreateMValueNil(out MValueConst)
Declaration
public static void CreateMValueNil(out MValueConst mValue)
Parameters
|
Improve this Doc
View Source
CreateMValueRgba(out MValueConst, Rgba)
Declaration
public static void CreateMValueRgba(out MValueConst mValue, Rgba value)
Parameters
|
Improve this Doc
View Source
CreateMValues(MValueConst[], Object[])
Declaration
public static void CreateMValues(MValueConst[] mValues, object[] objects)
Parameters
Type |
Name |
Description |
MValueConst[] |
mValues |
|
System.Object[] |
objects |
|
|
Improve this Doc
View Source
CreateMValueString(out MValueConst, String)
Declaration
public static void CreateMValueString(out MValueConst mValue, string value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.String |
value |
|
|
Improve this Doc
View Source
CreateMValueUInt(out MValueConst, UInt64)
Declaration
public static void CreateMValueUInt(out MValueConst mValue, ulong value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.UInt64 |
value |
|
|
Improve this Doc
View Source
CreateMValueVector2(out MValueConst, Vector2)
Declaration
public static void CreateMValueVector2(out MValueConst mValue, Vector2 value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Numerics.Vector2 |
value |
|
|
Improve this Doc
View Source
CreateMValueVector3(out MValueConst, Position)
Declaration
public static void CreateMValueVector3(out MValueConst mValue, Position value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
Position |
value |
|
|
Improve this Doc
View Source
CreateMValueWriter()
Declaration
public static MValueWriter2 CreateMValueWriter()
Returns
|
Improve this Doc
View Source
CreateObject(String, Position, Rotation, Byte, Byte, UInt16, UInt32)
Declaration
public static IObject CreateObject(string model, Position position, Rotation rotation, byte alpha = 255, byte textureVariation = 0, ushort lodDistance = 100, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.String |
model |
|
Position |
position |
|
Rotation |
rotation |
|
System.Byte |
alpha |
|
System.Byte |
textureVariation |
|
System.UInt16 |
lodDistance |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateObject(UInt32, Position, Rotation, Byte, Byte, UInt16, UInt32)
Declaration
public static IObject CreateObject(uint model, Position position, Rotation rotation, byte alpha = 255, byte textureVariation = 0, ushort lodDistance = 100, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
position |
|
Rotation |
rotation |
|
System.Byte |
alpha |
|
System.Byte |
textureVariation |
|
System.UInt16 |
lodDistance |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreatePed(PedModel, Position, Rotation, UInt32)
Declaration
public static IPed CreatePed(PedModel model, Position pos, Rotation rot, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
PedModel |
model |
|
Position |
pos |
|
Rotation |
rot |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreatePed(String, Position, Rotation, UInt32)
Declaration
public static IPed CreatePed(string model, Position pos, Rotation rot, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.String |
model |
|
Position |
pos |
|
Rotation |
rot |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreatePed(UInt32, Position, Rotation, UInt32)
Declaration
public static IPed CreatePed(uint model, Position pos, Rotation rot, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
pos |
|
Rotation |
rot |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVehicle(VehicleModel, Position, Rotation, UInt32)
Declaration
public static IVehicle CreateVehicle(VehicleModel model, Position pos, Rotation rotation, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
VehicleModel |
model |
|
Position |
pos |
|
Rotation |
rotation |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVehicle(String, Position, Rotation, UInt32)
Declaration
public static IVehicle CreateVehicle(string model, Position pos, Rotation rotation, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.String |
model |
|
Position |
pos |
|
Rotation |
rotation |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVehicle(UInt32, Position, Rotation, UInt32)
Declaration
public static IVehicle CreateVehicle(uint model, Position pos, Rotation rotation, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
pos |
|
Rotation |
rotation |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVirtualEntity(IVirtualEntityGroup, Position, UInt32, Dictionary<String, Object>)
Declaration
public static IVirtualEntity CreateVirtualEntity(IVirtualEntityGroup group, Position position, uint streamingDistance, Dictionary<string, object> dataDict)
Parameters
Type |
Name |
Description |
IVirtualEntityGroup |
group |
|
Position |
position |
|
System.UInt32 |
streamingDistance |
|
System.Collections.Generic.Dictionary<System.String, System.Object> |
dataDict |
|
Returns
|
Improve this Doc
View Source
CreateVirtualEntityGroup(UInt32)
Declaration
public static IVirtualEntityGroup CreateVirtualEntityGroup(uint maxEntitiesInStream)
Parameters
Type |
Name |
Description |
System.UInt32 |
maxEntitiesInStream |
|
Returns
|
Improve this Doc
View Source
CreateVoiceChannel(Boolean, Single)
Declaration
public static IVoiceChannel CreateVoiceChannel(bool spatial, float maxDistance)
Parameters
Type |
Name |
Description |
System.Boolean |
spatial |
|
System.Single |
maxDistance |
|
Returns
|
Improve this Doc
View Source
Declaration
public static void DeleteMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
Declaration
public static void DeleteSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
Emit(String, Object[])
Declaration
public static void Emit(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
EmitAllClients(String, Object[])
Declaration
public static void EmitAllClients(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
EmitClients(IPlayer[], String, Object[])
Declaration
public static void EmitClients(IPlayer[] clients, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
EmitEventUnreliableAllClients(String, Object[])
Declaration
public static void EmitEventUnreliableAllClients(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
EmitUnreliableClients(IPlayer[], String, Object[])
Declaration
public static void EmitUnreliableClients(IPlayer[] clients, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
FileExists(String)
Declaration
public static bool FileExists(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ForEachBlips(IAsyncBaseObjectCallback<IBlip>)
Declaration
public static Task ForEachBlips(IAsyncBaseObjectCallback<IBlip> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachBlips(IBaseObjectCallback<IBlip>)
Declaration
public static void ForEachBlips(IBaseObjectCallback<IBlip> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
ForEachCheckpoints(IAsyncBaseObjectCallback<ICheckpoint>)
Declaration
public static Task ForEachCheckpoints(IAsyncBaseObjectCallback<ICheckpoint> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachCheckpoints(IBaseObjectCallback<ICheckpoint>)
Declaration
public static void ForEachCheckpoints(IBaseObjectCallback<ICheckpoint> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
ForEachColShapes(IAsyncBaseObjectCallback<IColShape>)
Declaration
public static Task ForEachColShapes(IAsyncBaseObjectCallback<IColShape> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachColShapes(IBaseObjectCallback<IColShape>)
Declaration
public static void ForEachColShapes(IBaseObjectCallback<IColShape> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
ForEachPeds(IAsyncBaseObjectCallback<IPed>)
Declaration
public static Task ForEachPeds(IAsyncBaseObjectCallback<IPed> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachPeds(IBaseObjectCallback<IPed>)
Declaration
public static void ForEachPeds(IBaseObjectCallback<IPed> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
ForEachPlayers(IAsyncBaseObjectCallback<IPlayer>)
Declaration
public static Task ForEachPlayers(IAsyncBaseObjectCallback<IPlayer> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachPlayers(IBaseObjectCallback<IPlayer>)
Declaration
public static void ForEachPlayers(IBaseObjectCallback<IPlayer> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
ForEachVehicles(IAsyncBaseObjectCallback<IVehicle>)
Declaration
public static Task ForEachVehicles(IAsyncBaseObjectCallback<IVehicle> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachVehicles(IBaseObjectCallback<IVehicle>)
Declaration
public static void ForEachVehicles(IBaseObjectCallback<IVehicle> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
ForEachVoiceChannels(IAsyncBaseObjectCallback<IVoiceChannel>)
Declaration
public static Task ForEachVoiceChannels(IAsyncBaseObjectCallback<IVoiceChannel> baseObjectCallback)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ForEachVoiceChannels(IBaseObjectCallback<IVoiceChannel>)
Declaration
public static void ForEachVoiceChannels(IBaseObjectCallback<IVoiceChannel> baseObjectCallback)
Parameters
|
Improve this Doc
View Source
FromMValue(in MValueConst, Type, out Object)
Declaration
public static bool FromMValue(in MValueConst mValue, Type type, out object obj)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Type |
type |
|
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetAllBlips()
Declaration
public static IReadOnlyCollection<IBlip> GetAllBlips()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IBlip> |
|
|
Improve this Doc
View Source
GetAllCheckpoints()
Declaration
public static IReadOnlyCollection<ICheckpoint> GetAllCheckpoints()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<ICheckpoint> |
|
|
Improve this Doc
View Source
GetAllColShapes()
Declaration
public static IReadOnlyCollection<IColShape> GetAllColShapes()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IColShape> |
|
|
Improve this Doc
View Source
GetAllConnectionInfos()
Declaration
public static IReadOnlyCollection<IConnectionInfo> GetAllConnectionInfos()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IConnectionInfo> |
|
|
Improve this Doc
View Source
GetAllMarkers()
Declaration
public static IReadOnlyCollection<IMarker> GetAllMarkers()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IMarker> |
|
|
Improve this Doc
View Source
GetAllMetrics()
Declaration
public static IReadOnlyCollection<IMetric> GetAllMetrics()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IMetric> |
|
|
Improve this Doc
View Source
GetAllNetworkObjects()
Declaration
public static IReadOnlyCollection<IObject> GetAllNetworkObjects()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IObject> |
|
|
Improve this Doc
View Source
GetAllPeds()
Declaration
public static IReadOnlyCollection<IPed> GetAllPeds()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPed> |
|
|
Improve this Doc
View Source
GetAllPlayers()
Declaration
public static IReadOnlyCollection<IPlayer> GetAllPlayers()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPlayer> |
|
|
Improve this Doc
View Source
GetAllResources()
Declaration
public static INativeResource[] GetAllResources()
Returns
|
Improve this Doc
View Source
GetAllVehicles()
Declaration
public static IReadOnlyCollection<IVehicle> GetAllVehicles()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVehicle> |
|
|
Improve this Doc
View Source
GetAllVirtualEntities()
Declaration
public static IReadOnlyCollection<IVirtualEntity> GetAllVirtualEntities()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVirtualEntity> |
|
|
Improve this Doc
View Source
GetAllVirtualEntityGroups()
Declaration
public static IReadOnlyCollection<IVirtualEntityGroup> GetAllVirtualEntityGroups()
Returns
|
Improve this Doc
View Source
GetAllVoiceChannels()
Declaration
public static IReadOnlyCollection<IVoiceChannel> GetAllVoiceChannels()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVoiceChannel> |
|
|
Improve this Doc
View Source
GetBaseObjectById(BaseObjectType, UInt32)
Declaration
public static IBaseObject GetBaseObjectById(BaseObjectType type, uint id)
Parameters
Type |
Name |
Description |
BaseObjectType |
type |
|
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetBlipById(UInt32)
Declaration
public static IBlip GetBlipById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetBlipsArray()
Declaration
public static KeyValuePair<IntPtr, IBlip>[] GetBlipsArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IBlip>[] |
|
|
Improve this Doc
View Source
GetCheckpointById(UInt32)
Declaration
public static ICheckpoint GetCheckpointById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetCheckpointsArray()
Declaration
public static KeyValuePair<IntPtr, ICheckpoint>[] GetCheckpointsArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, ICheckpoint>[] |
|
|
Improve this Doc
View Source
GetClosestEntities(Position, Int32, Int32, Int32, EntityType, Order)
Declaration
public static IBaseObject[] GetClosestEntities(Position position, int range, int dimension, int limit, EntityType allowedTypes, Order order = Order.Default)
Parameters
Type |
Name |
Description |
Position |
position |
|
System.Int32 |
range |
|
System.Int32 |
dimension |
|
System.Int32 |
limit |
|
EntityType |
allowedTypes |
|
Order |
order |
|
Returns
|
Improve this Doc
View Source
GetColShapeById(UInt32)
Declaration
public static IColShape GetColShapeById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetColShapesArray()
Declaration
public static KeyValuePair<IntPtr, IColShape>[] GetColShapesArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IColShape>[] |
|
|
Improve this Doc
View Source
GetConnectionInfoArray()
Declaration
public static KeyValuePair<IntPtr, IConnectionInfo>[] GetConnectionInfoArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IConnectionInfo>[] |
|
|
Improve this Doc
View Source
GetEntitiesInDimension(Int32, EntityType)
Declaration
public static IBaseObject[] GetEntitiesInDimension(int dimension, EntityType allowedTypes)
Parameters
Type |
Name |
Description |
System.Int32 |
dimension |
|
EntityType |
allowedTypes |
|
Returns
|
Improve this Doc
View Source
GetEntitiesInRange(Position, Int32, Int32, EntityType)
Declaration
public static IBaseObject[] GetEntitiesInRange(Position position, int range, int dimension, EntityType allowedTypes)
Parameters
Type |
Name |
Description |
Position |
position |
|
System.Int32 |
range |
|
System.Int32 |
dimension |
|
EntityType |
allowedTypes |
|
Returns
|
Improve this Doc
View Source
GetMarkerById(UInt32)
Declaration
public static IMarker GetMarkerById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
Declaration
public static bool GetMetaData<T>(string key, out T result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
GetPedById(UInt32)
Declaration
public static IPed GetPedById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetPedModelInfo(String)
Declaration
public static PedModelInfo? GetPedModelInfo(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetPedModelInfo(UInt32)
Declaration
public static PedModelInfo? GetPedModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
GetPedsArray()
Declaration
public static KeyValuePair<IntPtr, IPed>[] GetPedsArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IPed>[] |
|
|
Improve this Doc
View Source
GetPlayerById(UInt32)
Declaration
public static IPlayer GetPlayerById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetPlayersArray()
Declaration
public static KeyValuePair<IntPtr, IPlayer>[] GetPlayersArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IPlayer>[] |
|
|
Improve this Doc
View Source
GetRegisteredClientEvents()
Declaration
public static IEnumerable<string> GetRegisteredClientEvents()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetRegisteredServerEvents()
Declaration
public static IEnumerable<string> GetRegisteredServerEvents()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetResource(String)
Declaration
public static INativeResource GetResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetServerConfig()
Declaration
public static IConfig GetServerConfig()
Returns
|
Improve this Doc
View Source
Declaration
public static bool GetSyncedMetaData<T>(string key, out T result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
GetVehicleById(UInt32)
Declaration
public static IVehicle GetVehicleById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetVehicleModelInfo(String)
Declaration
public static VehicleModelInfo GetVehicleModelInfo(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetVehicleModelInfo(UInt32)
Declaration
public static VehicleModelInfo GetVehicleModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
GetVehiclesArray()
Declaration
public static KeyValuePair<IntPtr, IVehicle>[] GetVehiclesArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IVehicle>[] |
|
|
Improve this Doc
View Source
GetVirtualEntityById(UInt32)
Declaration
public static IVirtualEntity GetVirtualEntityById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetVirtualEntityGroupById(UInt32)
Declaration
public static IVirtualEntityGroup GetVirtualEntityGroupById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetVoiceChannelById(UInt32)
Declaration
public static IVoiceChannel GetVoiceChannelById(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetVoiceChannelsArray()
Declaration
public static KeyValuePair<IntPtr, IVoiceChannel>[] GetVoiceChannelsArray()
Returns
Type |
Description |
System.Collections.Generic.KeyValuePair<System.IntPtr, IVoiceChannel>[] |
|
|
Improve this Doc
View Source
GetVoiceConnectionState()
Declaration
public static VoiceConnectionState GetVoiceConnectionState()
Returns
Type |
Description |
VoiceConnectionState |
|
|
Improve this Doc
View Source
GetWeaponModelInfo(UInt32)
Declaration
public static WeaponModelInfo? GetWeaponModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
HasBenefit(Benefit)
Declaration
public static bool HasBenefit(Benefit benefit)
Parameters
Type |
Name |
Description |
Benefit |
benefit |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Hash(String)
Declaration
public static uint Hash(string stringToHash)
Parameters
Type |
Name |
Description |
System.String |
stringToHash |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
HashPassword(String)
Declaration
public static ulong HashPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
Returns
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
Declaration
public static bool HasMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public static bool HasSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMValueConvertible(Type)
Declaration
public static bool IsMValueConvertible(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LoadAssemblyFromName(AssemblyName)
Declaration
public static Assembly LoadAssemblyFromName(AssemblyName assemblyName)
Parameters
Type |
Name |
Description |
System.Reflection.AssemblyName |
assemblyName |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromNativeImagePath(String, String)
Declaration
public static Assembly LoadAssemblyFromNativeImagePath(string nativeImagePath, string assemblyPath)
Parameters
Type |
Name |
Description |
System.String |
nativeImagePath |
|
System.String |
assemblyPath |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromPath(String)
Declaration
public static Assembly LoadAssemblyFromPath(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromStream(Stream)
Declaration
public static Assembly LoadAssemblyFromStream(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromStream(Stream, Stream)
Declaration
public static Assembly LoadAssemblyFromStream(Stream stream, Stream assemblySymbols)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.IO.Stream |
assemblySymbols |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
Log(String)
Declaration
public static void Log(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
a message
|
|
Improve this Doc
View Source
LogColored(ColoredMessage)
Declaration
public static void LogColored(ColoredMessage message)
Parameters
|
Improve this Doc
View Source
LogColored(String)
Declaration
public static void LogColored(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogDebug(String)
Logging a message if Debug-Mode is enabled
Declaration
public static void LogDebug(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
a message
|
|
Improve this Doc
View Source
LogError(String)
Logging a message as Error about something going very wrong, which needs immediate action
Declaration
public static void LogError(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
a message
|
|
Improve this Doc
View Source
LogFast(String)
Declaration
public static void LogFast(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogInfo(String)
Logging a message as Information about something
Declaration
public static void LogInfo(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
a message
|
|
Improve this Doc
View Source
LogWarning(String)
Logging a message as Warning about something maybe being wrong, but not being very important
Declaration
public static void LogWarning(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
a message
|
|
Improve this Doc
View Source
MValueFromObject(Object, Type, out Object)
Declaration
public static bool MValueFromObject(object obj, Type type, out object result)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Type |
type |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ReadFile(String)
Declaration
public static string ReadFile(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ReadFileBinary(String)
Declaration
public static byte[] ReadFileBinary(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
RegisterEvents(Object)
Declaration
public static void RegisterEvents(object target)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
|
Improve this Doc
View Source
RegisterMetric(String, MetricType, Dictionary<String, String>)
Declaration
public static IMetric RegisterMetric(string name, MetricType type = MetricType.MetricTypeGauge, Dictionary<string, string> dataDict = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
MetricType |
type |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
dataDict |
|
Returns
|
Improve this Doc
View Source
RegisterMValueAdapter<T>(IMValueAdapter<T>)
Declaration
public static void RegisterMValueAdapter<T>(IMValueAdapter<T> adapter)
Parameters
Type Parameters
|
Improve this Doc
View Source
RestartResource(String)
Declaration
public static void RestartResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
Declaration
public static void SetMetaData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
SetPassword(String)
Declaration
public static void SetPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
|
Improve this Doc
View Source
Declaration
public static void SetSyncedMetaData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
SetVoiceExternal(String, UInt16)
Declaration
public static void SetVoiceExternal(string host, ushort port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.UInt16 |
port |
|
|
Improve this Doc
View Source
SetVoiceExternalPublic(String, UInt16)
Declaration
public static void SetVoiceExternalPublic(string host, ushort port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.UInt16 |
port |
|
|
Improve this Doc
View Source
SetWorldProfiler(Boolean)
Declaration
public static void SetWorldProfiler(bool state)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
|
Improve this Doc
View Source
StartResource(String)
Declaration
public static void StartResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
StopResource(String)
Declaration
public static void StopResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
StopServer()
Declaration
public static void StopServer()
|
Improve this Doc
View Source
ToMValue(Object, Type, out MValueConst)
Declaration
public static bool ToMValue(object obj, Type type, out MValueConst mValue)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Type |
type |
|
MValueConst |
mValue |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UnregisterMetric(IMetric)
Declaration
public static void UnregisterMetric(IMetric metric)
Parameters
Type |
Name |
Description |
IMetric |
metric |
|
Events
|
Improve this Doc
View Source
OnAnyResourceError
Declaration
public static event ResourceEventDelegate OnAnyResourceError
Event Type
|
Improve this Doc
View Source
OnAnyResourceStart
Declaration
public static event ResourceEventDelegate OnAnyResourceStart
Event Type
|
Improve this Doc
View Source
OnAnyResourceStop
Declaration
public static event ResourceEventDelegate OnAnyResourceStop
Event Type
|
Improve this Doc
View Source
OnBaseObjectCreate
Declaration
public static event BaseObjectCreateDelegate OnBaseObjectCreate
Event Type
|
Improve this Doc
View Source
OnBaseObjectRemove
Declaration
public static event BaseObjectRemoveDelegate OnBaseObjectRemove
Event Type
|
Improve this Doc
View Source
OnCheckpoint
Declaration
public static event CheckpointDelegate OnCheckpoint
Event Type
|
Improve this Doc
View Source
OnClientDeleteObject
Declaration
public static event ClientDeleteObjectDelegate OnClientDeleteObject
Event Type
|
Improve this Doc
View Source
OnClientRequestObject
Declaration
public static event ClientRequestObjectDelegate OnClientRequestObject
Event Type
|
Improve this Doc
View Source
OnColShape
Declaration
public static event ColShapeDelegate OnColShape
Event Type
|
Improve this Doc
View Source
OnConnectionQueueAdd
Declaration
public static event ConnectionQueueAddDelegate OnConnectionQueueAdd
Event Type
|
Improve this Doc
View Source
OnConnectionQueueRemove
Declaration
public static event ConnectionQueueRemoveDelegate OnConnectionQueueRemove
Event Type
|
Improve this Doc
View Source
OnConsoleCommand
Declaration
public static event ConsoleCommandDelegate OnConsoleCommand
Event Type
|
Improve this Doc
View Source
OnExplosion
Declaration
public static event ExplosionDelegate OnExplosion
Event Type
|
Improve this Doc
View Source
OnFire
Declaration
public static event FireDelegate OnFire
Event Type
|
Improve this Doc
View Source
OnGivePedScriptedTask
Declaration
public static event GivePedScriptedTaskDelegate OnGivePedScriptedTask
Event Type
|
Improve this Doc
View Source
Event that is invoked when the meta data of an entity has changed.
Declaration
public static event MetaDataChangeDelegate OnMetaDataChange
Event Type
|
Improve this Doc
View Source
OnNetworkOwnerChange
Declaration
public static event NetOwnerChangeDelegate OnNetworkOwnerChange
Event Type
|
Improve this Doc
View Source
OnPedDamage
Declaration
public static event PedDamageDelegate OnPedDamage
Event Type
|
Improve this Doc
View Source
OnPedDead
Declaration
public static event PedDeadDelegate OnPedDead
Event Type
|
Improve this Doc
View Source
OnPedHeal
Declaration
public static event PedHealDelegate OnPedHeal
Event Type
|
Improve this Doc
View Source
OnPedRemove
Declaration
public static event PedRemoveDelegate OnPedRemove
Event Type
|
Improve this Doc
View Source
OnPlayerChangeAnimation
Declaration
public static event PlayerChangeAnimationDelegate OnPlayerChangeAnimation
Event Type
|
Improve this Doc
View Source
OnPlayerChangeInterior
Declaration
public static event PlayerChangeInteriorDelegate OnPlayerChangeInterior
Event Type
|
Improve this Doc
View Source
OnPlayerChangeVehicleSeat
Declaration
public static event PlayerChangeVehicleSeatDelegate OnPlayerChangeVehicleSeat
Event Type
|
Improve this Doc
View Source
OnPlayerConnect
Player connect event handler
Alt.OnPlayerConnect += (player, reason) => {
Console.WriteLine($"{player.Name} connected.");
};
Declaration
public static event PlayerConnectDelegate OnPlayerConnect
Event Type
|
Improve this Doc
View Source
OnPlayerConnectDenied
Declaration
public static event PlayerConnectDeniedDelegate OnPlayerConnectDenied
Event Type
|
Improve this Doc
View Source
OnPlayerCustomEvent
Declaration
public static event PlayerClientCustomEventDelegate OnPlayerCustomEvent
Event Type
|
Improve this Doc
View Source
OnPlayerDamage
Declaration
public static event PlayerDamageDelegate OnPlayerDamage
Event Type
|
Improve this Doc
View Source
OnPlayerDead
Declaration
public static event PlayerDeadDelegate OnPlayerDead
Event Type
|
Improve this Doc
View Source
OnPlayerDimensionChange
Declaration
public static event PlayerDimensionChangeDelegate OnPlayerDimensionChange
Event Type
|
Improve this Doc
View Source
OnPlayerDisconnect
Declaration
public static event PlayerDisconnectDelegate OnPlayerDisconnect
Event Type
|
Improve this Doc
View Source
OnPlayerEnteringVehicle
Declaration
public static event PlayerEnteringVehicleDelegate OnPlayerEnteringVehicle
Event Type
|
Improve this Doc
View Source
OnPlayerEnterVehicle
Declaration
public static event PlayerEnterVehicleDelegate OnPlayerEnterVehicle
Event Type
|
Improve this Doc
View Source
OnPlayerEvent
Declaration
public static event PlayerClientEventDelegate OnPlayerEvent
Event Type
|
Improve this Doc
View Source
OnPlayerHeal
Declaration
public static event PlayerHealDelegate OnPlayerHeal
Event Type
|
Improve this Doc
View Source
OnPlayerLeaveVehicle
Declaration
public static event PlayerLeaveVehicleDelegate OnPlayerLeaveVehicle
Event Type
|
Improve this Doc
View Source
OnPlayerRemove
Declaration
public static event PlayerRemoveDelegate OnPlayerRemove
Event Type
|
Improve this Doc
View Source
OnPlayerRequestControl
Declaration
public static event PlayerRequestControlDelegate OnPlayerRequestControl
Event Type
|
Improve this Doc
View Source
OnPlayerSpawn
Declaration
public static event PlayerSpawnDelegate OnPlayerSpawn
Event Type
|
Improve this Doc
View Source
OnPlayerStartTalking
Declaration
public static event PlayerStartTalkingDelegate OnPlayerStartTalking
Event Type
|
Improve this Doc
View Source
OnPlayerStopTalking
Declaration
public static event PlayerStopTalkingDelegate OnPlayerStopTalking
Event Type
|
Improve this Doc
View Source
OnPlayerWeaponChange
Declaration
public static event PlayerWeaponChangeDelegate OnPlayerWeaponChange
Event Type
|
Improve this Doc
View Source
OnRequestSyncScene
Declaration
public static event RequestSyncedSceneDelegate OnRequestSyncScene
Event Type
|
Improve this Doc
View Source
OnScriptRPC
Declaration
public static event ScriptRpcDelegate OnScriptRPC
Event Type
|
Improve this Doc
View Source
OnScriptRPCAnswer
Declaration
public static event ScriptRpcAnswerDelegate OnScriptRPCAnswer
Event Type
|
Improve this Doc
View Source
OnServerCustomEvent
Declaration
public static event ServerCustomEventEventDelegate OnServerCustomEvent
Event Type
|
Improve this Doc
View Source
OnServerEvent
Declaration
public static event ServerEventEventDelegate OnServerEvent
Event Type
|
Improve this Doc
View Source
OnServerStarted
Declaration
public static event ServerStartedDelegate OnServerStarted
Event Type
|
Improve this Doc
View Source
OnStartProjectile
Declaration
public static event StartProjectileDelegate OnStartProjectile
Event Type
|
Improve this Doc
View Source
OnStartSyncedScene
Declaration
public static event StartSyncedSceneDelegate OnStartSyncedScene
Event Type
|
Improve this Doc
View Source
OnStopSyncedScene
Declaration
public static event StopSyncedSceneDelegate OnStopSyncedScene
Event Type
|
Improve this Doc
View Source
Event that is invoked when the synced meta data of an entity has changed.
Declaration
public static event MetaDataChangeDelegate OnSyncedMetaDataChange
Event Type
|
Improve this Doc
View Source
OnUpdateSyncedScene
Declaration
public static event UpdateSyncedSceneDelegate OnUpdateSyncedScene
Event Type
|
Improve this Doc
View Source
OnVehicleAttach
Declaration
public static event VehicleAttachDelegate OnVehicleAttach
Event Type
|
Improve this Doc
View Source
OnVehicleDamage
Declaration
public static event VehicleDamageDelegate OnVehicleDamage
Event Type
|
Improve this Doc
View Source
OnVehicleDestroy
Declaration
public static event VehicleDestroyDelegate OnVehicleDestroy
Event Type
|
Improve this Doc
View Source
OnVehicleDetach
Declaration
public static event VehicleDetachDelegate OnVehicleDetach
Event Type
|
Improve this Doc
View Source
OnVehicleHorn
Declaration
public static event VehicleHornDelegate OnVehicleHorn
Event Type
|
Improve this Doc
View Source
OnVehicleRemove
Declaration
public static event VehicleRemoveDelegate OnVehicleRemove
Event Type
|
Improve this Doc
View Source
OnVehicleSiren
Declaration
public static event VehicleSirenDelegate OnVehicleSiren
Event Type
|
Improve this Doc
View Source
OnWeaponDamage
Weapon damage event handler
Alt.OnWeaponDamage += (player, target, weapon, damage, shotOffset, bodyPart) => {
Console.WriteLine($"{player.Name} got damaged.");
return true; // return false will cancel the weapon damage event and player won't receive damage.
return 5; // return a number will set the new damage
};
Declaration
public static event WeaponDamageDelegate OnWeaponDamage
Event Type