Class AltAsync
Inheritance
System.Object
AltAsync
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.Async.dll
Syntax
public static class AltAsync
Methods
|
Improve this Doc
View Source
AddWeaponComponentAsync(IPlayer, UInt32, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task AddWeaponComponentAsync(this IPlayer player, uint weapon, uint weaponComponent)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
System.UInt32 |
weaponComponent |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
AddWeaponComponentAsync(IPlayer, WeaponModel, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task AddWeaponComponentAsync(this IPlayer player, WeaponModel weaponModel, uint weaponComponent)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
WeaponModel |
weaponModel |
|
System.UInt32 |
weaponComponent |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
AttachedAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<IVehicle> AttachedAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<IVehicle> |
|
|
Improve this Doc
View Source
AttachedToAsync(IBlip)
Declaration
[Obsolete("Use async entities instead")]
public static Task<IEntity> AttachedToAsync(this IBlip blip)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IEntity> |
|
|
Improve this Doc
View Source
AttachedToAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<IVehicle> AttachedToAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<IVehicle> |
|
|
Improve this Doc
View Source
AttachToEntityAsync(IPlayer, IEntity, UInt16, UInt16, Position, Rotation, Boolean, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task AttachToEntityAsync(this IPlayer player, IEntity entity, ushort otherBoneId, ushort ownBoneId, Position position, Rotation rotation, bool collision, bool noFixedRotation)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
IEntity |
entity |
|
System.UInt16 |
otherBoneId |
|
System.UInt16 |
ownBoneId |
|
Position |
position |
|
Rotation |
rotation |
|
System.Boolean |
collision |
|
System.Boolean |
noFixedRotation |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
AttachToEntityAsync(IVehicle, IEntity, UInt16, UInt16, Position, Rotation, Boolean, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task AttachToEntityAsync(this IVehicle vehicle, IEntity entity, ushort otherBoneId, ushort ownBoneId, Position position, Rotation rotation, bool collision, bool noFixedRotation)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
IEntity |
entity |
|
System.UInt16 |
otherBoneId |
|
System.UInt16 |
ownBoneId |
|
Position |
position |
|
Rotation |
rotation |
|
System.Boolean |
collision |
|
System.Boolean |
noFixedRotation |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ClearBloodDamageAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task ClearBloodDamageAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ClearPropsAsync(IPlayer, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task ClearPropsAsync(this IPlayer player, byte component)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
CreateBlip(Boolean, BlipType, IEntity, IPlayer[])
Declaration
public static Task<IBlip> CreateBlip(bool global, BlipType type, IEntity entityAttach, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
|
BlipType |
type |
|
IEntity |
entityAttach |
|
IPlayer[] |
targets |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IBlip> |
|
|
Improve this Doc
View Source
CreateBlip(Boolean, BlipType, Position, IPlayer[])
Declaration
public static Task<IBlip> CreateBlip(bool global, BlipType type, Position pos, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
|
BlipType |
type |
|
Position |
pos |
|
IPlayer[] |
targets |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IBlip> |
|
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, IEntity, IPlayer[])
Declaration
public static Task<IBlip> CreateBlip(bool global, byte type, IEntity entityAttach, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
|
System.Byte |
type |
|
IEntity |
entityAttach |
|
IPlayer[] |
targets |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IBlip> |
|
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, Position, IPlayer[])
Declaration
public static Task<IBlip> CreateBlip(bool global, byte type, Position pos, IPlayer[] targets)
Parameters
Type |
Name |
Description |
System.Boolean |
global |
|
System.Byte |
type |
|
Position |
pos |
|
IPlayer[] |
targets |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IBlip> |
|
|
Improve this Doc
View Source
CreateCheckpoint(CheckpointType, Position, Single, Single, Rgba, UInt32)
Declaration
public static Task<ICheckpoint> CreateCheckpoint(CheckpointType type, Position pos, float radius, float height, Rgba color, uint streamingDistance)
Parameters
Type |
Name |
Description |
CheckpointType |
type |
|
Position |
pos |
|
System.Single |
radius |
|
System.Single |
height |
|
Rgba |
color |
|
System.UInt32 |
streamingDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<ICheckpoint> |
|
|
Improve this Doc
View Source
CreateCheckpoint(Byte, Position, Single, Single, Rgba, UInt32)
Declaration
public static Task<ICheckpoint> CreateCheckpoint(byte type, Position pos, float radius, float height, Rgba color, uint streamingDistance)
Parameters
Type |
Name |
Description |
System.Byte |
type |
|
Position |
pos |
|
System.Single |
radius |
|
System.Single |
height |
|
Rgba |
color |
|
System.UInt32 |
streamingDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<ICheckpoint> |
|
|
Improve this Doc
View Source
CreateMarker(IPlayer, MarkerType, Position, Rgba)
Declaration
public static Task<IMarker> CreateMarker(IPlayer player, MarkerType type, Position pos, Rgba color)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
MarkerType |
type |
|
Position |
pos |
|
Rgba |
color |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IMarker> |
|
|
Improve this Doc
View Source
CreateMarker(MarkerType, Position, Rgba)
Declaration
public static Task<IMarker> CreateMarker(MarkerType type, Position pos, Rgba color)
Parameters
Type |
Name |
Description |
MarkerType |
type |
|
Position |
pos |
|
Rgba |
color |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IMarker> |
|
|
Improve this Doc
View Source
CreateObject(String, Position, Rotation, Byte, Byte, UInt16)
Declaration
public static Task<IObject> CreateObject(string model, Position position, Rotation rotation, byte alpha = 255, byte textureVariation = 0, ushort lodDistance = 100)
Parameters
Type |
Name |
Description |
System.String |
model |
|
Position |
position |
|
Rotation |
rotation |
|
System.Byte |
alpha |
|
System.Byte |
textureVariation |
|
System.UInt16 |
lodDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IObject> |
|
|
Improve this Doc
View Source
CreateObject(UInt32, Position, Rotation, Byte, Byte, UInt16)
Declaration
public static Task<IObject> CreateObject(uint model, Position position, Rotation rotation, byte alpha = 255, byte textureVariation = 0, ushort lodDistance = 100)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
position |
|
Rotation |
rotation |
|
System.Byte |
alpha |
|
System.Byte |
textureVariation |
|
System.UInt16 |
lodDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IObject> |
|
|
Improve this Doc
View Source
CreatePed(PedModel, Position, Rotation, UInt32)
Declaration
public static Task<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
Type |
Description |
System.Threading.Tasks.Task<IPed> |
|
|
Improve this Doc
View Source
CreatePed(String, Position, Rotation, UInt32)
Declaration
public static Task<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
Type |
Description |
System.Threading.Tasks.Task<IPed> |
|
|
Improve this Doc
View Source
CreatePed(UInt32, Position, Rotation, UInt32)
Declaration
public static Task<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
Type |
Description |
System.Threading.Tasks.Task<IPed> |
|
|
Improve this Doc
View Source
CreateVehicle(String, Position, Rotation, UInt32)
Declaration
public static Task<IVehicle> CreateVehicle(string model, Position pos, Rotation rot, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.String |
model |
|
Position |
pos |
|
Rotation |
rot |
|
System.UInt32 |
streamingDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IVehicle> |
|
|
Improve this Doc
View Source
CreateVehicle(UInt32, Position, Rotation, UInt32)
Declaration
public static Task<IVehicle> CreateVehicle(uint model, Position pos, Rotation rot, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
pos |
|
Rotation |
rot |
|
System.UInt32 |
streamingDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IVehicle> |
|
|
Improve this Doc
View Source
CreateVehicle(VehicleModel, Position, Rotation, UInt32)
Declaration
public static Task<IVehicle> CreateVehicle(VehicleModel model, Position pos, Rotation rot, uint streamingDistance = 0U)
Parameters
Type |
Name |
Description |
VehicleModel |
model |
|
Position |
pos |
|
Rotation |
rot |
|
System.UInt32 |
streamingDistance |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IVehicle> |
|
|
Improve this Doc
View Source
CreateVirtualEntity(IVirtualEntityGroup, Position, UInt32, Dictionary<String, Object>)
Declaration
public static Task<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 Task<IVirtualEntityGroup> CreateVirtualEntityGroup(uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task DeleteStreamSyncedMetaDataAsync(this IEntity entity, string key)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task DeleteSyncedMetaDataAsync(this IEntity entity, string key)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
DespawnAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task DespawnAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
DestroyAsync(ICheckpoint)
Declaration
[Obsolete("Use async entities instead")]
public static Task DestroyAsync(this ICheckpoint checkpoint)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
DestroyAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task DestroyAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
DetachAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task DetachAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
DetachAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task DetachAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Do(Action)
Declaration
public static Task Do(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Do(Action<Object>, Object)
Declaration
public static Task Do(Action<object> action, object value)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
action |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Do(Func<Task>)
Declaration
public static Task Do(Func<Task> task)
Parameters
Type |
Name |
Description |
System.Func<System.Threading.Tasks.Task> |
task |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Do(Task)
Declaration
public static Task Do(Task task)
Parameters
Type |
Name |
Description |
System.Threading.Tasks.Task |
task |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Do<TResult>(Func<TResult>)
Declaration
public static Task<TResult> Do<TResult>(Func<TResult> action)
Parameters
Type |
Name |
Description |
System.Func<TResult> |
action |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
|
Improve this Doc
View Source
Do<TResult>(Func<Object, TResult>, Object)
Declaration
public static Task<TResult> Do<TResult>(Func<object, TResult> action, object value)
Parameters
Type |
Name |
Description |
System.Func<System.Object, TResult> |
action |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
|
Improve this Doc
View Source
DoesWheelHasTireAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> DoesWheelHasTireAsync(this IVehicle vehicle, byte wheelId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
Emit(String, Object[])
Declaration
public static async 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 async void EmitAllClients(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
EmitAsync(IPlayer, String, Object[])
Declaration
[Obsolete("Use async entities instead")]
public static async Task EmitAsync(this IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
EmitLocked(IPlayer, String, Object[])
Declaration
public static bool EmitLocked(this IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EmitLockedWithContext(IPlayer, String, Object[])
Declaration
public static bool EmitLockedWithContext(this IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EmitUnreliableAllClients(String, Object[])
Declaration
public static async void EmitUnreliableAllClients(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
EmitUnreliableLocked(IPlayer, String, Object[])
Declaration
public static bool EmitUnreliableLocked(this IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EmitUnreliableLockedWithContext(IPlayer, String, Object[])
Declaration
public static bool EmitUnreliableLockedWithContext(this IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ExecuteLocked(IBaseObject, Action)
Declaration
public static bool ExecuteLocked(this IBaseObject player, Action action)
Parameters
Type |
Name |
Description |
IBaseObject |
player |
|
System.Action |
action |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ExecuteLocked<T>(IBaseObject, Action<T>, T)
Declaration
public static bool ExecuteLocked<T>(this IBaseObject player, Action<T> action, T param)
Parameters
Type |
Name |
Description |
IBaseObject |
player |
|
System.Action<T> |
action |
|
T |
param |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
ExecuteLocked<T1, T2, T3>(IBaseObject, Action<T1, T2, T3>, T1, T2, T3)
Declaration
public static bool ExecuteLocked<T1, T2, T3>(this IBaseObject player, Action<T1, T2, T3> action, T1 param1, T2 param2, T3 param3)
Parameters
Type |
Name |
Description |
IBaseObject |
player |
|
System.Action<T1, T2, T3> |
action |
|
T1 |
param1 |
|
T2 |
param2 |
|
T3 |
param3 |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
ExecuteLocked<T1, T2, T3, T4>(IBaseObject, Action<T1, T2, T3, T4>, T1, T2, T3, T4)
Declaration
public static bool ExecuteLocked<T1, T2, T3, T4>(this IBaseObject player, Action<T1, T2, T3, T4> action, T1 param1, T2 param2, T3 param3, T4 param4)
Parameters
Type |
Name |
Description |
IBaseObject |
player |
|
System.Action<T1, T2, T3, T4> |
action |
|
T1 |
param1 |
|
T2 |
param2 |
|
T3 |
param3 |
|
T4 |
param4 |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
ExistsAsync(IBaseObject)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> ExistsAsync(this IBaseObject baseObject)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
GetAimPositionAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Position> GetAimPositionAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Position> |
|
|
Improve this Doc
View Source
GetAppearanceDataAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetAppearanceDataAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetArmorAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ushort> GetArmorAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt16> |
|
|
Improve this Doc
View Source
GetArmoredWindowHealthAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<float> GetArmoredWindowHealthAsync(this IVehicle vehicle, byte windowId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Single> |
|
|
Improve this Doc
View Source
GetArmoredWindowShootCountAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetArmoredWindowShootCountAsync(this IVehicle vehicle, byte windowId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetAuthTokenAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetAuthTokenAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetBlipTypeAsync(IBlip)
Declaration
[Obsolete("Use async entities instead")]
public static Task<BlipType> GetBlipTypeAsync(this IBlip blip)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<BlipType> |
|
|
Improve this Doc
View Source
GetBodyAdditionalHealthAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetBodyAdditionalHealthAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetBodyHealthAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetBodyHealthAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetBumperDamageLevelAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetBumperDamageLevelAsync(this IVehicle vehicle, byte bumperId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
bumperId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetBumperDamageLevelExtAsync(IVehicle, VehicleBumper)
Declaration
[Obsolete("Use async entities instead")]
public static Task<VehicleBumperDamage> GetBumperDamageLevelExtAsync(this IVehicle vehicle, VehicleBumper bumper)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehicleBumper |
bumper |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<VehicleBumperDamage> |
|
|
Improve this Doc
View Source
GetCheckpointTypeAsync(ICheckpoint)
Declaration
[Obsolete("Use async entities instead")]
public static Task<CheckpointType> GetCheckpointTypeAsync(this ICheckpoint checkpoint)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<CheckpointType> |
|
|
Improve this Doc
View Source
GetClothesAsync(IPlayer, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Cloth> GetClothesAsync(this IPlayer player, byte component)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Cloth> |
|
|
Improve this Doc
View Source
GetColorAsync(ICheckpoint)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rgba> GetColorAsync(this ICheckpoint checkpoint)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Rgba> |
|
|
Improve this Doc
View Source
GetCurrentWeaponAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetCurrentWeaponAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetCurrentWeaponTintIndexAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetCurrentWeaponTintIndexAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetDamageDataAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetDamageDataAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetDashboardColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetDashboardColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetDimensionAsync(IWorldObject)
Declaration
[Obsolete("Use async entities instead")]
public static Task<int> GetDimensionAsync(this IWorldObject worldObject)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
|
Improve this Doc
View Source
GetDirtLevelAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetDirtLevelAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetDlcClothesAsync(IPlayer, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<DlcCloth> GetDlcClothesAsync(this IPlayer player, byte component)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<DlcCloth> |
|
|
Improve this Doc
View Source
GetDlcPropsAsync(IPlayer, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<DlcProp> GetDlcPropsAsync(this IPlayer player, byte component)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<DlcProp> |
|
|
Improve this Doc
View Source
GetDoorStateAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetDoorStateAsync(this IVehicle vehicle, byte doorId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
doorId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetDoorStateAsync(IVehicle, VehicleDoor)
Declaration
[Obsolete("Use async entities instead")]
public static Task<VehicleDoorState> GetDoorStateAsync(this IVehicle vehicle, VehicleDoor door)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehicleDoor |
door |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<VehicleDoorState> |
|
|
Improve this Doc
View Source
GetDriverAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<IPlayer> GetDriverAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<IPlayer> |
|
|
Improve this Doc
View Source
GetEngineHealthAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<int> GetEngineHealthAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
|
Improve this Doc
View Source
GetEntityAimingAtAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<IEntity> GetEntityAimingAtAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IEntity> |
|
|
Improve this Doc
View Source
GetEntityAimOffsetAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Position> GetEntityAimOffsetAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Position> |
|
|
Improve this Doc
View Source
GetHardwareIdExHashAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ulong> GetHardwareIdExHashAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt64> |
|
|
Improve this Doc
View Source
GetHardwareIdHashAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ulong> GetHardwareIdHashAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt64> |
|
|
Improve this Doc
View Source
GetHeadlightColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetHeadlightColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetHeadRotationAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rotation> GetHeadRotationAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Rotation> |
|
|
Improve this Doc
View Source
GetHealthAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ushort> GetHealthAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt16> |
|
|
Improve this Doc
View Source
GetHealthDataAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetHealthDataAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetHeightAsync(ICheckpoint)
Declaration
[Obsolete("Use async entities instead")]
public static Task<float> GetHeightAsync(this ICheckpoint checkpoint)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Single> |
|
|
Improve this Doc
View Source
GetInteriorColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetInteriorColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetInvincibleAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> GetInvincibleAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
GetIpAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetIpAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetLightsMultiplierAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<float> GetLightsMultiplierAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Single> |
|
|
Improve this Doc
View Source
GetLiveryAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetLiveryAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetLockStateAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<VehicleLockState> GetLockStateAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<VehicleLockState> |
|
|
Improve this Doc
View Source
GetManualEngineControlAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> GetManualEngineControlAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
GetMaxArmorAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ushort> GetMaxArmorAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt16> |
|
|
Improve this Doc
View Source
GetMaxHealthAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ushort> GetMaxHealthAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt16> |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task<T> GetMetaDataAsync<T>(this IBaseObject baseObject, string key)
Parameters
Type |
Name |
Description |
IBaseObject |
baseObject |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
|
Improve this Doc
View Source
GetModAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetModAsync(this IVehicle vehicle, byte category)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
category |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetModelAsync(IEntity)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetModelAsync(this IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetModKitAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetModKitAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetModKitsCountAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetModKitsCountAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetModsCountAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetModsCountAsync(this IVehicle vehicle, byte category)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
category |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetMoveSpeedAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<float> GetMoveSpeedAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Single> |
|
|
Improve this Doc
View Source
GetNameAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static async Task<string> GetNameAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetNeonActiveAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Tuple<bool, bool, bool, bool>> GetNeonActiveAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Tuple<System.Boolean, System.Boolean, System.Boolean, System.Boolean>> |
|
|
Improve this Doc
View Source
GetNeonColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rgba> GetNeonColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Rgba> |
|
|
Improve this Doc
View Source
GetNumberplateIndexAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetNumberplateIndexAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetNumberplateTextAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static async Task<string> GetNumberplateTextAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetPartBulletHolesAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetPartBulletHolesAsync(this IVehicle vehicle, byte partId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
partId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetPartBulletHolesExtAsync(IVehicle, VehiclePart)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetPartBulletHolesExtAsync(this IVehicle vehicle, VehiclePart part)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehiclePart |
part |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetPartDamageLevelAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetPartDamageLevelAsync(this IVehicle vehicle, byte partId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
partId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetPartDamageLevelExtAsync(IVehicle, VehiclePart)
Declaration
[Obsolete("Use async entities instead")]
public static Task<VehiclePartDamage> GetPartDamageLevelExtAsync(this IVehicle vehicle, VehiclePart part)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehiclePart |
part |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<VehiclePartDamage> |
|
|
Improve this Doc
View Source
GetPearlColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetPearlColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetPetrolTankHealthAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<int> GetPetrolTankHealthAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
|
Improve this Doc
View Source
GetPingAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetPingAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetPositionAsync(IWorldObject)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Position> GetPositionAsync(this IWorldObject worldObject)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Position> |
|
|
Improve this Doc
View Source
GetPositionLocked(IPlayer, ref Position)
Declaration
public static bool GetPositionLocked(this IPlayer player, ref Position position)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Position |
position |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetPositionTupleAsync(IWorldObject)
Declaration
[Obsolete("Use async entities instead")]
public static Task<(float X, float Y, float Z)> GetPositionTupleAsync(this IWorldObject worldObject)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.ValueTuple<System.Single, System.Single, System.Single>> |
|
|
Improve this Doc
View Source
GetPrimaryColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetPrimaryColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetPrimaryColorRgbAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rgba> GetPrimaryColorRgbAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Rgba> |
|
|
Improve this Doc
View Source
GetPropsAsync(IPlayer, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Prop> GetPropsAsync(this IPlayer player, byte component)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Prop> |
|
|
Improve this Doc
View Source
GetRadioStationAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<uint> GetRadioStationAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt32> |
|
|
Improve this Doc
View Source
GetRadiusAsync(ICheckpoint)
Declaration
[Obsolete("Use async entities instead")]
public static Task<float> GetRadiusAsync(this ICheckpoint checkpoint)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Single> |
|
|
Improve this Doc
View Source
GetRearWheelAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetRearWheelAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetRepairsCountAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetRepairsCountAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetRoofLiveryAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetRoofLiveryAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetRotationAsync(IEntity)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rotation> GetRotationAsync(this IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Rotation> |
|
|
Improve this Doc
View Source
GetScriptDataAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetScriptDataAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetSeatAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetSeatAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetSecondaryColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetSecondaryColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetSecondaryColorRgbAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rgba> GetSecondaryColorRgbAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Rgba> |
|
|
Improve this Doc
View Source
GetSocialClubIdAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<ulong> GetSocialClubIdAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.UInt64> |
|
|
Improve this Doc
View Source
GetSpecialDarknessAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetSpecialDarknessAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetStateAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<string> GetStateAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
|
Improve this Doc
View Source
GetStreamedAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> GetStreamedAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
GetStreamedAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> GetStreamedAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task<T> GetStreamSyncedMetaDataAsync<T>(this IEntity entity, string key)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task<T> GetSyncedMetaDataAsync<T>(this IEntity entity, string key)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<T> |
|
Type Parameters
|
Improve this Doc
View Source
GetTireSmokeColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Rgba> GetTireSmokeColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Rgba> |
|
|
Improve this Doc
View Source
GetTypeAsync(IBaseObject)
Declaration
[Obsolete("Use async entities instead")]
public static Task<BaseObjectType> GetTypeAsync(this IBaseObject baseObject)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<BaseObjectType> |
|
|
Improve this Doc
View Source
GetVehicleAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static async Task<IVehicle> GetVehicleAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IVehicle> |
|
|
Improve this Doc
View Source
GetVelocityAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<Position> GetVelocityAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Position> |
|
|
Improve this Doc
View Source
GetVisibleAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> GetVisibleAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
GetVisibleAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> GetVisibleAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
GetWeaponTintIndexAsync(IPlayer, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetWeaponTintIndexAsync(this IPlayer player, uint weapon)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetWheelColorAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetWheelColorAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetWheelHealthAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<float> GetWheelHealthAsync(this IVehicle vehicle, byte wheelId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Single> |
|
|
Improve this Doc
View Source
GetWheelsCountAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetWheelsCountAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetWheelTypeAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetWheelTypeAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetWheelVariationAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetWheelVariationAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GetWindowTintAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<byte> GetWindowTintAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Byte> |
|
|
Improve this Doc
View Source
GiveWeaponAsync(IPlayer, UInt32, Int32, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task GiveWeaponAsync(this IPlayer player, uint weapon, int ammo, bool selectWeapon)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
System.Int32 |
ammo |
|
System.Boolean |
selectWeapon |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
HasArmoredWindowsAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> HasArmoredWindowsAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
HasCustomTiresAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> HasCustomTiresAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsAimingAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsAimingAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsAttachedAsync(IBlip)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsAttachedAsync(this IBlip blip)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsConnectedAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsConnectedAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsCrouchingAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsCrouchingAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsDaylightOnAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsDaylightOnAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsDeadAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsDeadAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsDestroyedAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task IsDestroyedAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
IsEngineOnAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsEngineOnAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsEntityInAsync(ICheckpoint, IEntity)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsEntityInAsync(this ICheckpoint checkpoint, IEntity entity)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsEntityInStreamingRangeAsync(IPlayer, IEntity)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsEntityInStreamingRangeAsync(this IPlayer player, IEntity entity)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsExtraOnAsync(this IVehicle vehicle, byte extraId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
extraId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsFlamethrowerActiveAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsFlamethrowerActiveAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsFlashlightActiveAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsFlashlightActiveAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsGlobalAsync(IBlip)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsGlobalAsync(this IBlip blip)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsHandbrakeActiveAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsHandbrakeActiveAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsInRagdollAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsInRagdollAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsInVehicleAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsInVehicleAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsJumpingAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsJumpingAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsLightDamagedAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsLightDamagedAsync(this IVehicle vehicle, byte lightId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
lightId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsNeonActiveAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsNeonActiveAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsNightlightOnAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsNightlightOnAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsPlayerInAsync(ICheckpoint, IPlayer)
Declaration
[Obsolete("Use Checkpoint.IsEntityIn on async entity instead")]
public static Task<bool> IsPlayerInAsync(this ICheckpoint checkpoint, IPlayer player)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsPrimaryColorRgbAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsPrimaryColorRgbAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsReloadingAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsReloadingAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsRoofClosedAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsRoofClosedAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsSecondaryColorRgbAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsSecondaryColorRgbAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsShootingAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsShootingAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsSirenActiveAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsSirenActiveAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsSpecialLightDamagedAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsSpecialLightDamagedAsync(this IVehicle vehicle, byte specialLightId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
specialLightId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsStealthyAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsStealthyAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsSuperJumpEnabledAsync(IPlayer)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsSuperJumpEnabledAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsTireSmokeColorCustomAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsTireSmokeColorCustomAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsVehicleInAsync(ICheckpoint, IVehicle)
Declaration
[Obsolete("Use Checkpoint.IsEntityIn on async entity instead")]
public static Task<bool> IsVehicleInAsync(this ICheckpoint checkpoint, IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsWheelBurstAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsWheelBurstAsync(this IVehicle vehicle, byte wheelId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsWheelDetachedAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsWheelDetachedAsync(this IVehicle vehicle, byte wheelId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsWheelOnFireAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsWheelOnFireAsync(this IVehicle vehicle, byte wheelId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsWindowDamagedAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsWindowDamagedAsync(this IVehicle vehicle, byte windowId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
IsWindowOpenedAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> IsWindowOpenedAsync(this IVehicle vehicle, byte windowId)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
KickAsync(IPlayer, String)
Declaration
[Obsolete("Use async entities instead")]
public static async Task KickAsync(this IPlayer player, string reason)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
reason |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Log(String)
Declaration
public static async void Log(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
OffClient(String, Function)
Declaration
public static void OffClient(string eventName, Function function)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Function |
function |
|
|
Improve this Doc
View Source
OffServer(String, Function)
Declaration
public static void OffServer(string eventName, Function function)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Function |
function |
|
|
Improve this Doc
View Source
OnClient(String, Action)
Declaration
public static Function OnClient(string eventName, Action action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action |
action |
|
Returns
Type |
Description |
Function |
|
|
Improve this Doc
View Source
OnClient<T1>(String, Action<T1>)
Declaration
public static Function OnClient<T1>(string eventName, Action<T1> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnClient<T1>(String, Func<T1>)
Declaration
public static Function OnClient<T1>(string eventName, Func<T1> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
action |
|
Returns
Type |
Description |
Function |
|
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
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
action |
|
Returns
Type |
Description |
Function |
|
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
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> |
action |
|
Returns
Type |
Description |
Function |
|
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
OnClient<T1, T2>(String, Action<T1, T2>)
Declaration
public static Function OnClient<T1, T2>(string eventName, Action<T1, T2> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnClient<T1, T2>(String, Func<T1, T2>)
Declaration
public static Function OnClient<T1, T2>(string eventName, Func<T1, T2> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnClient<T1, T2, T3>(String, Action<T1, T2, T3>)
Declaration
public static Function OnClient<T1, T2, T3>(string eventName, Action<T1, T2, T3> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3>(String, Func<T1, T2, T3>)
Declaration
public static Function OnClient<T1, T2, T3>(string eventName, Func<T1, T2, T3> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4>(String, Action<T1, T2, T3, T4>)
Declaration
public static Function OnClient<T1, T2, T3, T4>(string eventName, Action<T1, T2, T3, T4> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4>(String, Func<T1, T2, T3, T4>)
Declaration
public static Function OnClient<T1, T2, T3, T4>(string eventName, Func<T1, T2, T3, T4> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5>(String, Action<T1, T2, T3, T4, T5>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5>(string eventName, Action<T1, T2, T3, T4, T5> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5>(String, Func<T1, T2, T3, T4, T5>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5>(string eventName, Func<T1, T2, T3, T4, T5> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6>(String, Action<T1, T2, T3, T4, T5, T6>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6>(string eventName, Action<T1, T2, T3, T4, T5, T6> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6>(String, Func<T1, T2, T3, T4, T5, T6>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6>(string eventName, Func<T1, T2, T3, T4, T5, T6> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7>(String, Action<T1, T2, T3, T4, T5, T6, T7>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7>(String, Func<T1, T2, T3, T4, T5, T6, T7>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
|
Improve this Doc
View Source
OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
Declaration
public static Function OnClient<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
|
Improve this Doc
View Source
OnServer(String, Action)
Declaration
public static Function OnServer(string eventName, Action action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action |
action |
|
Returns
Type |
Description |
Function |
|
|
Improve this Doc
View Source
OnServer<T1>(String, Action<T1>)
Declaration
public static Function OnServer<T1>(string eventName, Action<T1> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnServer<T1>(String, Func<T1>)
Declaration
public static Function OnServer<T1>(string eventName, Func<T1> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
T10 |
|
T11 |
|
T12 |
|
T13 |
|
T14 |
|
T15 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
action |
|
Returns
Type |
Description |
Function |
|
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
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> |
action |
|
Returns
Type |
Description |
Function |
|
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
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> |
action |
|
Returns
Type |
Description |
Function |
|
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
OnServer<T1, T2>(String, Action<T1, T2>)
Declaration
public static Function OnServer<T1, T2>(string eventName, Action<T1, T2> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnServer<T1, T2>(String, Func<T1, T2>)
Declaration
public static Function OnServer<T1, T2>(string eventName, Func<T1, T2> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
|
Improve this Doc
View Source
OnServer<T1, T2, T3>(String, Action<T1, T2, T3>)
Declaration
public static Function OnServer<T1, T2, T3>(string eventName, Action<T1, T2, T3> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3>(String, Func<T1, T2, T3>)
Declaration
public static Function OnServer<T1, T2, T3>(string eventName, Func<T1, T2, T3> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4>(String, Action<T1, T2, T3, T4>)
Declaration
public static Function OnServer<T1, T2, T3, T4>(string eventName, Action<T1, T2, T3, T4> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4>(String, Func<T1, T2, T3, T4>)
Declaration
public static Function OnServer<T1, T2, T3, T4>(string eventName, Func<T1, T2, T3, T4> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5>(String, Action<T1, T2, T3, T4, T5>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5>(string eventName, Action<T1, T2, T3, T4, T5> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5>(String, Func<T1, T2, T3, T4, T5>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5>(string eventName, Func<T1, T2, T3, T4, T5> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6>(String, Action<T1, T2, T3, T4, T5, T6>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6>(string eventName, Action<T1, T2, T3, T4, T5, T6> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6>(String, Func<T1, T2, T3, T4, T5, T6>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6>(string eventName, Func<T1, T2, T3, T4, T5, T6> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7>(String, Action<T1, T2, T3, T4, T5, T6, T7>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7>(String, Func<T1, T2, T3, T4, T5, T6, T7>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string eventName, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
|
Improve this Doc
View Source
OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
Declaration
public static Function OnServer<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string eventName, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9> action)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9> |
action |
|
Returns
Type |
Description |
Function |
|
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|
T6 |
|
T7 |
|
T8 |
|
T9 |
|
|
Improve this Doc
View Source
PlayAmbientSpeechAsync(IPlayer, String, String, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task PlayAmbientSpeechAsync(this IPlayer player, string speechName, string speechParam, uint speechDictHash)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
speechName |
|
System.String |
speechParam |
|
System.UInt32 |
speechDictHash |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
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
RemoveAllWeaponsAsync(IPlayer, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task RemoveAllWeaponsAsync(this IPlayer player, bool removeAllAmmo)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Boolean |
removeAllAmmo |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
RemoveAsync(IBlip)
Declaration
[Obsolete("Use async entities instead")]
public static Task RemoveAsync(this IBlip blip)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
RemoveWeaponAsync(IPlayer, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task RemoveWeaponAsync(this IPlayer player, uint weapon)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
RemoveWeaponComponentAsync(IPlayer, UInt32, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task RemoveWeaponComponentAsync(this IPlayer player, uint weapon, uint weaponComponent)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
System.UInt32 |
weaponComponent |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
RepairAsync(IVehicle)
Declaration
[Obsolete("Use async entities instead")]
public static Task RepairAsync(this IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
RunOnMainThread(Action)
Declaration
public static void RunOnMainThread(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
|
Improve this Doc
View Source
RunOnMainThread(Action<Object>, Object)
Declaration
public static void RunOnMainThread(Action<object> action, object value)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
action |
|
System.Object |
value |
|
|
Improve this Doc
View Source
RunOnMainThreadBlocking(Action, SemaphoreSlim)
Declaration
public static void RunOnMainThreadBlocking(Action action, SemaphoreSlim semaphoreSlim)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
System.Threading.SemaphoreSlim |
semaphoreSlim |
|
|
Improve this Doc
View Source
RunOnMainThreadBlockingThrows(Action, SemaphoreSlim)
Declaration
public static void RunOnMainThreadBlockingThrows(Action action, SemaphoreSlim semaphoreSlim)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
System.Threading.SemaphoreSlim |
semaphoreSlim |
|
|
Improve this Doc
View Source
SetAppearanceDataAsync(IVehicle, String)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetAppearanceDataAsync(this IVehicle vehicle, string text)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.String |
text |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetArmorAsync(IPlayer, UInt16)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetArmorAsync(this IPlayer player, ushort armor)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt16 |
armor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetArmoredWindowHealthAsync(IVehicle, Byte, Single)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetArmoredWindowHealthAsync(this IVehicle vehicle, byte windowId, float health)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
System.Single |
health |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetArmoredWindowShootCountAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetArmoredWindowShootCountAsync(this IVehicle vehicle, byte windowId, byte count)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
System.Byte |
count |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetBodyAdditionalHealthAsync(IVehicle, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetBodyAdditionalHealthAsync(this IVehicle vehicle, uint bodyAdditionalHealth)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.UInt32 |
bodyAdditionalHealth |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetBodyHealthAsync(IVehicle, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetBodyHealthAsync(this IVehicle vehicle, uint bodyHealth)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.UInt32 |
bodyHealth |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetBumperDamageLevelAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetBumperDamageLevelAsync(this IVehicle vehicle, byte bumperId, byte damageLevel)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
bumperId |
|
System.Byte |
damageLevel |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetBumperDamageLevelExtAsync(IVehicle, VehicleBumper, VehicleBumperDamage)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetBumperDamageLevelExtAsync(this IVehicle vehicle, VehicleBumper bumper, VehicleBumperDamage bumperDamage)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehicleBumper |
bumper |
|
VehicleBumperDamage |
bumperDamage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetClothesAsync(IPlayer, Byte, UInt16, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> SetClothesAsync(this IPlayer player, byte component, ushort drawable, byte texture, byte palette)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
System.UInt16 |
drawable |
|
System.Byte |
texture |
|
System.Byte |
palette |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
SetColorAsync(IBlip, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetColorAsync(this IBlip blip, byte color)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
System.Byte |
color |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetCurrentWeaponAsync(IPlayer, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetCurrentWeaponAsync(this IPlayer player, uint weapon)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetCustomTiresAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetCustomTiresAsync(this IVehicle vehicle, bool customTires)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
customTires |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDamageDataAsync(IVehicle, String)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDamageDataAsync(this IVehicle vehicle, string damageData)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.String |
damageData |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDashboardColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDashboardColorAsync(this IVehicle vehicle, byte dashboardColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
dashboardColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDateTimeAsync(IPlayer, DateTime)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDateTimeAsync(this IPlayer player, DateTime dateTime)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.DateTime |
dateTime |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDateTimeAsync(IPlayer, Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDateTimeAsync(this IPlayer player, int day, int month, int year, int hour, int minute, int second)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Int32 |
day |
|
System.Int32 |
month |
|
System.Int32 |
year |
|
System.Int32 |
hour |
|
System.Int32 |
minute |
|
System.Int32 |
second |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDimensionAsync(IWorldObject, Int32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDimensionAsync(this IWorldObject worldObject, int dimension)
Parameters
Type |
Name |
Description |
IWorldObject |
worldObject |
|
System.Int32 |
dimension |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDirtLevelAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDirtLevelAsync(this IVehicle vehicle, byte dirtLevel)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
dirtLevel |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDlcClothesAsync(IPlayer, Byte, UInt16, Byte, Byte, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> SetDlcClothesAsync(this IPlayer player, byte component, ushort drawable, byte texture, byte palette, uint dlc)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
System.UInt16 |
drawable |
|
System.Byte |
texture |
|
System.Byte |
palette |
|
System.UInt32 |
dlc |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
SetDlcPropsAsync(IPlayer, Byte, UInt16, Byte, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> SetDlcPropsAsync(this IPlayer player, byte component, ushort drawable, byte texture, uint dlc)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
System.UInt16 |
drawable |
|
System.Byte |
texture |
|
System.UInt32 |
dlc |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
SetDoorStateAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDoorStateAsync(this IVehicle vehicle, byte doorId, byte state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
doorId |
|
System.Byte |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetDoorStateAsync(IVehicle, VehicleDoor, VehicleDoorState)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetDoorStateAsync(this IVehicle vehicle, VehicleDoor door, VehicleDoorState state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehicleDoor |
door |
|
VehicleDoorState |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetEngineHealthAsync(IVehicle, Int32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetEngineHealthAsync(this IVehicle vehicle, int engineHealth)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Int32 |
engineHealth |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetEngineOnAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetEngineOnAsync(this IVehicle vehicle, bool engineOn)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
engineOn |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetHeadlightColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetHeadlightColorAsync(this IVehicle vehicle, byte headlightColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
headlightColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetHealthAsync(IPlayer, UInt16)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetHealthAsync(this IPlayer player, ushort health)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt16 |
health |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetHealthDataAsync(IVehicle, String)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetHealthDataAsync(this IVehicle vehicle, string healthData)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.String |
healthData |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetInteriorColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetInteriorColorAsync(this IVehicle vehicle, byte interiorColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
interiorColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetIntoVehicleAsync(IPlayer, IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetIntoVehicleAsync(this IPlayer player, IVehicle vehicle, byte seat)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetInvincibleAsync(IPlayer, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetInvincibleAsync(this IPlayer player, bool isInvincible)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Boolean |
isInvincible |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetLightDamagedAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetLightDamagedAsync(this IVehicle vehicle, byte lightId, bool isDamaged)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
lightId |
|
System.Boolean |
isDamaged |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetLightsMultiplierAsync(IVehicle, Single)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetLightsMultiplierAsync(this IVehicle vehicle, float multiplier)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Single |
multiplier |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetLiveryAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetLiveryAsync(this IVehicle vehicle, byte livery)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
livery |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetLockStateAsync(IVehicle, VehicleLockState)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetLockStateAsync(this IVehicle vehicle, VehicleLockState lockState)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehicleLockState |
lockState |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetManualEngineControlAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetManualEngineControlAsync(this IVehicle vehicle, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetMaxArmorAsync(IPlayer, UInt16)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetMaxArmorAsync(this IPlayer player, ushort maxarmor)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt16 |
maxarmor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetMaxHealthAsync(IPlayer, UInt16)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetMaxHealthAsync(this IPlayer player, ushort maxhealth)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt16 |
maxhealth |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static async Task SetMetaDataAsync(this IBaseObject baseObject, string key, object value)
Parameters
Type |
Name |
Description |
IBaseObject |
baseObject |
|
System.String |
key |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetModAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> SetModAsync(this IVehicle vehicle, byte category, byte id)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
category |
|
System.Byte |
id |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
SetModelAsync(IPlayer, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetModelAsync(this IPlayer player, uint model)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
model |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetModKitAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetModKitAsync(this IVehicle vehicle, byte modKit)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
modKit |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetNeonActiveAsync(IVehicle, Boolean, Boolean, Boolean, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetNeonActiveAsync(this IVehicle vehicle, bool left, bool right, bool front, bool back)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
left |
|
System.Boolean |
right |
|
System.Boolean |
front |
|
System.Boolean |
back |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetNeonColorAsync(IVehicle, Rgba)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetNeonColorAsync(this IVehicle vehicle, Rgba neonColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
Rgba |
neonColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetNumberplateIndexAsync(IVehicle, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetNumberplateIndexAsync(this IVehicle vehicle, uint numberPlateIndex)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.UInt32 |
numberPlateIndex |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetNumberplateTextAsync(IVehicle, String)
Declaration
[Obsolete("Use async entities instead")]
public static async Task SetNumberplateTextAsync(this IVehicle vehicle, string numberPlateText)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.String |
numberPlateText |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPartBulletHolesAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPartBulletHolesAsync(this IVehicle vehicle, byte partId, byte shootsCount)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
partId |
|
System.Byte |
shootsCount |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPartBulletHolesExtAsync(IVehicle, VehiclePart, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPartBulletHolesExtAsync(this IVehicle vehicle, VehiclePart part, byte shootsCount)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehiclePart |
part |
|
System.Byte |
shootsCount |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPartDamageLevelAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPartDamageLevelAsync(this IVehicle vehicle, byte partId, byte damage)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
partId |
|
System.Byte |
damage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPartDamageLevelExtAsync(IVehicle, VehiclePart, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPartDamageLevelExtAsync(this IVehicle vehicle, VehiclePart part, byte damage)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
VehiclePart |
part |
|
System.Byte |
damage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPearlColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPearlColorAsync(this IVehicle vehicle, byte pearlColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
pearlColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPetrolTankHealthAsync(IVehicle, Int32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPetrolTankHealthAsync(this IVehicle vehicle, int petrolTankHealth)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Int32 |
petrolTankHealth |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPositionAsync(IWorldObject, Position)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPositionAsync(this IWorldObject worldObject, Position position)
Parameters
Type |
Name |
Description |
IWorldObject |
worldObject |
|
Position |
position |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPositionAsync(IWorldObject, Single, Single, Single)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPositionAsync(this IWorldObject worldObject, float x, float y, float z)
Parameters
Type |
Name |
Description |
IWorldObject |
worldObject |
|
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPositionAsync(IWorldObject, (Single X, Single Y, Single Z))
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPositionAsync(this IWorldObject worldObject, (float X, float Y, float Z) position)
Parameters
Type |
Name |
Description |
IWorldObject |
worldObject |
|
System.ValueTuple<System.Single, System.Single, System.Single> |
position |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPositionLocked(IPlayer, Position)
Declaration
public static bool SetPositionLocked(this IPlayer player, Position position)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Position |
position |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetPrimaryColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPrimaryColorAsync(this IVehicle vehicle, byte primaryColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
primaryColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPrimaryColorRgbAsync(IVehicle, Rgba)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetPrimaryColorRgbAsync(this IVehicle vehicle, Rgba primaryColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
Rgba |
primaryColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetPropsAsync(IPlayer, Byte, UInt16, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task<bool> SetPropsAsync(this IPlayer player, byte component, ushort drawable, byte texture)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Byte |
component |
|
System.UInt16 |
drawable |
|
System.Byte |
texture |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
|
Improve this Doc
View Source
SetRadioStationAsync(IVehicle, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRadioStationAsync(this IVehicle vehicle, uint radioStation)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.UInt32 |
radioStation |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetRearWheelAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRearWheelAsync(this IVehicle vehicle, byte variation)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
variation |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetRoofClosedAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRoofClosedAsync(this IVehicle vehicle, bool roofState)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
roofState |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetRoofLiveryAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRoofLiveryAsync(this IVehicle vehicle, byte roofLivery)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
roofLivery |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetRotationAsync(IEntity, Rotation)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRotationAsync(this IEntity entity, Rotation rotation)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Rotation |
rotation |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetRouteAsync(IBlip, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRouteAsync(this IBlip blip, bool route)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
System.Boolean |
route |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetRouteColorAsync(IBlip, Rgba)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetRouteColorAsync(this IBlip blip, Rgba color)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Rgba |
color |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetScriptDataAsync(IVehicle, String)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetScriptDataAsync(this IVehicle vehicle, string text)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.String |
text |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetSecondaryColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetSecondaryColorAsync(this IVehicle vehicle, byte secondaryColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
secondaryColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetSecondaryColorRgbAsync(IVehicle, Rgba)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetSecondaryColorRgbAsync(this IVehicle vehicle, Rgba secondaryColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
Rgba |
secondaryColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetSirenActiveAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetSirenActiveAsync(this IVehicle vehicle, bool sirenActive)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
sirenActive |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetSpecialDarknessAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetSpecialDarknessAsync(this IVehicle vehicle, byte specialDarkness)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
specialDarkness |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetSpecialLightDamagedAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetSpecialLightDamagedAsync(this IVehicle vehicle, byte specialLightId, bool isDamaged)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
specialLightId |
|
System.Boolean |
isDamaged |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetSpriteAsync(IBlip, UInt16)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetSpriteAsync(this IBlip blip, ushort sprite)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
System.UInt16 |
sprite |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetStateAsync(IVehicle, String)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetStateAsync(this IVehicle vehicle, string state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.String |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetStreamedAsync(IPlayer, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetStreamedAsync(this IPlayer player, bool isStreamed)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Boolean |
isStreamed |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetStreamedAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetStreamedAsync(this IVehicle vehicle, bool isStreamed)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
isStreamed |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static async Task SetStreamSyncedMetaDataAsync(this IEntity entity, string key, object value)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static async Task SetSyncedMetaDataAsync(this IEntity entity, string key, object value)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetTireSmokeColorAsync(IVehicle, Rgba)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetTireSmokeColorAsync(this IVehicle vehicle, Rgba tireSmokeColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
Rgba |
tireSmokeColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetVisibleAsync(IPlayer, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetVisibleAsync(this IPlayer player, bool visibility)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Boolean |
visibility |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetVisibleAsync(IVehicle, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetVisibleAsync(this IVehicle vehicle, bool visibility)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Boolean |
visibility |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWeaponTintIndexAsync(IPlayer, UInt32, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWeaponTintIndexAsync(this IPlayer player, uint weapon, byte tintIndex)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weapon |
|
System.Byte |
tintIndex |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWeaponTintIndexAsync(IPlayer, WeaponModel, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWeaponTintIndexAsync(this IPlayer player, WeaponModel weaponModel, byte tintIndex)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
WeaponModel |
weaponModel |
|
System.Byte |
tintIndex |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWeatherAsync(IPlayer, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWeatherAsync(this IPlayer player, uint weather)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
weather |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelBurstAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelBurstAsync(this IVehicle vehicle, byte wheelId, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelColorAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelColorAsync(this IVehicle vehicle, byte wheelColor)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelColor |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelDetachedAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelDetachedAsync(this IVehicle vehicle, byte wheelId, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelHasTireAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelHasTireAsync(this IVehicle vehicle, byte wheelId, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelHealthAsync(IVehicle, Byte, Single)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelHealthAsync(this IVehicle vehicle, byte wheelId, float health)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
System.Single |
health |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelOnFireAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelOnFireAsync(this IVehicle vehicle, byte wheelId, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
wheelId |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWheelsAsync(IVehicle, Byte, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWheelsAsync(this IVehicle vehicle, byte type, byte variation)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
type |
|
System.Byte |
variation |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWindowDamagedAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWindowDamagedAsync(this IVehicle vehicle, byte windowId, bool isDamaged)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
System.Boolean |
isDamaged |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWindowOpenedAsync(IVehicle, Byte, Boolean)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWindowOpenedAsync(this IVehicle vehicle, byte windowId, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowId |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SetWindowTintAsync(IVehicle, Byte)
Declaration
[Obsolete("Use async entities instead")]
public static Task SetWindowTintAsync(this IVehicle vehicle, byte windowTint)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
windowTint |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SpawnAsync(IPlayer, Position, UInt32)
Declaration
[Obsolete("Use async entities instead")]
public static Task SpawnAsync(this IPlayer player, Position position, uint delayMs = 0U)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Position |
position |
|
System.UInt32 |
delayMs |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
ToAsync(IBlip)
Declaration
[Obsolete("Use new async API instead")]
public static IBlip ToAsync(this IBlip blip)
Parameters
Type |
Name |
Description |
IBlip |
blip |
|
Returns
|
Improve this Doc
View Source
ToAsync(IBlip, IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public static IBlip ToAsync(this IBlip blip, IAsyncContext asyncContext)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(ICheckpoint)
Declaration
[Obsolete("Use new async API instead")]
public static ICheckpoint ToAsync(this ICheckpoint checkpoint)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(ICheckpoint, IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public static ICheckpoint ToAsync(this ICheckpoint checkpoint, IAsyncContext asyncContext)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IColShape)
Declaration
[Obsolete("Use new async API instead")]
public static IColShape ToAsync(this IColShape colShape)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IColShape, IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public static IColShape ToAsync(this IColShape colShape, IAsyncContext asyncContext)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IPlayer)
Declaration
[Obsolete("Use new async API instead")]
public static IPlayer ToAsync(this IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
|
Improve this Doc
View Source
ToAsync(IPlayer, IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public static IPlayer ToAsync(this IPlayer player, IAsyncContext asyncContext)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IVehicle)
Declaration
[Obsolete("Use new async API instead")]
public static IVehicle ToAsync(this IVehicle vehicle)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IVehicle, IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public static IVehicle ToAsync(this IVehicle vehicle, IAsyncContext asyncContext)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IVoiceChannel)
Declaration
[Obsolete("Use new async API instead")]
public static IVoiceChannel ToAsync(this IVoiceChannel voiceChannel)
Parameters
Returns
|
Improve this Doc
View Source
ToAsync(IVoiceChannel, IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public static IVoiceChannel ToAsync(this IVoiceChannel voiceChannel, IAsyncContext asyncContext)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
[Obsolete("Use async entities instead")]
public static Task ToggleExtraAsync(this IVehicle vehicle, byte extraId, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
System.Byte |
extraId |
|
System.Boolean |
state |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
TryToAsync(IBlip, IAsyncContext, out IBlip)
Declaration
[Obsolete("Use new async API instead")]
public static bool TryToAsync(this IBlip thisValue, IAsyncContext asyncContext, out IBlip blip)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryToAsync(ICheckpoint, IAsyncContext, out ICheckpoint)
Declaration
[Obsolete("Use new async API instead")]
public static bool TryToAsync(this ICheckpoint thisValue, IAsyncContext asyncContext, out ICheckpoint checkpoint)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryToAsync(IColShape, IAsyncContext, out IColShape)
Declaration
[Obsolete("Use new async API instead")]
public static bool TryToAsync(this IColShape thisValue, IAsyncContext asyncContext, out IColShape colShape)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryToAsync(IPlayer, IAsyncContext, out IPlayer)
Declaration
[Obsolete("Use new async API instead")]
public static bool TryToAsync(this IPlayer thisValue, IAsyncContext asyncContext, out IPlayer player)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryToAsync(IVehicle, IAsyncContext, out IVehicle)
Declaration
[Obsolete("Use new async API instead")]
public static bool TryToAsync(this IVehicle thisValue, IAsyncContext asyncContext, out IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryToAsync(IVoiceChannel, IAsyncContext, out IVoiceChannel)
Declaration
[Obsolete("Use new async API instead")]
public static bool TryToAsync(this IVoiceChannel thisValue, IAsyncContext asyncContext, out IVoiceChannel voiceChannel)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Events
|
Improve this Doc
View Source
OnBaseObjectCreate
Declaration
public static event BaseObjectCreateAsyncDelegate OnBaseObjectCreate
Event Type
|
Improve this Doc
View Source
OnBaseObjectRemove
Declaration
public static event BaseObjectRemoveAsyncDelegate OnBaseObjectRemove
Event Type
|
Improve this Doc
View Source
OnCheckpoint
Declaration
public static event CheckpointAsyncDelegate OnCheckpoint
Event Type
|
Improve this Doc
View Source
OnClientDeleteObject
Declaration
public static event ClientDeleteObjectAsyncEventDelegate OnClientDeleteObject
Event Type
|
Improve this Doc
View Source
OnClientRequestObject
Declaration
public static event ClientRequestObjectAsyncEventDelegate OnClientRequestObject
Event Type
|
Improve this Doc
View Source
OnColShape
Declaration
public static event ColShapeAsyncDelegate OnColShape
Event Type
|
Improve this Doc
View Source
OnConnectionQueueAdd
Declaration
public static event ConnectionQueueAddAsyncDelegate OnConnectionQueueAdd
Event Type
|
Improve this Doc
View Source
OnConnectionQueueRemove
Declaration
public static event ConnectionQueueRemoveAsyncDelegate OnConnectionQueueRemove
Event Type
|
Improve this Doc
View Source
OnConsoleCommand
Declaration
public static event ConsoleCommandAsyncDelegate OnConsoleCommand
Event Type
|
Improve this Doc
View Source
OnExplosion
Declaration
public static event ExplosionAsyncDelegate OnExplosion
Event Type
|
Improve this Doc
View Source
OnFire
Declaration
public static event FireAsyncDelegate OnFire
Event Type
|
Improve this Doc
View Source
OnGivePedScriptedTask
Declaration
public static event GivePedScriptedTaskAsyncDelegate OnGivePedScriptedTask
Event Type
|
Improve this Doc
View Source
Declaration
public static event MetaDataChangeAsyncDelegate OnMetaDataChange
Event Type
|
Improve this Doc
View Source
OnNetworkOwnerChange
Declaration
public static event NetOwnerChangeAsyncDelegate OnNetworkOwnerChange
Event Type
|
Improve this Doc
View Source
OnPedDamage
Declaration
public static event PedDamageAsyncDelegate OnPedDamage
Event Type
|
Improve this Doc
View Source
OnPedDead
Declaration
public static event PedDeadAsyncDelegate OnPedDead
Event Type
|
Improve this Doc
View Source
OnPedHeal
Declaration
public static event PedHealAsyncDelegate OnPedHeal
Event Type
|
Improve this Doc
View Source
OnPedRemove
Declaration
public static event PedRemoveAsyncDelegate OnPedRemove
Event Type
|
Improve this Doc
View Source
OnPlayerChangeAnimation
Declaration
public static event PlayerChangeAnimationAsyncDelegate OnPlayerChangeAnimation
Event Type
|
Improve this Doc
View Source
OnPlayerChangeInterior
Declaration
public static event PlayerChangeInteriorAsyncDelegate OnPlayerChangeInterior
Event Type
|
Improve this Doc
View Source
OnPlayerChangeVehicleSeat
Declaration
public static event PlayerChangeVehicleSeatAsyncDelegate OnPlayerChangeVehicleSeat
Event Type
|
Improve this Doc
View Source
OnPlayerConnect
Declaration
public static event PlayerConnectAsyncDelegate OnPlayerConnect
Event Type
|
Improve this Doc
View Source
OnPlayerConnectDenied
Declaration
public static event PlayerConnectDeniedAsyncDelegate OnPlayerConnectDenied
Event Type
|
Improve this Doc
View Source
OnPlayerDamage
Declaration
public static event PlayerDamageAsyncDelegate OnPlayerDamage
Event Type
|
Improve this Doc
View Source
OnPlayerDead
Declaration
public static event PlayerDeadAsyncDelegate OnPlayerDead
Event Type
|
Improve this Doc
View Source
OnPlayerDimensionChange
Declaration
public static event PlayerDimensionChangeAsyncDelegate OnPlayerDimensionChange
Event Type
|
Improve this Doc
View Source
OnPlayerDisconnect
Declaration
public static event PlayerDisconnectAsyncDelegate OnPlayerDisconnect
Event Type
|
Improve this Doc
View Source
OnPlayerEnteringVehicle
Declaration
public static event PlayerEnteringVehicleAsyncDelegate OnPlayerEnteringVehicle
Event Type
|
Improve this Doc
View Source
OnPlayerEnterVehicle
Declaration
public static event PlayerEnterVehicleAsyncDelegate OnPlayerEnterVehicle
Event Type
|
Improve this Doc
View Source
OnPlayerEvent
Declaration
public static event PlayerClientEventAsyncDelegate OnPlayerEvent
Event Type
|
Improve this Doc
View Source
OnPlayerHeal
Declaration
public static event PlayerHealAsyncDelegate OnPlayerHeal
Event Type
|
Improve this Doc
View Source
OnPlayerLeaveVehicle
Declaration
public static event PlayerLeaveVehicleAsyncDelegate OnPlayerLeaveVehicle
Event Type
|
Improve this Doc
View Source
OnPlayerRemove
Declaration
public static event PlayerRemoveAsyncDelegate OnPlayerRemove
Event Type
|
Improve this Doc
View Source
OnPlayerRequestControl
Declaration
public static event PlayerRequestControlAsyncDelegate OnPlayerRequestControl
Event Type
|
Improve this Doc
View Source
OnPlayerSpawn
Declaration
public static event PlayerSpawnAsyncDelegate OnPlayerSpawn
Event Type
|
Improve this Doc
View Source
OnPlayerStartTalking
Declaration
public static event PlayerStartTalkingAsyncDelegate OnPlayerStartTalking
Event Type
|
Improve this Doc
View Source
OnPlayerStopTalking
Declaration
public static event PlayerStopTalkingAsyncDelegate OnPlayerStopTalking
Event Type
|
Improve this Doc
View Source
OnPlayerWeaponChange
Declaration
public static event PlayerWeaponChangeAsyncDelegate OnPlayerWeaponChange
Event Type
|
Improve this Doc
View Source
OnRequestSyncedScene
Declaration
public static event RequestSyncedSceneAsyncEventDelegate OnRequestSyncedScene
Event Type
|
Improve this Doc
View Source
OnResourceError
Declaration
public static event ResourceEventAsyncDelegate OnResourceError
Event Type
|
Improve this Doc
View Source
OnResourceStart
Declaration
public static event ResourceEventAsyncDelegate OnResourceStart
Event Type
|
Improve this Doc
View Source
OnResourceStop
Declaration
public static event ResourceEventAsyncDelegate OnResourceStop
Event Type
|
Improve this Doc
View Source
OnScriptRpc
Declaration
public static event ScriptRpcAsyncDelegate OnScriptRpc
Event Type
|
Improve this Doc
View Source
OnScriptRpcAnswer
Declaration
public static event ScriptRpcAnswerAsyncDelegate OnScriptRpcAnswer
Event Type
|
Improve this Doc
View Source
OnServerStarted
Declaration
public static event ServerStartedAsyncDelegate OnServerStarted
Event Type
|
Improve this Doc
View Source
OnStartProjectile
Declaration
public static event StartProjectileAsyncDelegate OnStartProjectile
Event Type
|
Improve this Doc
View Source
OnStartSyncedScene
Declaration
public static event StartSyncedSceneAsyncEventDelegate OnStartSyncedScene
Event Type
|
Improve this Doc
View Source
OnStopSyncedScene
Declaration
public static event StopSyncedSceneAsyncEventDelegate OnStopSyncedScene
Event Type
|
Improve this Doc
View Source
Declaration
public static event MetaDataChangeAsyncDelegate OnSyncedMetaDataChange
Event Type
|
Improve this Doc
View Source
OnUpdateSyncedScene
Declaration
public static event UpdateSyncedSceneAsyncEventDelegate OnUpdateSyncedScene
Event Type
|
Improve this Doc
View Source
OnVehicleAttach
Declaration
public static event VehicleAttachAsyncDelegate OnVehicleAttach
Event Type
|
Improve this Doc
View Source
OnVehicleDamage
Declaration
public static event VehicleDamageAsyncDelegate OnVehicleDamage
Event Type
|
Improve this Doc
View Source
OnVehicleDestroy
Declaration
public static event VehicleDestroyAsyncDelegate OnVehicleDestroy
Event Type
|
Improve this Doc
View Source
OnVehicleDetach
Declaration
public static event VehicleDetachAsyncDelegate OnVehicleDetach
Event Type
|
Improve this Doc
View Source
OnVehicleHorn
Declaration
public static event VehicleHornAsyncDelegate OnVehicleHorn
Event Type
|
Improve this Doc
View Source
OnVehicleRemove
Declaration
public static event VehicleRemoveAsyncDelegate OnVehicleRemove
Event Type
|
Improve this Doc
View Source
OnVehicleSiren
Declaration
public static event VehicleSirenAsyncDelegate OnVehicleSiren
Event Type
|
Improve this Doc
View Source
OnWeaponDamage
Declaration
public static event WeaponDamageAsyncDelegate OnWeaponDamage
Event Type