Interface ICore
Assembly: AltV.Net.dll
Syntax
public interface ICore : ISharedCore, ICApiCore
Properties
|
Improve this Doc
View Source
Assemblies
Declaration
IEnumerable<Assembly> Assemblies { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> |
|
|
Improve this Doc
View Source
ColShapeTickRate
Declaration
uint ColShapeTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
LoadedVehicleModels
Declaration
uint[] LoadedVehicleModels { get; }
Property Value
Type |
Description |
System.UInt32[] |
|
|
Improve this Doc
View Source
MaxStreamingObjects
Declaration
ushort MaxStreamingObjects { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxStreamingPeds
Declaration
ushort MaxStreamingPeds { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxStreamingVehicles
Declaration
ushort MaxStreamingVehicles { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MigrationDistance
Declaration
uint MigrationDistance { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
MigrationThreadCount
Declaration
byte MigrationThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
MigrationTickRate
Declaration
uint MigrationTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
NativeResourcePool
Declaration
INativeResourcePool NativeResourcePool { get; }
Property Value
|
Improve this Doc
View Source
PoolManager
Declaration
IPoolManager PoolManager { get; }
Property Value
|
Improve this Doc
View Source
Resource
Declaration
INativeResource Resource { get; }
Property Value
|
Improve this Doc
View Source
RootDirectory
Declaration
string RootDirectory { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
StreamerThreadCount
Declaration
byte StreamerThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
StreamingDistance
Declaration
uint StreamingDistance { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
StreamingTickRate
Declaration
uint StreamingTickRate { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
SyncReceiveThreadCount
Declaration
byte SyncReceiveThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
SyncSendThreadCount
Declaration
byte SyncSendThreadCount { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
VehiclePassengers
Declaration
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
void AddClientConfigKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
CreateBlip(Boolean, Byte, IEntity, IPlayer[])
Declaration
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
IVirtualEntityGroup CreateVirtualEntityGroup(uint streamingDistance)
Parameters
Type |
Name |
Description |
System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateVoiceChannel(Boolean, Single)
Declaration
IVoiceChannel CreateVoiceChannel(bool spatial, float maxDistance)
Parameters
Type |
Name |
Description |
System.Boolean |
spatial |
|
System.Single |
maxDistance |
|
Returns
|
Improve this Doc
View Source
Declaration
void DeleteSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
FileExists(String)
Declaration
bool FileExists(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FileRead(String)
Declaration
string FileRead(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FileReadBinary(String)
Declaration
byte[] FileReadBinary(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
GetAllBlips()
Declaration
IReadOnlyCollection<IBlip> GetAllBlips()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IBlip> |
|
|
Improve this Doc
View Source
GetAllCheckpoints()
Declaration
IReadOnlyCollection<ICheckpoint> GetAllCheckpoints()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<ICheckpoint> |
|
|
Improve this Doc
View Source
GetAllColShapes()
Declaration
IReadOnlyCollection<IColShape> GetAllColShapes()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IColShape> |
|
|
Improve this Doc
View Source
GetAllConnectionInfos()
Declaration
IReadOnlyCollection<IConnectionInfo> GetAllConnectionInfos()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IConnectionInfo> |
|
|
Improve this Doc
View Source
GetAllMarkers()
Declaration
IReadOnlyCollection<IMarker> GetAllMarkers()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IMarker> |
|
|
Improve this Doc
View Source
GetAllMetrics()
Declaration
IReadOnlyCollection<IMetric> GetAllMetrics()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IMetric> |
|
|
Improve this Doc
View Source
GetAllNetworkObjects()
Declaration
IReadOnlyCollection<IObject> GetAllNetworkObjects()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IObject> |
|
|
Improve this Doc
View Source
GetAllPeds()
Declaration
IReadOnlyCollection<IPed> GetAllPeds()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPed> |
|
|
Improve this Doc
View Source
GetAllPlayers()
Declaration
IReadOnlyCollection<IPlayer> GetAllPlayers()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IPlayer> |
|
|
Improve this Doc
View Source
GetAllResources()
Declaration
INativeResource[] GetAllResources()
Returns
|
Improve this Doc
View Source
GetAllVehicles()
Declaration
IReadOnlyCollection<IVehicle> GetAllVehicles()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVehicle> |
|
|
Improve this Doc
View Source
GetAllVirtualEntities()
Declaration
IReadOnlyCollection<IVirtualEntity> GetAllVirtualEntities()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<IVirtualEntity> |
|
|
Improve this Doc
View Source
GetAllVirtualEntityGroups()
Declaration
IReadOnlyCollection<IVirtualEntityGroup> GetAllVirtualEntityGroups()
Returns
|
Improve this Doc
View Source
GetAssemblyLoadContext()
Declaration
WeakReference<AssemblyLoadContext> GetAssemblyLoadContext()
Returns
Type |
Description |
System.WeakReference<System.Runtime.Loader.AssemblyLoadContext> |
|
|
Improve this Doc
View Source
GetBaseObject(BaseObjectType, UInt32)
Declaration
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
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
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
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
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
PedModelInfo? GetPedModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
GetRegisteredClientEvents()
Declaration
IEnumerable<string> GetRegisteredClientEvents()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetRegisteredServerEvents()
Declaration
IEnumerable<string> GetRegisteredServerEvents()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetResource(IntPtr)
Declaration
INativeResource GetResource(IntPtr resourcePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
resourcePointer |
|
Returns
|
Improve this Doc
View Source
GetResource(String)
Declaration
INativeResource GetResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetServerConfig()
Declaration
IConfig GetServerConfig()
Returns
|
Improve this Doc
View Source
GetVehicleModelInfo(UInt32)
Declaration
VehicleModelInfo GetVehicleModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
GetWeaponModelInfo(UInt32)
Declaration
WeaponModelInfo? GetWeaponModelInfo(uint hash)
Parameters
Type |
Name |
Description |
System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
HasBenefit(Benefit)
Declaration
bool HasBenefit(Benefit benefit)
Parameters
Type |
Name |
Description |
Benefit |
benefit |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HashPassword(String)
Declaration
ulong HashPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
Returns
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
LoadAssemblyFromName(AssemblyName)
Declaration
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
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
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
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
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
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
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
void OffClient(string eventName, Function function)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
Function |
function |
|
|
Improve this Doc
View Source
OffServer(String, Function)
Declaration
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
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
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
OnClient(String, Function, Boolean)
Declaration
Function OnClient(string clientEventName, Function create, bool isOnce = false)
Parameters
Type |
Name |
Description |
System.String |
clientEventName |
|
Function |
create |
|
System.Boolean |
isOnce |
|
Returns
|
Improve this Doc
View Source
OnServer(String, Function, Boolean)
Declaration
Function OnServer(string clientEventName, Function create, bool isOnce = false)
Parameters
Type |
Name |
Description |
System.String |
clientEventName |
|
Function |
create |
|
System.Boolean |
isOnce |
|
Returns
|
Improve this Doc
View Source
RegisterMetric(String, MetricType, Dictionary<String, String>)
Declaration
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
void RestartResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
SetExport(String, Function)
Declaration
void SetExport(string key, Function function)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Function |
function |
|
|
Improve this Doc
View Source
SetPassword(String)
Declaration
void SetPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
|
Improve this Doc
View Source
Declaration
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
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
void SetVoiceExternalPublic(string host, ushort port)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.UInt16 |
port |
|
|
Improve this Doc
View Source
SetWorldProfiler(Boolean)
Declaration
void SetWorldProfiler(bool state)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
|
Improve this Doc
View Source
StartResource(String)
Declaration
void StartResource(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
|
Improve this Doc
View Source
StopResource(String)
Declaration
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
void TriggerClientEvent(IPlayer player, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, IntPtr, IntPtr[])
Declaration
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
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
void TriggerClientEvent(IPlayer player, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEvent(IPlayer, String, IntPtr[])
Declaration
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
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
void TriggerClientEventForAll(IntPtr eventNamePtr, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(IntPtr, IntPtr[])
Declaration
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
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
void TriggerClientEventForAll(string eventName, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventForAll(String, IntPtr[])
Declaration
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
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
void TriggerClientEventForSome(IPlayer[] clients, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], IntPtr, IntPtr[])
Declaration
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
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
void TriggerClientEventForSome(IPlayer[] clients, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventForSome(IPlayer[], String, IntPtr[])
Declaration
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
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
void TriggerClientEventUnreliable(IPlayer player, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, IntPtr, IntPtr[])
Declaration
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
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
void TriggerClientEventUnreliable(IPlayer player, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliable(IPlayer, String, IntPtr[])
Declaration
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
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
void TriggerClientEventUnreliableForAll(IntPtr eventNamePtr, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.IntPtr |
eventNamePtr |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(IntPtr, IntPtr[])
Declaration
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
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
void TriggerClientEventUnreliableForAll(string eventName, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerClientEventUnreliableForAll(String, IntPtr[])
Declaration
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
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
void TriggerClientEventUnreliableForSome(IPlayer[] clients, IntPtr eventNamePtr, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], IntPtr, IntPtr[])
Declaration
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
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
void TriggerClientEventUnreliableForSome(IPlayer[] clients, string eventName, MValueConst[] args)
Parameters
|
Improve this Doc
View Source
TriggerClientEventUnreliableForSome(IPlayer[], String, IntPtr[])
Declaration
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
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
ushort TriggerClientRPC(IPlayer target, IntPtr eventNamePtr, MValueConst[] args)
Parameters
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
TriggerClientRPC(IPlayer, String, MValueConst[])
Declaration
ushort TriggerClientRPC(IPlayer target, string eventName, MValueConst[] args)
Parameters
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
TriggerClientRPC(IPlayer, String, Object[])
Declaration
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
TriggerClientRPCAnswer(IPlayer, UInt16, MValueConst, IntPtr)
Declaration
void TriggerClientRPCAnswer(IPlayer player, ushort answerId, MValueConst answer, IntPtr errorPtr)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
System.UInt16 |
answerId |
|
MValueConst |
answer |
|
System.IntPtr |
errorPtr |
|
|
Improve this Doc
View Source
TriggerClientRPCAnswer(IPlayer, UInt16, MValueConst, String)
Declaration
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
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
void UnregisterMetric(IMetric metric)
Parameters
Type |
Name |
Description |
IMetric |
metric |
|