Class Core
Inheritance
System.Object
Core
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.dll
Syntax
public class Core : SharedCore, IDisposable, ICore, ISharedCore, ICApiCore, IInternalCore
Constructors
|
Improve this Doc
View Source
Core(IntPtr, IntPtr, AssemblyLoadContext, ILibrary, IPoolManager, INativeResourcePool)
Declaration
public Core(IntPtr nativePointer, IntPtr resourcePointer, AssemblyLoadContext assemblyLoadContext, ILibrary library, IPoolManager poolManager, INativeResourcePool nativeResourcePool)
Parameters
Type |
Name |
Description |
System.IntPtr |
nativePointer |
|
System.IntPtr |
resourcePointer |
|
System.Runtime.Loader.AssemblyLoadContext |
assemblyLoadContext |
|
ILibrary |
library |
|
IPoolManager |
poolManager |
|
INativeResourcePool |
nativeResourcePool |
|
Properties
|
Improve this Doc
View Source
Assemblies
Declaration
public IEnumerable<Assembly> Assemblies { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> |
|
|
Improve this Doc
View Source
ColShapeTickRate
Declaration
public uint ColShapeTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
LoadedVehicleModels
Declaration
public uint[] LoadedVehicleModels { get; }
Property Value
Type |
Description |
System.UInt32[] |
|
|
Improve this Doc
View Source
MaxStreamingObjects
Declaration
public ushort MaxStreamingObjects { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxStreamingPeds
Declaration
public ushort MaxStreamingPeds { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxStreamingVehicles
Declaration
public ushort MaxStreamingVehicles { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MigrationDistance
Declaration
public uint MigrationDistance { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
MigrationThreadCount
Declaration
public byte MigrationThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
MigrationTickRate
Declaration
public uint MigrationTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
NativeResourcePool
Declaration
public INativeResourcePool NativeResourcePool { get; }
Property Value
|
Improve this Doc
View Source
PoolManager
Declaration
public override IPoolManager PoolManager { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Resource
Declaration
public override INativeResource Resource { get; }
Property Value
Overrides
|
Improve this Doc
View Source
RootDirectory
Declaration
public string RootDirectory { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
StreamerThreadCount
Declaration
public byte StreamerThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
StreamingDistance
Declaration
public uint StreamingDistance { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
StreamingTickRate
Declaration
public uint StreamingTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
SyncReceiveThreadCount
Declaration
public byte SyncReceiveThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
SyncSendThreadCount
Declaration
public byte SyncSendThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
VehiclePassengers
Declaration
public Dictionary<IntPtr, List<InternalPlayerSeat>> VehiclePassengers { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.IntPtr, System.Collections.Generic.List<InternalPlayerSeat>> |
|
Methods
|
Improve this Doc
View Source
AddClientConfigKey(String)
Declaration
public void AddClientConfigKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
CheckIfCallIsValid(String)
Declaration
public override void CheckIfCallIsValid(string callerName = "")
Parameters
Type |
Name |
Description |
System.String |
callerName |
|
Overrides
|
Improve this Doc
View Source
CheckIfThreadIsValid(String)
Declaration
[Conditional("DEBUG")]
public void CheckIfThreadIsValid(string callerName = "")
Parameters
Type |
Name |
Description |
System.String |
callerName |
|
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, IEntity, IPlayer[])
Declaration
public 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
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, Position, IPlayer[])
Declaration
public 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
|
Improve this Doc
View Source
CreateCheckpoint(Byte, Position, Single, Single, Rgba, UInt32)
Declaration
public 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
|
Improve this Doc
View Source
CreateColShapeCircle(Position, Single)
Declaration
public IColShape CreateColShapeCircle(Position pos, float radius)
Parameters
Type |
Name |
Description |
Position |
pos |
|
System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCube(Position, Position)
Declaration
public IColShape CreateColShapeCube(Position pos, Position pos2)
Parameters
Type |
Name |
Description |
Position |
pos |
|
Position |
pos2 |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCylinder(Position, Single, Single)
Declaration
public IColShape CreateColShapeCylinder(Position pos, float radius, float height)
Parameters
Type |
Name |
Description |
Position |
pos |
|
System.Single |
radius |
|
System.Single |
height |
|
Returns
|
Improve this Doc
View Source
CreateColShapePolygon(Single, Single, Vector2[])
Declaration
public IColShape CreateColShapePolygon(float minZ, float maxZ, Vector2[] points)
Parameters
Type |
Name |
Description |
System.Single |
minZ |
|
System.Single |
maxZ |
|
System.Numerics.Vector2[] |
points |
|
Returns
|
Improve this Doc
View Source
CreateColShapeRectangle(Single, Single, Single, Single, Single)
Declaration
public IColShape CreateColShapeRectangle(float x1, float y1, float x2, float y2, float z)
Parameters
Type |
Name |
Description |
System.Single |
x1 |
|
System.Single |
y1 |
|
System.Single |
x2 |
|
System.Single |
y2 |
|
System.Single |
z |
|
Returns
|
Improve this Doc
View Source
CreateColShapeSphere(Position, Single)
Declaration
public IColShape CreateColShapeSphere(Position pos, float radius)
Parameters
Type |
Name |
Description |
Position |
pos |
|
System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateMarker(IPlayer, MarkerType, Position, Rgba)
Declaration
public IMarker CreateMarker(IPlayer player, MarkerType type, Position pos, Rgba color)
Parameters
Returns
|
Improve this Doc
View Source
CreateObject(UInt32, Position, Rotation, Byte, Byte, UInt16, UInt32)
Declaration
public IObject CreateObject(uint hash, Position position, Rotation rotation, byte alpha, byte textureVariation, ushort lodDistance, uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Position |
position |
|
Rotation |
rotation |
|
System.Byte |
alpha |
|
System.Byte |
textureVariation |
|
System.UInt16 |
lodDistance |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreatePed(UInt32, Position, Rotation, UInt32)
Declaration
public IPed CreatePed(uint model, Position pos, Rotation rotation, uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
pos |
|
Rotation |
rotation |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVehicle(UInt32, Position, Rotation, UInt32)
Declaration
public IVehicle CreateVehicle(uint model, Position pos, Rotation rotation, uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
model |
|
Position |
pos |
|
Rotation |
rotation |
|
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVehicleEntity(out UInt32, UInt32, Position, Rotation, UInt32)
Declaration
public IntPtr CreateVehicleEntity(out uint id, uint model, Position pos, Rotation rotation, uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
System.UInt32 |
model |
|
Position |
pos |
|
Rotation |
rotation |
|
System.UInt32 |
streamingDistance |
|
Returns
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
CreateVirtualEntity(IVirtualEntityGroup, Position, UInt32, Dictionary<String, Object>)
Declaration
public 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 IVirtualEntityGroup CreateVirtualEntityGroup(uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVoiceChannel(Boolean, Single)
Declaration
public IVoiceChannel CreateVoiceChannel(bool spatial, float maxDistance)
Parameters
Type |
Name |
Description |
System.Boolean |
spatial |
|
System.Single |
maxDistance |
|
Returns
|
Improve this Doc
View Source
Declaration
public void DeleteSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
Dispose()
Declaration
public override void Dispose()
Overrides
|
Improve this Doc
View Source
FileExists(String)
Declaration
public bool FileExists(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FileRead(String)
Declaration
public string FileRead(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FileReadBinary(String)
Declaration
public byte[] FileReadBinary(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
GetAllBlips()
Declaration
public IReadOnlyCollection<IBlip> GetAllBlips()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IBlip> |
|
|
Improve this Doc
View Source
GetAllCheckpoints()
Declaration
public IReadOnlyCollection<ICheckpoint> GetAllCheckpoints()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<ICheckpoint> |
|
|
Improve this Doc
View Source
GetAllColShapes()
Declaration
public IReadOnlyCollection<IColShape> GetAllColShapes()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IColShape> |
|
|
Improve this Doc
View Source
GetAllConnectionInfos()
Declaration
public IReadOnlyCollection<IConnectionInfo> GetAllConnectionInfos()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IConnectionInfo> |
|
|
Improve this Doc
View Source
GetAllMarkers()
Declaration
public IReadOnlyCollection<IMarker> GetAllMarkers()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IMarker> |
|
|
Improve this Doc
View Source
GetAllMetrics()
Declaration
public IReadOnlyCollection<IMetric> GetAllMetrics()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IMetric> |
|
|
Improve this Doc
View Source
GetAllNetworkObjects()
Declaration
public IReadOnlyCollection<IObject> GetAllNetworkObjects()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IObject> |
|
|
Improve this Doc
View Source
GetAllPeds()
Declaration
public IReadOnlyCollection<IPed> GetAllPeds()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPed> |
|
|
Improve this Doc
View Source
GetAllPlayers()
Declaration
public IReadOnlyCollection<IPlayer> GetAllPlayers()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPlayer> |
|
|
Improve this Doc
View Source
GetAllResources()
Declaration
public INativeResource[] GetAllResources()
Returns
|
Improve this Doc
View Source
GetAllVehicles()
Declaration
public IReadOnlyCollection<IVehicle> GetAllVehicles()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVehicle> |
|
|
Improve this Doc
View Source
GetAllVirtualEntities()
Declaration
public IReadOnlyCollection<IVirtualEntity> GetAllVirtualEntities()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVirtualEntity> |
|
|
Improve this Doc
View Source
GetAllVirtualEntityGroups()
Declaration
public IReadOnlyCollection<IVirtualEntityGroup> GetAllVirtualEntityGroups()
Returns
|
Improve this Doc
View Source
GetAssemblyLoadContext()
Declaration
public WeakReference<AssemblyLoadContext> GetAssemblyLoadContext()
Returns
Type |
Description |
System.WeakReference<System.Runtime.Loader.AssemblyLoadContext> |
|
|
Improve this Doc
View Source
GetBaseObject(BaseObjectType, UInt32)
Declaration
public IBaseObject GetBaseObject(BaseObjectType type, uint id)
Parameters
Type |
Name |
Description |
BaseObjectType |
type |
|
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetBaseObjectById(BaseObjectType, UInt32)
Declaration
public IBaseObject GetBaseObjectById(BaseObjectType type, uint id)
Parameters
Type |
Name |
Description |
BaseObjectType |
type |
|
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetClosestEntities(Position, Int32, Int32, Int32, EntityType, Order)
Declaration
public IBaseObject[] GetClosestEntities(Position position, int range, int dimension, int limit, EntityType allowedTypes, Order order = Order.Default)
Parameters
Type |
Name |
Description |
Position |
position |
|
System.Int32 |
range |
|
System.Int32 |
dimension |
|
System.Int32 |
limit |
|
EntityType |
allowedTypes |
|
Order |
order |
|
Returns
|
Improve this Doc
View Source
GetEntitiesInDimension(Int32, EntityType)
Declaration
public IBaseObject[] GetEntitiesInDimension(int dimension, EntityType allowedTypes)
Parameters
Type |
Name |
Description |
System.Int32 |
dimension |
|
EntityType |
allowedTypes |
|
Returns
|
Improve this Doc
View Source
GetEntitiesInRange(Position, Int32, Int32, EntityType)
Declaration
public IBaseObject[] GetEntitiesInRange(Position position, int range, int dimension, EntityType allowedTypes)
Parameters
Type |
Name |
Description |
Position |
position |
|
System.Int32 |
range |
|
System.Int32 |
dimension |
|
EntityType |
allowedTypes |
|
Returns
|
Improve this Doc
View Source
GetPedModelInfo(UInt32)
Declaration
public PedModelInfo? GetPedModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
GetRegisteredClientEvents()
Declaration
public virtual IEnumerable<string> GetRegisteredClientEvents()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetRegisteredServerEvents()
Declaration
public virtual IEnumerable<string> GetRegisteredServerEvents()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetResource(IntPtr)
Declaration
public INativeResource GetResource(IntPtr resourcePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
resourcePointer |
|
Returns
|
Improve this Doc
View Source
GetResource(String)
Declaration
public INativeResource GetResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetServerConfig()
Declaration
public IConfig GetServerConfig()
Returns
|
Improve this Doc
View Source
GetVehicleModelInfo(UInt32)
Declaration
public VehicleModelInfo GetVehicleModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
GetWeaponModelInfo(UInt32)
Declaration
public WeaponModelInfo? GetWeaponModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
HasBenefit(Benefit)
Declaration
public bool HasBenefit(Benefit benefit)
Parameters
Type |
Name |
Description |
Benefit |
benefit |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HashPassword(String)
Declaration
public ulong HashPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
Returns
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
LoadAssemblyFromName(AssemblyName)
Declaration
public Assembly LoadAssemblyFromName(AssemblyName assemblyName)
Parameters
Type |
Name |
Description |
System.Reflection.AssemblyName |
assemblyName |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromNativeImagePath(String, String)
Declaration
public Assembly LoadAssemblyFromNativeImagePath(string nativeImagePath, string assemblyPath)
Parameters
Type |
Name |
Description |
System.String |
nativeImagePath |
|
System.String |
assemblyPath |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromPath(String)
Declaration
public Assembly LoadAssemblyFromPath(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromStream(Stream)
Declaration
public Assembly LoadAssemblyFromStream(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
LoadAssemblyFromStream(Stream, Stream)
Declaration
public Assembly LoadAssemblyFromStream(Stream stream, Stream assemblySymbols)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.IO.Stream |
assemblySymbols |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
Off<TFunc>(String, TFunc, ClientEventParser<TFunc>)
Declaration
public void Off<TFunc>(string eventName, TFunc func, ClientEventParser<TFunc> parser)
where TFunc : Delegate
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
TFunc |
func |
|
ClientEventParser<TFunc> |
parser |
|
Type Parameters
|
Improve this Doc
View Source
Off<TFunc>(String, TFunc, ServerEventParser<TFunc>)
Declaration
public void Off<TFunc>(string eventName, TFunc func, ServerEventParser<TFunc> parser)
where TFunc : Delegate
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
TFunc |
func |
|
ServerEventParser<TFunc> |
parser |
|
Type Parameters
|
Improve this Doc
View Source
OffClient(String, Function)
Declaration
public 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 void OffServer(string eventName, Function function)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Function |
function |
|
|
Improve this Doc
View Source
On<TFunc>(String, TFunc, ClientEventParser<TFunc>)
Declaration
public void On<TFunc>(string eventName, TFunc func, ClientEventParser<TFunc> parser)
where TFunc : Delegate
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
TFunc |
func |
|
ClientEventParser<TFunc> |
parser |
|
Type Parameters
|
Improve this Doc
View Source
On<TFunc>(String, TFunc, ServerEventParser<TFunc>)
Declaration
public void On<TFunc>(string eventName, TFunc func, ServerEventParser<TFunc> parser)
where TFunc : Delegate
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
TFunc |
func |
|
ServerEventParser<TFunc> |
parser |
|
Type Parameters
|
Improve this Doc
View Source
OnCheckpoint(IntPtr, IntPtr, BaseObjectType, Boolean)
Declaration
public void OnCheckpoint(IntPtr checkpointPointer, IntPtr entityPointer, BaseObjectType baseObjectType, bool state)
Parameters
Type |
Name |
Description |
System.IntPtr |
checkpointPointer |
|
System.IntPtr |
entityPointer |
|
BaseObjectType |
baseObjectType |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
OnCheckPointEvent(ICheckpoint, IWorldObject, Boolean)
Declaration
public virtual void OnCheckPointEvent(ICheckpoint checkpoint, IWorldObject entity, bool state)
Parameters
|
Improve this Doc
View Source
OnClient(String, Function, Boolean)
Declaration
public Function OnClient(string eventName, Function function, bool isOnce = false)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Function |
function |
|
System.Boolean |
isOnce |
|
Returns
|
Improve this Doc
View Source
OnClientDeleteObject(IntPtr, IntPtr)
Declaration
public virtual void OnClientDeleteObject(IntPtr eventPointer, IntPtr source)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
source |
|
|
Improve this Doc
View Source
OnClientDeleteObjectEvent(IntPtr, IPlayer)
Declaration
public virtual void OnClientDeleteObjectEvent(IntPtr eventPointer, IPlayer sourcePlayer)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
sourcePlayer |
|
|
Improve this Doc
View Source
OnClientEvent(IntPtr, String, IntPtr[])
Declaration
public void OnClientEvent(IntPtr playerPointer, string name, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
System.String |
name |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
OnClientEventEvent(IPlayer, String, IntPtr[], MValueConst[], Object[])
Declaration
public virtual void OnClientEventEvent(IPlayer player, string name, IntPtr[] args, MValueConst[] mValues, object[] objects)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
name |
|
System.IntPtr[] |
args |
|
MValueConst[] |
mValues |
|
System.Object[] |
objects |
|
|
Improve this Doc
View Source
OnClientRequestObject(IntPtr, IntPtr, UInt32, Position)
Declaration
public virtual void OnClientRequestObject(IntPtr eventPointer, IntPtr source, uint model, Position position)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
source |
|
System.UInt32 |
model |
|
Position |
position |
|
|
Improve this Doc
View Source
OnClientRequestObjectEvent(IntPtr, IPlayer, UInt32, Position)
Declaration
public virtual void OnClientRequestObjectEvent(IntPtr eventPointer, IPlayer sourcePlayer, uint model, Position position)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
sourcePlayer |
|
System.UInt32 |
model |
|
Position |
position |
|
|
Improve this Doc
View Source
OnColShape(IntPtr, IntPtr, BaseObjectType, Boolean)
Declaration
public void OnColShape(IntPtr colShapePointer, IntPtr targetEntityPointer, BaseObjectType entityType, bool state)
Parameters
Type |
Name |
Description |
System.IntPtr |
colShapePointer |
|
System.IntPtr |
targetEntityPointer |
|
BaseObjectType |
entityType |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
OnColShapeEvent(IColShape, IWorldObject, Boolean)
Declaration
public virtual void OnColShapeEvent(IColShape colShape, IWorldObject entity, bool state)
Parameters
|
Improve this Doc
View Source
OnConnectionQueueAdd(IntPtr)
Declaration
public virtual void OnConnectionQueueAdd(IntPtr connectionInfoPtr)
Parameters
Type |
Name |
Description |
System.IntPtr |
connectionInfoPtr |
|
|
Improve this Doc
View Source
OnConnectionQueueAddEvent(IConnectionInfo)
Declaration
public virtual void OnConnectionQueueAddEvent(IConnectionInfo connectionInfo)
Parameters
|
Improve this Doc
View Source
OnConnectionQueueRemove(IntPtr)
Declaration
public virtual void OnConnectionQueueRemove(IntPtr connectionInfoPtr)
Parameters
Type |
Name |
Description |
System.IntPtr |
connectionInfoPtr |
|
|
Improve this Doc
View Source
OnConnectionQueueRemoveEvent(IConnectionInfo)
Declaration
public virtual void OnConnectionQueueRemoveEvent(IConnectionInfo connectionInfo)
Parameters
|
Improve this Doc
View Source
OnConsoleCommand(String, String[])
Declaration
public void OnConsoleCommand(string name, string[] args)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String[] |
args |
|
|
Improve this Doc
View Source
OnConsoleCommandEvent(String, String[])
Declaration
public virtual void OnConsoleCommandEvent(string name, string[] args)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String[] |
args |
|
|
Improve this Doc
View Source
OnCreateBaseObject(IntPtr, BaseObjectType, UInt32)
Declaration
public void OnCreateBaseObject(IntPtr baseObjectPtr, BaseObjectType type, uint id)
Parameters
Type |
Name |
Description |
System.IntPtr |
baseObjectPtr |
|
BaseObjectType |
type |
|
System.UInt32 |
id |
|
|
Improve this Doc
View Source
OnCreateBaseObjectEvent(IBaseObject)
Declaration
public virtual void OnCreateBaseObjectEvent(IBaseObject baseObject)
Parameters
|
Improve this Doc
View Source
OnExplosion(IntPtr, IntPtr, ExplosionType, Position, UInt32, IntPtr, BaseObjectType)
Declaration
public void OnExplosion(IntPtr eventPointer, IntPtr playerPointer, ExplosionType explosionType, Position position, uint explosionFx, IntPtr targetEntityPointer, BaseObjectType targetEntityType)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
playerPointer |
|
ExplosionType |
explosionType |
|
Position |
position |
|
System.UInt32 |
explosionFx |
|
System.IntPtr |
targetEntityPointer |
|
BaseObjectType |
targetEntityType |
|
|
Improve this Doc
View Source
OnExplosionEvent(IntPtr, IPlayer, ExplosionType, Position, UInt32, IEntity)
Declaration
public virtual void OnExplosionEvent(IntPtr eventPointer, IPlayer sourcePlayer, ExplosionType explosionType, Position position, uint explosionFx, IEntity targetEntity)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
sourcePlayer |
|
ExplosionType |
explosionType |
|
Position |
position |
|
System.UInt32 |
explosionFx |
|
IEntity |
targetEntity |
|
|
Improve this Doc
View Source
OnFire(IntPtr, IntPtr, FireInfo[])
Declaration
public void OnFire(IntPtr eventPointer, IntPtr playerPointer, FireInfo[] fires)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
playerPointer |
|
FireInfo[] |
fires |
|
|
Improve this Doc
View Source
OnFireEvent(IntPtr, IPlayer, FireInfo[])
Declaration
public virtual void OnFireEvent(IntPtr eventPointer, IPlayer player, FireInfo[] fires)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
player |
|
FireInfo[] |
fires |
|
|
Improve this Doc
View Source
OnGivePedScriptedTask(IntPtr, IntPtr, IntPtr, UInt32)
Declaration
public virtual void OnGivePedScriptedTask(IntPtr eventPointer, IntPtr source, IntPtr target, uint taskType)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
source |
|
System.IntPtr |
target |
|
System.UInt32 |
taskType |
|
|
Improve this Doc
View Source
OnGivePedScriptedTaskEvent(IntPtr, IPlayer, IPed, UInt32)
Declaration
public virtual void OnGivePedScriptedTaskEvent(IntPtr eventPointer, IPlayer source, IPed target, uint taskType)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
source |
|
IPed |
target |
|
System.UInt32 |
taskType |
|
|
Improve this Doc
View Source
Declaration
public void OnMetaDataChange(IntPtr entityPointer, BaseObjectType entityType, string key, IntPtr value)
Parameters
Type |
Name |
Description |
System.IntPtr |
entityPointer |
|
BaseObjectType |
entityType |
|
System.String |
key |
|
System.IntPtr |
value |
|
|
Improve this Doc
View Source
Declaration
public virtual void OnMetaDataChangeEvent(IEntity entity, string key, object value)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
OnModuleLoaded(IModule)
Declaration
public virtual void OnModuleLoaded(IModule module)
Parameters
Type |
Name |
Description |
IModule |
module |
|
|
Improve this Doc
View Source
OnModulesLoaded(IModule[])
Declaration
public void OnModulesLoaded(IModule[] modules)
Parameters
Type |
Name |
Description |
IModule[] |
modules |
|
|
Improve this Doc
View Source
OnNetOwnerChange(IntPtr, IntPtr, BaseObjectType, IntPtr, IntPtr)
Declaration
public void OnNetOwnerChange(IntPtr eventPointer, IntPtr targetEntityPointer, BaseObjectType targetEntityType, IntPtr oldNetOwnerPointer, IntPtr newNetOwnerPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
targetEntityPointer |
|
BaseObjectType |
targetEntityType |
|
System.IntPtr |
oldNetOwnerPointer |
|
System.IntPtr |
newNetOwnerPointer |
|
|
Improve this Doc
View Source
OnNetOwnerChangeEvent(IEntity, IPlayer, IPlayer)
Declaration
public virtual void OnNetOwnerChangeEvent(IEntity targetEntity, IPlayer oldPlayer, IPlayer newPlayer)
Parameters
|
Improve this Doc
View Source
OnPedDamage(IntPtr, IntPtr, BaseObjectType, UInt32, UInt16, UInt16)
Declaration
public void OnPedDamage(IntPtr pedpointer, IntPtr attackerentitypointer, BaseObjectType attackerbaseobjecttype, uint weapon, ushort healthdamage, ushort armourdamage)
Parameters
Type |
Name |
Description |
System.IntPtr |
pedpointer |
|
System.IntPtr |
attackerentitypointer |
|
BaseObjectType |
attackerbaseobjecttype |
|
System.UInt32 |
weapon |
|
System.UInt16 |
healthdamage |
|
System.UInt16 |
armourdamage |
|
|
Improve this Doc
View Source
OnPedDamageEvent(IPed, IEntity, UInt32, UInt16, UInt16)
Declaration
public virtual void OnPedDamageEvent(IPed ped, IEntity attacker, uint weapon, ushort healthDamage, ushort armourDamage)
Parameters
Type |
Name |
Description |
IPed |
ped |
|
IEntity |
attacker |
|
System.UInt32 |
weapon |
|
System.UInt16 |
healthDamage |
|
System.UInt16 |
armourDamage |
|
|
Improve this Doc
View Source
OnPedDeath(IntPtr, IntPtr, BaseObjectType, UInt32)
Declaration
public void OnPedDeath(IntPtr pedpointer, IntPtr killerentitypointer, BaseObjectType killerbaseobjecttype, uint weapon)
Parameters
Type |
Name |
Description |
System.IntPtr |
pedpointer |
|
System.IntPtr |
killerentitypointer |
|
BaseObjectType |
killerbaseobjecttype |
|
System.UInt32 |
weapon |
|
|
Improve this Doc
View Source
OnPedDeathEvent(IPed, IEntity, UInt32)
Declaration
public virtual void OnPedDeathEvent(IPed ped, IEntity killer, uint weapon)
Parameters
Type |
Name |
Description |
IPed |
ped |
|
IEntity |
killer |
|
System.UInt32 |
weapon |
|
|
Improve this Doc
View Source
OnPedHeal(IntPtr, UInt16, UInt16, UInt16, UInt16)
Declaration
public void OnPedHeal(IntPtr pedpointer, ushort oldHealth, ushort newHealth, ushort oldArmour, ushort newArmour)
Parameters
Type |
Name |
Description |
System.IntPtr |
pedpointer |
|
System.UInt16 |
oldHealth |
|
System.UInt16 |
newHealth |
|
System.UInt16 |
oldArmour |
|
System.UInt16 |
newArmour |
|
|
Improve this Doc
View Source
OnPedHealEvent(IPed, UInt16, UInt16, UInt16, UInt16)
Declaration
public virtual void OnPedHealEvent(IPed ped, ushort oldHealth, ushort newHealth, ushort oldArmour, ushort newArmour)
Parameters
Type |
Name |
Description |
IPed |
ped |
|
System.UInt16 |
oldHealth |
|
System.UInt16 |
newHealth |
|
System.UInt16 |
oldArmour |
|
System.UInt16 |
newArmour |
|
|
Improve this Doc
View Source
OnPedRemove(IntPtr)
Declaration
public void OnPedRemove(IntPtr pedPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
pedPointer |
|
|
Improve this Doc
View Source
OnPedRemoveEvent(IPed)
Declaration
public virtual void OnPedRemoveEvent(IPed ped)
Parameters
Type |
Name |
Description |
IPed |
ped |
|
|
Improve this Doc
View Source
OnPlayerChangeAnimation(IntPtr, UInt32, UInt32, UInt32, UInt32)
Declaration
public virtual void OnPlayerChangeAnimation(IntPtr playerPtr, uint oldDict, uint newDict, uint oldName, uint newName)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPtr |
|
System.UInt32 |
oldDict |
|
System.UInt32 |
newDict |
|
System.UInt32 |
oldName |
|
System.UInt32 |
newName |
|
|
Improve this Doc
View Source
OnPlayerChangeAnimationEvent(IPlayer, UInt32, UInt32, UInt32, UInt32)
Declaration
public virtual void OnPlayerChangeAnimationEvent(IPlayer player, uint oldDict, uint newDict, uint oldName, uint newName)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
oldDict |
|
System.UInt32 |
newDict |
|
System.UInt32 |
oldName |
|
System.UInt32 |
newName |
|
|
Improve this Doc
View Source
OnPlayerChangeInterior(IntPtr, UInt32, UInt32)
Declaration
public virtual void OnPlayerChangeInterior(IntPtr playerPtr, uint oldIntLoc, uint newIntLoc)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPtr |
|
System.UInt32 |
oldIntLoc |
|
System.UInt32 |
newIntLoc |
|
|
Improve this Doc
View Source
OnPlayerChangeInteriorEvent(IPlayer, UInt32, UInt32)
Declaration
public virtual void OnPlayerChangeInteriorEvent(IPlayer player, uint oldIntLoc, uint newIntLoc)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt32 |
oldIntLoc |
|
System.UInt32 |
newIntLoc |
|
|
Improve this Doc
View Source
OnPlayerChangeVehicleSeat(IntPtr, IntPtr, Byte, Byte)
Declaration
public void OnPlayerChangeVehicleSeat(IntPtr vehiclePointer, IntPtr playerPointer, byte oldSeat, byte newSeat)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
System.IntPtr |
playerPointer |
|
System.Byte |
oldSeat |
|
System.Byte |
newSeat |
|
|
Improve this Doc
View Source
OnPlayerChangeVehicleSeatEvent(IVehicle, IPlayer, Byte, Byte)
Declaration
public virtual void OnPlayerChangeVehicleSeatEvent(IVehicle vehicle, IPlayer player, byte oldSeat, byte newSeat)
Parameters
Type |
Name |
Description |
IVehicle |
vehicle |
|
IPlayer |
player |
|
System.Byte |
oldSeat |
|
System.Byte |
newSeat |
|
|
Improve this Doc
View Source
OnPlayerConnect(IntPtr, String)
Declaration
public void OnPlayerConnect(IntPtr playerPointer, string reason)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
System.String |
reason |
|
|
Improve this Doc
View Source
OnPlayerConnectDenied(PlayerConnectDeniedReason, String, String, UInt64, Boolean, String, UInt16, UInt16, String, Int64)
Declaration
public void OnPlayerConnectDenied(PlayerConnectDeniedReason reason, string name, string ip, ulong passwordHash, bool isDebug, string branch, ushort versionMajor, ushort versionMinor, string cdnUrl, long discordId)
Parameters
Type |
Name |
Description |
PlayerConnectDeniedReason |
reason |
|
System.String |
name |
|
System.String |
ip |
|
System.UInt64 |
passwordHash |
|
System.Boolean |
isDebug |
|
System.String |
branch |
|
System.UInt16 |
versionMajor |
|
System.UInt16 |
versionMinor |
|
System.String |
cdnUrl |
|
System.Int64 |
discordId |
|
|
Improve this Doc
View Source
OnPlayerConnectDeniedEvent(PlayerConnectDeniedReason, String, String, UInt64, Boolean, String, UInt16, UInt16, String, Int64)
Declaration
public virtual void OnPlayerConnectDeniedEvent(PlayerConnectDeniedReason reason, string name, string ip, ulong passwordHash, bool isDebug, string branch, ushort versionMajor, ushort versionMinor, string cdnUrl, long discordId)
Parameters
Type |
Name |
Description |
PlayerConnectDeniedReason |
reason |
|
System.String |
name |
|
System.String |
ip |
|
System.UInt64 |
passwordHash |
|
System.Boolean |
isDebug |
|
System.String |
branch |
|
System.UInt16 |
versionMajor |
|
System.UInt16 |
versionMinor |
|
System.String |
cdnUrl |
|
System.Int64 |
discordId |
|
|
Improve this Doc
View Source
OnPlayerConnectEvent(IPlayer, String)
Declaration
public virtual void OnPlayerConnectEvent(IPlayer player, string reason)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
reason |
|
|
Improve this Doc
View Source
OnPlayerDamage(IntPtr, IntPtr, BaseObjectType, UInt32, UInt16, UInt16)
Declaration
public void OnPlayerDamage(IntPtr playerPointer, IntPtr attackerEntityPointer, BaseObjectType attackerBaseObjectType, uint weapon, ushort healthDamage, ushort armourDamage)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
System.IntPtr |
attackerEntityPointer |
|
BaseObjectType |
attackerBaseObjectType |
|
System.UInt32 |
weapon |
|
System.UInt16 |
healthDamage |
|
System.UInt16 |
armourDamage |
|
|
Improve this Doc
View Source
OnPlayerDamageEvent(IPlayer, IEntity, UInt32, UInt16, UInt16)
Declaration
public virtual void OnPlayerDamageEvent(IPlayer player, IEntity attacker, uint weapon, ushort healthDamage, ushort armourDamage)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
IEntity |
attacker |
|
System.UInt32 |
weapon |
|
System.UInt16 |
healthDamage |
|
System.UInt16 |
armourDamage |
|
|
Improve this Doc
View Source
OnPlayerDeath(IntPtr, IntPtr, BaseObjectType, UInt32)
Declaration
public void OnPlayerDeath(IntPtr playerPointer, IntPtr killerEntityPointer, BaseObjectType killerBaseObjectType, uint weapon)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
System.IntPtr |
killerEntityPointer |
|
BaseObjectType |
killerBaseObjectType |
|
System.UInt32 |
weapon |
|
|
Improve this Doc
View Source
OnPlayerDeathEvent(IPlayer, IEntity, UInt32)
Declaration
public virtual void OnPlayerDeathEvent(IPlayer player, IEntity killer, uint weapon)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
IEntity |
killer |
|
System.UInt32 |
weapon |
|
|
Improve this Doc
View Source
OnPlayerDimensionChange(IntPtr, Int32, Int32)
Declaration
public virtual void OnPlayerDimensionChange(IntPtr playerPtr, int oldDimension, int newDimension)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPtr |
|
System.Int32 |
oldDimension |
|
System.Int32 |
newDimension |
|
|
Improve this Doc
View Source
OnPlayerDimensionChangeEvent(IPlayer, Int32, Int32)
Declaration
public virtual void OnPlayerDimensionChangeEvent(IPlayer player, int oldDimension, int newDimension)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.Int32 |
oldDimension |
|
System.Int32 |
newDimension |
|
|
Improve this Doc
View Source
OnPlayerDisconnect(IntPtr, String)
Declaration
public void OnPlayerDisconnect(IntPtr playerPointer, string reason)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
System.String |
reason |
|
|
Improve this Doc
View Source
OnPlayerDisconnectEvent(IPlayer, String)
Declaration
public virtual void OnPlayerDisconnectEvent(IPlayer player, string reason)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
reason |
|
|
Improve this Doc
View Source
OnPlayerEnteringVehicle(IntPtr, IntPtr, Byte)
Declaration
public void OnPlayerEnteringVehicle(IntPtr vehiclePointer, IntPtr playerPointer, byte seat)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
System.IntPtr |
playerPointer |
|
System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerEnteringVehicleEvent(IVehicle, IPlayer, Byte)
Declaration
public virtual void OnPlayerEnteringVehicleEvent(IVehicle vehicle, IPlayer player, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerEnterVehicle(IntPtr, IntPtr, Byte)
Declaration
public void OnPlayerEnterVehicle(IntPtr vehiclePointer, IntPtr playerPointer, byte seat)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
System.IntPtr |
playerPointer |
|
System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerEnterVehicleEvent(IVehicle, IPlayer, Byte)
Declaration
public virtual void OnPlayerEnterVehicleEvent(IVehicle vehicle, IPlayer player, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerHeal(IntPtr, UInt16, UInt16, UInt16, UInt16)
Declaration
public void OnPlayerHeal(IntPtr playerPointer, ushort oldHealth, ushort newHealth, ushort oldArmour, ushort newArmour)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
System.UInt16 |
oldHealth |
|
System.UInt16 |
newHealth |
|
System.UInt16 |
oldArmour |
|
System.UInt16 |
newArmour |
|
|
Improve this Doc
View Source
OnPlayerHealEvent(IPlayer, UInt16, UInt16, UInt16, UInt16)
Declaration
public virtual void OnPlayerHealEvent(IPlayer player, ushort oldHealth, ushort newHealth, ushort oldArmour, ushort newArmour)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt16 |
oldHealth |
|
System.UInt16 |
newHealth |
|
System.UInt16 |
oldArmour |
|
System.UInt16 |
newArmour |
|
|
Improve this Doc
View Source
OnPlayerLeaveVehicle(IntPtr, IntPtr, Byte)
Declaration
public void OnPlayerLeaveVehicle(IntPtr vehiclePointer, IntPtr playerPointer, byte seat)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
System.IntPtr |
playerPointer |
|
System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerLeaveVehicleEvent(IVehicle, IPlayer, Byte)
Declaration
public virtual void OnPlayerLeaveVehicleEvent(IVehicle vehicle, IPlayer player, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerRemove(IntPtr)
Declaration
public void OnPlayerRemove(IntPtr playerPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
|
Improve this Doc
View Source
OnPlayerRemoveEvent(IPlayer)
Declaration
public virtual void OnPlayerRemoveEvent(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
OnPlayerRequestControl(IntPtr, IntPtr, BaseObjectType, IntPtr)
Declaration
public virtual void OnPlayerRequestControl(IntPtr eventPtr, IntPtr targetPtr, BaseObjectType targetType, IntPtr playerPtr)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPtr |
|
System.IntPtr |
targetPtr |
|
BaseObjectType |
targetType |
|
System.IntPtr |
playerPtr |
|
|
Improve this Doc
View Source
OnPlayerRequestControlEvent(IntPtr, IEntity, IPlayer)
Declaration
public virtual void OnPlayerRequestControlEvent(IntPtr eventPtr, IEntity target, IPlayer player)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPtr |
|
IEntity |
target |
|
IPlayer |
player |
|
|
Improve this Doc
View Source
OnPlayerSpawn(IntPtr)
Declaration
public void OnPlayerSpawn(IntPtr playerPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerPointer |
|
|
Improve this Doc
View Source
OnPlayerSpawnEvent(IPlayer)
Declaration
public virtual void OnPlayerSpawnEvent(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
OnPlayerStartTalking(IntPtr)
Declaration
public void OnPlayerStartTalking(IntPtr playerpointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerpointer |
|
|
Improve this Doc
View Source
OnPlayerStartTalkingEvent(IPlayer)
Declaration
public virtual void OnPlayerStartTalkingEvent(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
OnPlayerStopTalking(IntPtr)
Declaration
public void OnPlayerStopTalking(IntPtr playerpointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
playerpointer |
|
|
Improve this Doc
View Source
OnPlayerStopTalkingEvent(IPlayer)
Declaration
public virtual void OnPlayerStopTalkingEvent(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
|
Improve this Doc
View Source
OnPlayerWeaponChange(IntPtr, IntPtr, UInt32, UInt32)
Declaration
public void OnPlayerWeaponChange(IntPtr eventPointer, IntPtr targetPlayerPointer, uint oldWeapon, uint newWeapon)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
targetPlayerPointer |
|
System.UInt32 |
oldWeapon |
|
System.UInt32 |
newWeapon |
|
|
Improve this Doc
View Source
OnPlayerWeaponChangeEvent(IntPtr, IPlayer, UInt32, UInt32)
Declaration
public virtual void OnPlayerWeaponChangeEvent(IntPtr eventPointer, IPlayer player, uint oldWeapon, uint newWeapon)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
player |
|
System.UInt32 |
oldWeapon |
|
System.UInt32 |
newWeapon |
|
|
Improve this Doc
View Source
OnRemoveBaseObject(IntPtr, BaseObjectType)
Declaration
public void OnRemoveBaseObject(IntPtr baseObjectPtr, BaseObjectType type)
Parameters
Type |
Name |
Description |
System.IntPtr |
baseObjectPtr |
|
BaseObjectType |
type |
|
|
Improve this Doc
View Source
OnRemoveBaseObjectEvent(IBaseObject)
Declaration
public virtual void OnRemoveBaseObjectEvent(IBaseObject baseObject)
Parameters
|
Improve this Doc
View Source
OnRequestSyncedScene(IntPtr, IntPtr, Int32)
Declaration
public virtual void OnRequestSyncedScene(IntPtr eventPointer, IntPtr source, int sceneid)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
source |
|
System.Int32 |
sceneid |
|
|
Improve this Doc
View Source
OnRequestSyncedSceneEvent(IntPtr, IPlayer, Int32)
Declaration
public virtual void OnRequestSyncedSceneEvent(IntPtr eventPointer, IPlayer sourcePlayer, int sceneid)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
sourcePlayer |
|
System.Int32 |
sceneid |
|
|
Improve this Doc
View Source
OnResourceError(IntPtr)
Declaration
public void OnResourceError(IntPtr resourcePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
resourcePointer |
|
|
Improve this Doc
View Source
OnResourceErrorEvent(INativeResource)
Declaration
public virtual void OnResourceErrorEvent(INativeResource resource)
Parameters
|
Improve this Doc
View Source
OnResourceStart(IntPtr)
Declaration
public void OnResourceStart(IntPtr resourcePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
resourcePointer |
|
|
Improve this Doc
View Source
OnResourceStartEvent(INativeResource)
Declaration
public virtual void OnResourceStartEvent(INativeResource resource)
Parameters
|
Improve this Doc
View Source
OnResourceStop(IntPtr)
Declaration
public void OnResourceStop(IntPtr resourcePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
resourcePointer |
|
|
Improve this Doc
View Source
OnResourceStopEvent(INativeResource)
Declaration
public virtual void OnResourceStopEvent(INativeResource resource)
Parameters
|
Improve this Doc
View Source
OnScriptAnswerRPC(IntPtr, UInt16, IntPtr, String)
Declaration
public void OnScriptAnswerRPC(IntPtr targetpointer, ushort answerid, IntPtr answer, string answererror)
Parameters
Type |
Name |
Description |
System.IntPtr |
targetpointer |
|
System.UInt16 |
answerid |
|
System.IntPtr |
answer |
|
System.String |
answererror |
|
|
Improve this Doc
View Source
OnScriptAnswerRPCEvent(IPlayer, UInt16, IntPtr, String)
Declaration
public virtual void OnScriptAnswerRPCEvent(IPlayer target, ushort answerid, IntPtr mValue, string answererror)
Parameters
Type |
Name |
Description |
IPlayer |
target |
|
System.UInt16 |
answerid |
|
System.IntPtr |
mValue |
|
System.String |
answererror |
|
|
Improve this Doc
View Source
OnScriptLoaded(IScript)
Declaration
public virtual void OnScriptLoaded(IScript script)
Parameters
Type |
Name |
Description |
IScript |
script |
|
|
Improve this Doc
View Source
OnScriptRPC(IntPtr, IntPtr, String, IntPtr[], UInt16)
Declaration
public void OnScriptRPC(IntPtr eventpointer, IntPtr targetpointer, string name, IntPtr[] args, ushort answerId)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventpointer |
|
System.IntPtr |
targetpointer |
|
System.String |
name |
|
System.IntPtr[] |
args |
|
System.UInt16 |
answerId |
|
|
Improve this Doc
View Source
OnScriptRPCEvent(IntPtr, IPlayer, String, Object[], UInt16, Boolean)
Declaration
public virtual void OnScriptRPCEvent(IntPtr eventpointer, IPlayer target, string name, object[] objects, ushort answerId, bool async)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventpointer |
|
IPlayer |
target |
|
System.String |
name |
|
System.Object[] |
objects |
|
System.UInt16 |
answerId |
|
System.Boolean |
async |
|
|
Improve this Doc
View Source
OnScriptsLoaded(IScript[])
Declaration
public void OnScriptsLoaded(IScript[] scripts)
Parameters
Type |
Name |
Description |
IScript[] |
scripts |
|
|
Improve this Doc
View Source
OnServer(String, Function, Boolean)
Declaration
public Function OnServer(string eventName, Function function, bool isOnce = false)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Function |
function |
|
System.Boolean |
isOnce |
|
Returns
|
Improve this Doc
View Source
OnServerEvent(String, IntPtr[])
Declaration
public void OnServerEvent(string name, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
OnServerEventEvent(String, IntPtr[], MValueConst[], Object[])
Declaration
public virtual void OnServerEventEvent(string name, IntPtr[] args, MValueConst[] mValues, object[] objects)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.IntPtr[] |
args |
|
MValueConst[] |
mValues |
|
System.Object[] |
objects |
|
|
Improve this Doc
View Source
OnServerStarted()
Declaration
public virtual void OnServerStarted()
|
Improve this Doc
View Source
OnServerStartedEvent()
Declaration
public virtual void OnServerStartedEvent()
|
Improve this Doc
View Source
OnStartProjectile(IntPtr, IntPtr, Position, Position, UInt32, UInt32)
Declaration
public void OnStartProjectile(IntPtr eventPointer, IntPtr sourcePlayerPointer, Position startPosition, Position direction, uint ammoHash, uint weaponHash)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
sourcePlayerPointer |
|
Position |
startPosition |
|
Position |
direction |
|
System.UInt32 |
ammoHash |
|
System.UInt32 |
weaponHash |
|
|
Improve this Doc
View Source
OnStartProjectileEvent(IntPtr, IPlayer, Position, Position, UInt32, UInt32)
Declaration
public virtual void OnStartProjectileEvent(IntPtr eventPointer, IPlayer player, Position startPosition, Position direction, uint ammoHash, uint weaponHash)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
player |
|
Position |
startPosition |
|
Position |
direction |
|
System.UInt32 |
ammoHash |
|
System.UInt32 |
weaponHash |
|
|
Improve this Doc
View Source
OnStartSyncedScene(IntPtr, Int32, Position, Rotation, UInt32, IntPtr[], BaseObjectType[], UInt32[], UInt64)
Declaration
public virtual void OnStartSyncedScene(IntPtr source, int sceneid, Position position, Rotation rotation, uint animDictHash, IntPtr[] entites, BaseObjectType[] types, uint[] animHashes, ulong size)
Parameters
Type |
Name |
Description |
System.IntPtr |
source |
|
System.Int32 |
sceneid |
|
Position |
position |
|
Rotation |
rotation |
|
System.UInt32 |
animDictHash |
|
System.IntPtr[] |
entites |
|
BaseObjectType[] |
types |
|
System.UInt32[] |
animHashes |
|
System.UInt64 |
size |
|
|
Improve this Doc
View Source
OnStartSyncedSceneEvent(IPlayer, Int32, Position, Rotation, UInt32, Dictionary<IEntity, UInt32>)
Declaration
public virtual void OnStartSyncedSceneEvent(IPlayer sourcePlayer, int sceneid, Position position, Rotation rotation, uint animDictHash, Dictionary<IEntity, uint> entityAndAnimHash)
Parameters
Type |
Name |
Description |
IPlayer |
sourcePlayer |
|
System.Int32 |
sceneid |
|
Position |
position |
|
Rotation |
rotation |
|
System.UInt32 |
animDictHash |
|
System.Collections.Generic.Dictionary<IEntity, System.UInt32> |
entityAndAnimHash |
|
|
Improve this Doc
View Source
OnStopSyncedScene(IntPtr, Int32)
Declaration
public virtual void OnStopSyncedScene(IntPtr source, int sceneid)
Parameters
Type |
Name |
Description |
System.IntPtr |
source |
|
System.Int32 |
sceneid |
|
|
Improve this Doc
View Source
OnStopSyncedSceneEvent(IPlayer, Int32)
Declaration
public virtual void OnStopSyncedSceneEvent(IPlayer sourcePlayer, int sceneid)
Parameters
Type |
Name |
Description |
IPlayer |
sourcePlayer |
|
System.Int32 |
sceneid |
|
|
Improve this Doc
View Source
Declaration
public void OnSyncedMetaDataChange(IntPtr entityPointer, BaseObjectType entityType, string key, IntPtr value)
Parameters
Type |
Name |
Description |
System.IntPtr |
entityPointer |
|
BaseObjectType |
entityType |
|
System.String |
key |
|
System.IntPtr |
value |
|
|
Improve this Doc
View Source
Declaration
public virtual void OnSyncedMetaDataChangeEvent(IEntity entity, string key, object value)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
OnUpdateSyncedScene(IntPtr, Single, Int32)
Declaration
public virtual void OnUpdateSyncedScene(IntPtr source, float startRate, int sceneid)
Parameters
Type |
Name |
Description |
System.IntPtr |
source |
|
System.Single |
startRate |
|
System.Int32 |
sceneid |
|
|
Improve this Doc
View Source
OnUpdateSyncedSceneEvent(IPlayer, Single, Int32)
Declaration
public virtual void OnUpdateSyncedSceneEvent(IPlayer sourcePlayer, float startRate, int sceneid)
Parameters
Type |
Name |
Description |
IPlayer |
sourcePlayer |
|
System.Single |
startRate |
|
System.Int32 |
sceneid |
|
|
Improve this Doc
View Source
OnVehicleAttach(IntPtr, IntPtr, IntPtr)
Declaration
public void OnVehicleAttach(IntPtr eventPointer, IntPtr targetPointer, IntPtr attachedPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
targetPointer |
|
System.IntPtr |
attachedPointer |
|
|
Improve this Doc
View Source
OnVehicleAttachEvent(IVehicle, IVehicle)
Declaration
public virtual void OnVehicleAttachEvent(IVehicle targetVehicle, IVehicle attachedVehicle)
Parameters
|
Improve this Doc
View Source
OnVehicleDamage(IntPtr, IntPtr, IntPtr, BaseObjectType, UInt32, UInt32, UInt32, UInt32, UInt32)
Declaration
public void OnVehicleDamage(IntPtr eventPointer, IntPtr vehiclePointer, IntPtr entityPointer, BaseObjectType entityType, uint bodyHealthDamage, uint additionalBodyHealthDamage, uint engineHealthDamage, uint petrolTankDamage, uint weaponHash)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
vehiclePointer |
|
System.IntPtr |
entityPointer |
|
BaseObjectType |
entityType |
|
System.UInt32 |
bodyHealthDamage |
|
System.UInt32 |
additionalBodyHealthDamage |
|
System.UInt32 |
engineHealthDamage |
|
System.UInt32 |
petrolTankDamage |
|
System.UInt32 |
weaponHash |
|
|
Improve this Doc
View Source
OnVehicleDamageEvent(IVehicle, IEntity, UInt32, UInt32, UInt32, UInt32, UInt32)
Declaration
public virtual void OnVehicleDamageEvent(IVehicle targetVehicle, IEntity sourceEntity, uint bodyHealthDamage, uint additionalBodyHealthDamage, uint engineHealthDamage, uint petrolTankDamage, uint weaponHash)
Parameters
Type |
Name |
Description |
IVehicle |
targetVehicle |
|
IEntity |
sourceEntity |
|
System.UInt32 |
bodyHealthDamage |
|
System.UInt32 |
additionalBodyHealthDamage |
|
System.UInt32 |
engineHealthDamage |
|
System.UInt32 |
petrolTankDamage |
|
System.UInt32 |
weaponHash |
|
|
Improve this Doc
View Source
OnVehicleDestroy(IntPtr)
Declaration
public void OnVehicleDestroy(IntPtr vehiclePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
|
Improve this Doc
View Source
OnVehicleDestroyEvent(IVehicle)
Declaration
public virtual void OnVehicleDestroyEvent(IVehicle vehicle)
Parameters
|
Improve this Doc
View Source
OnVehicleDetach(IntPtr, IntPtr, IntPtr)
Declaration
public void OnVehicleDetach(IntPtr eventPointer, IntPtr targetPointer, IntPtr detachedPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
targetPointer |
|
System.IntPtr |
detachedPointer |
|
|
Improve this Doc
View Source
OnVehicleDetachEvent(IVehicle, IVehicle)
Declaration
public virtual void OnVehicleDetachEvent(IVehicle targetVehicle, IVehicle detachedVehicle)
Parameters
|
Improve this Doc
View Source
OnVehicleHorn(IntPtr, IntPtr, IntPtr, Boolean)
Declaration
public void OnVehicleHorn(IntPtr eventPointer, IntPtr targetPointer, IntPtr reporterPointer, bool state)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
targetPointer |
|
System.IntPtr |
reporterPointer |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
OnVehicleHornEvent(IntPtr, IVehicle, IPlayer, Boolean)
Declaration
public virtual void OnVehicleHornEvent(IntPtr eventPointer, IVehicle targetVehicle, IPlayer reporterPlayer, bool state)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IVehicle |
targetVehicle |
|
IPlayer |
reporterPlayer |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
OnVehicleRemove(IntPtr)
Declaration
public void OnVehicleRemove(IntPtr vehiclePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
|
Improve this Doc
View Source
OnVehicleRemoveEvent(IVehicle)
Declaration
public virtual void OnVehicleRemoveEvent(IVehicle vehicle)
Parameters
|
Improve this Doc
View Source
OnVehicleSiren(IntPtr, Boolean)
Declaration
public void OnVehicleSiren(IntPtr targetVehiclePointer, bool state)
Parameters
Type |
Name |
Description |
System.IntPtr |
targetVehiclePointer |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
OnVehicleSirenEvent(IVehicle, Boolean)
Declaration
public virtual void OnVehicleSirenEvent(IVehicle targetVehicle, bool state)
Parameters
Type |
Name |
Description |
IVehicle |
targetVehicle |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
OnWeaponDamage(IntPtr, IntPtr, IntPtr, BaseObjectType, UInt32, UInt16, Position, BodyPart)
Declaration
public void OnWeaponDamage(IntPtr eventPointer, IntPtr playerPointer, IntPtr entityPointer, BaseObjectType entityType, uint weapon, ushort damage, Position shotOffset, BodyPart bodyPart)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
System.IntPtr |
playerPointer |
|
System.IntPtr |
entityPointer |
|
BaseObjectType |
entityType |
|
System.UInt32 |
weapon |
|
System.UInt16 |
damage |
|
Position |
shotOffset |
|
BodyPart |
bodyPart |
|
|
Improve this Doc
View Source
OnWeaponDamageEvent(IntPtr, IPlayer, IEntity, UInt32, UInt16, Position, BodyPart)
Declaration
public virtual void OnWeaponDamageEvent(IntPtr eventPointer, IPlayer sourcePlayer, IEntity targetEntity, uint weapon, ushort damage, Position shotOffset, BodyPart bodyPart)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventPointer |
|
IPlayer |
sourcePlayer |
|
IEntity |
targetEntity |
|
System.UInt32 |
weapon |
|
System.UInt16 |
damage |
|
Position |
shotOffset |
|
BodyPart |
bodyPart |
|
|
Improve this Doc
View Source
RegisterMetric(String, MetricType, Dictionary<String, String>)
Declaration
public IMetric RegisterMetric(string name, MetricType type = MetricType.MetricTypeGauge, Dictionary<string, string> dataDict = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
MetricType |
type |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
dataDict |
|
Returns
|
Improve this Doc
View Source
RestartResource(String)
Declaration
public void RestartResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
SetExport(String, Function)
Declaration
public void SetExport(string key, Function function)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Function |
function |
|
|
Improve this Doc
View Source
SetPassword(String)
Declaration
public void SetPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
|
Improve this Doc
View Source
Declaration
public void SetSyncedMetaData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
SetVoiceExternal(String, UInt16)
Declaration
public void SetVoiceExternal(string host, ushort port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.UInt16 |
port |
|
|
Improve this Doc
View Source
SetVoiceExternalPublic(String, UInt16)
Declaration
public void SetVoiceExternalPublic(string host, ushort port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.UInt16 |
port |
|
|
Improve this Doc
View Source
SetWorldProfiler(Boolean)
Declaration
public void SetWorldProfiler(bool state)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
|
Improve this Doc
View Source
StartResource(String)
Declaration
public void StartResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
StopResource(String)
Declaration
public void StopResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
StopServer()
Declaration
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, IntPtr, MValueConst[])
Declaration
public void TriggerClientEvent(IPlayer player, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, IntPtr, IntPtr[])
Declaration
public void TriggerClientEvent(IPlayer player, IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, IntPtr, Object[])
Declaration
public void TriggerClientEvent(IPlayer player, IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, String, MValueConst[])
Declaration
public void TriggerClientEvent(IPlayer player, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, String, IntPtr[])
Declaration
public void TriggerClientEvent(IPlayer player, string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, String, Object[])
Declaration
public void TriggerClientEvent(IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(IntPtr, MValueConst[])
Declaration
public void TriggerClientEventForAll(IntPtr eventNamePtr, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(IntPtr, IntPtr[])
Declaration
public void TriggerClientEventForAll(IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(IntPtr, Object[])
Declaration
public void TriggerClientEventForAll(IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(String, MValueConst[])
Declaration
public void TriggerClientEventForAll(string eventName, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(String, IntPtr[])
Declaration
public void TriggerClientEventForAll(string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(String, Object[])
Declaration
public void TriggerClientEventForAll(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], IntPtr, MValueConst[])
Declaration
public void TriggerClientEventForSome(IPlayer[] clients, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], IntPtr, IntPtr[])
Declaration
public void TriggerClientEventForSome(IPlayer[] clients, IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], IntPtr, Object[])
Declaration
public void TriggerClientEventForSome(IPlayer[] clients, IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], String, MValueConst[])
Declaration
public void TriggerClientEventForSome(IPlayer[] clients, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], String, IntPtr[])
Declaration
public void TriggerClientEventForSome(IPlayer[] clients, string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.String |
eventName |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], String, Object[])
Declaration
public void TriggerClientEventForSome(IPlayer[] clients, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, IntPtr, MValueConst[])
Declaration
public void TriggerClientEventUnreliable(IPlayer player, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, IntPtr, IntPtr[])
Declaration
public void TriggerClientEventUnreliable(IPlayer player, IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, IntPtr, Object[])
Declaration
public void TriggerClientEventUnreliable(IPlayer player, IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, String, MValueConst[])
Declaration
public void TriggerClientEventUnreliable(IPlayer player, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, String, IntPtr[])
Declaration
public void TriggerClientEventUnreliable(IPlayer player, string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, String, Object[])
Declaration
public void TriggerClientEventUnreliable(IPlayer player, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(IntPtr, MValueConst[])
Declaration
public void TriggerClientEventUnreliableForAll(IntPtr eventNamePtr, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(IntPtr, IntPtr[])
Declaration
public void TriggerClientEventUnreliableForAll(IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(IntPtr, Object[])
Declaration
public void TriggerClientEventUnreliableForAll(IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(String, MValueConst[])
Declaration
public void TriggerClientEventUnreliableForAll(string eventName, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(String, IntPtr[])
Declaration
public void TriggerClientEventUnreliableForAll(string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(String, Object[])
Declaration
public void TriggerClientEventUnreliableForAll(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], IntPtr, MValueConst[])
Declaration
public void TriggerClientEventUnreliableForSome(IPlayer[] clients, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], IntPtr, IntPtr[])
Declaration
public void TriggerClientEventUnreliableForSome(IPlayer[] clients, IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], IntPtr, Object[])
Declaration
public void TriggerClientEventUnreliableForSome(IPlayer[] clients, IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], String, MValueConst[])
Declaration
public void TriggerClientEventUnreliableForSome(IPlayer[] clients, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], String, IntPtr[])
Declaration
public void TriggerClientEventUnreliableForSome(IPlayer[] clients, string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.String |
eventName |
|
System.IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], String, Object[])
Declaration
public void TriggerClientEventUnreliableForSome(IPlayer[] clients, string eventName, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer[] |
clients |
|
System.String |
eventName |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerClientRPC(IPlayer, IntPtr, MValueConst[])
Declaration
public ushort TriggerClientRPC(IPlayer target, IntPtr eventNamePtr, MValueConst[] args)
Parameters
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
TriggerClientRPC(IPlayer, String, MValueConst[])
Declaration
public ushort TriggerClientRPC(IPlayer target, string eventName, MValueConst[] args)
Parameters
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
TriggerClientRPC(IPlayer, String, Object[])
Declaration
public ushort TriggerClientRPC(IPlayer target, string name, params object[] args)
Parameters
Type |
Name |
Description |
IPlayer |
target |
|
System.String |
name |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
TriggerClientRPC(IntPtr, IntPtr, IntPtr[])
Declaration
public ushort TriggerClientRPC(IntPtr targetPtr, IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
targetPtr |
|
System.IntPtr |
eventNamePtr |
|
System.IntPtr[] |
args |
|
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
TriggerClientRPCAnswer(IPlayer, UInt16, MValueConst, IntPtr)
Declaration
public void TriggerClientRPCAnswer(IPlayer target, ushort answerId, MValueConst answer, IntPtr errorPtr)
Parameters
Type |
Name |
Description |
IPlayer |
target |
|
System.UInt16 |
answerId |
|
MValueConst |
answer |
|
System.IntPtr |
errorPtr |
|
|
Improve this Doc
View Source
TriggerClientRPCAnswer(IPlayer, UInt16, MValueConst, String)
Declaration
public void TriggerClientRPCAnswer(IPlayer target, ushort answerId, MValueConst answer, string error)
Parameters
Type |
Name |
Description |
IPlayer |
target |
|
System.UInt16 |
answerId |
|
MValueConst |
answer |
|
System.String |
error |
|
|
Improve this Doc
View Source
TriggerClientRPCAnswer(IPlayer, UInt16, Object, String)
Declaration
public void TriggerClientRPCAnswer(IPlayer target, ushort answerId, object answer, string error)
Parameters
Type |
Name |
Description |
IPlayer |
target |
|
System.UInt16 |
answerId |
|
System.Object |
answer |
|
System.String |
error |
|
|
Improve this Doc
View Source
UnregisterMetric(IMetric)
Declaration
public void UnregisterMetric(IMetric metric)
Parameters
Type |
Name |
Description |
IMetric |
metric |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
ISharedCore.PoolManager
Declaration
ISharedPoolManager ISharedCore.PoolManager { get; }
Returns
Implements
IDisposable