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.Client.dll
Syntax
public class Core : SharedCore, IDisposable, ICore, ISharedCore, ICApiCore
Constructors
|
Improve this Doc
View Source
Core(ILibrary, IntPtr, IntPtr, IPoolManager, INativeResourcePool, ITimerPool, ILogger, INatives)
Declaration
public Core(ILibrary library, IntPtr nativePointer, IntPtr resourcePointer, IPoolManager poolManager, INativeResourcePool nativeResourcePool, ITimerPool timerPool, ILogger logger, INatives natives)
Parameters
Properties
|
Improve this Doc
View Source
CamFrozen
Declaration
public bool CamFrozen { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
CamPos
Declaration
public Vector3 CamPos { get; }
Property Value
| Type |
Description |
| System.Numerics.Vector3 |
|
|
Improve this Doc
View Source
Discord
Declaration
public Discord Discord { get; }
Property Value
|
Improve this Doc
View Source
FocusData
Declaration
public FocusData FocusData { get; }
Property Value
|
Improve this Doc
View Source
Fps
Declaration
public ushort Fps { get; }
Property Value
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
GameControlsEnabled
Declaration
public bool GameControlsEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsConsoleOpen
Declaration
public bool IsConsoleOpen { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsCursorVisible
Declaration
public bool IsCursorVisible { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsFullScreen
Declaration
public bool IsFullScreen { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsGameFocused
Declaration
public bool IsGameFocused { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsInStreamerMode
Declaration
public bool IsInStreamerMode { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool IsMenuOpened { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsWebViewGpuAccelerationActive
Declaration
public bool IsWebViewGpuAccelerationActive { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
LicenseHash
Declaration
public string LicenseHash { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Locale
Declaration
public string Locale { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
LocalStorage
Declaration
public LocalStorage LocalStorage { get; }
Property Value
|
Improve this Doc
View Source
Logger
Declaration
public ILogger Logger { get; }
Property Value
|
Improve this Doc
View Source
MinimapIsRectangle
Declaration
public bool MinimapIsRectangle { set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
MsPerGameMinute
Declaration
public int MsPerGameMinute { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
NativeResourcePool
Declaration
public INativeResourcePool NativeResourcePool { get; }
Property Value
|
Improve this Doc
View Source
Natives
Declaration
public INatives Natives { get; }
Property Value
| Type |
Description |
| AltV.Net.Client.INatives |
|
|
Improve this Doc
View Source
Ping
Declaration
public ushort Ping { get; }
Property Value
| Type |
Description |
| System.UInt16 |
|
|
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
RmlControlsEnabled
Declaration
public bool RmlControlsEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RunningTimers
Declaration
public List<SafeTimer> RunningTimers { get; }
Property Value
|
Improve this Doc
View Source
ScreenResolution
Declaration
public Vector2 ScreenResolution { get; }
Property Value
| Type |
Description |
| System.Numerics.Vector2 |
|
|
Improve this Doc
View Source
ServerIp
Declaration
public string ServerIp { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
ServerPort
Declaration
public ushort ServerPort { get; }
Property Value
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
ServerTime
Declaration
public ulong ServerTime { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
TimerPool
Declaration
public ITimerPool TimerPool { get; }
Property Value
|
Improve this Doc
View Source
TotalPacketsLost
Declaration
public uint TotalPacketsLost { get; }
Property Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
TotalPacketsSent
Declaration
public ulong TotalPacketsSent { get; }
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
Voice
Declaration
public Voice Voice { get; }
Property Value
|
Improve this Doc
View Source
VoiceControlsEnabled
Declaration
public bool VoiceControlsEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
|
Improve this Doc
View Source
AddAudioEventListener(IntPtr, String, Function)
Declaration
public Function AddAudioEventListener(IntPtr audioPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
audioPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
|
Improve this Doc
View Source
AddClientEventListener(String, Function)
Declaration
public Function AddClientEventListener(string eventName, Function function)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| Function |
function |
|
Returns
|
Improve this Doc
View Source
AddGxtText(UInt32, String)
Declaration
public void AddGxtText(uint key, string value)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
key |
|
| System.String |
value |
|
|
Improve this Doc
View Source
AddRmlElementEventListener(IntPtr, String, Function)
Declaration
public Function AddRmlElementEventListener(IntPtr rmlElementPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
rmlElementPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
|
Improve this Doc
View Source
AddServerEventListener(String, Function)
Declaration
public Function AddServerEventListener(string eventName, Function function)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| Function |
function |
|
Returns
|
Improve this Doc
View Source
AddVoiceFilter(UInt32, IAudioFilter)
Declaration
public void AddVoiceFilter(uint playerRemoteId, IAudioFilter filter)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
| IAudioFilter |
filter |
|
|
Improve this Doc
View Source
AddWebSocketEventListener(IntPtr, String, Function)
Declaration
public Function AddWebSocketEventListener(IntPtr websocketPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
websocketPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
|
Improve this Doc
View Source
AddWebViewEventListener(IntPtr, String, Function)
Declaration
public Function AddWebViewEventListener(IntPtr webViewPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
webViewPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool BeginScaleformMovieMethodMinimap(string methodName)
Parameters
| Type |
Name |
Description |
| System.String |
methodName |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ClearPedProp(Int32, Byte)
Declaration
public void ClearPedProp(int scriptId, byte component)
Parameters
| Type |
Name |
Description |
| System.Int32 |
scriptId |
|
| System.Byte |
component |
|
|
Improve this Doc
View Source
ClearTimer(UInt32)
Declaration
public void ClearTimer(uint id)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
|
Improve this Doc
View Source
CopyToClipboard(String)
Declaration
public void CopyToClipboard(string content)
Parameters
| Type |
Name |
Description |
| System.String |
content |
|
|
Improve this Doc
View Source
CreateAreaBlip(Position, Int32, Int32)
Declaration
public IBlip CreateAreaBlip(Position position, int width, int height)
Parameters
| Type |
Name |
Description |
| Position |
position |
|
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
|
Improve this Doc
View Source
CreateAreaBlipPtr(out UInt32, Position, Int32, Int32)
Declaration
public IntPtr CreateAreaBlipPtr(out uint id, Position position, int width, int height)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| Position |
position |
|
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
|
Improve this Doc
View Source
CreateAttachedOutputPtr(out UInt32, UInt32, IWorldObject)
Declaration
public IntPtr CreateAttachedOutputPtr(out uint id, uint categoryHash, IWorldObject worldObject)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.UInt32 |
categoryHash |
|
| IWorldObject |
worldObject |
|
Returns
|
Improve this Doc
View Source
CreateAudio(String, Single, Boolean, Boolean, String)
Declaration
public IAudio CreateAudio(string source, float volume, bool isRadio = false, bool clearCache = true, string basePath = "")
Parameters
| Type |
Name |
Description |
| System.String |
source |
|
| System.Single |
volume |
|
| System.Boolean |
isRadio |
|
| System.Boolean |
clearCache |
|
| System.String |
basePath |
|
Returns
|
Improve this Doc
View Source
CreateAudioFilter(UInt32)
Declaration
public IAudioFilter CreateAudioFilter(uint hash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
CreateAudioFilterPtr(out UInt32, UInt32)
Declaration
public IntPtr CreateAudioFilterPtr(out uint id, uint hash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.UInt32 |
hash |
|
Returns
|
Improve this Doc
View Source
CreateAudioOutputAttached(UInt32, IWorldObject)
Declaration
public IAudioOutputAttached CreateAudioOutputAttached(uint categoryHash, IWorldObject worldObject)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
categoryHash |
|
| IWorldObject |
worldObject |
|
Returns
|
Improve this Doc
View Source
CreateAudioOutputFrontend(UInt32)
Declaration
public IAudioOutputFrontend CreateAudioOutputFrontend(uint categoryHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
categoryHash |
|
Returns
|
Improve this Doc
View Source
CreateAudioOutputWorld(UInt32, Position)
Declaration
public IAudioOutputWorld CreateAudioOutputWorld(uint categoryHash, Position pos)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
categoryHash |
|
| Position |
pos |
|
Returns
|
Improve this Doc
View Source
CreateAudioPtr(out UInt32, String, Single, Boolean, Boolean, String)
Declaration
public IntPtr CreateAudioPtr(out uint id, string source, float volume, bool isRadio = false, bool clearCache = true, string basePath = "")
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.String |
source |
|
| System.Single |
volume |
|
| System.Boolean |
isRadio |
|
| System.Boolean |
clearCache |
|
| System.String |
basePath |
|
Returns
|
Improve this Doc
View Source
CreateCheckpoint(CheckpointType, Vector3, Vector3, Single, Single, Rgba, Rgba, UInt32)
Declaration
public ICheckpoint CreateCheckpoint(CheckpointType type, Vector3 pos, Vector3 nextPos, float radius, float height, Rgba color, Rgba iconColor, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| CheckpointType |
type |
|
| System.Numerics.Vector3 |
pos |
|
| System.Numerics.Vector3 |
nextPos |
|
| System.Single |
radius |
|
| System.Single |
height |
|
| Rgba |
color |
|
| Rgba |
iconColor |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateCheckpointPtr(out UInt32, CheckpointType, Vector3, Vector3, Single, Single, Rgba, Rgba, UInt32)
Declaration
public IntPtr CreateCheckpointPtr(out uint id, CheckpointType type, Vector3 pos, Vector3 nextPos, float radius, float height, Rgba color, Rgba iconColor, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| CheckpointType |
type |
|
| System.Numerics.Vector3 |
pos |
|
| System.Numerics.Vector3 |
nextPos |
|
| System.Single |
radius |
|
| System.Single |
height |
|
| Rgba |
color |
|
| Rgba |
iconColor |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCircle(Position, Single)
Declaration
public IColShape CreateColShapeCircle(Position position, float radius)
Parameters
| Type |
Name |
Description |
| Position |
position |
|
| System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCirclePtr(out UInt32, Position, Single)
Declaration
public IntPtr CreateColShapeCirclePtr(out uint id, Position position, float radius)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| Position |
position |
|
| System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCube(Position, Position)
Declaration
public IColShape CreateColShapeCube(Position pos1, Position pos2)
Parameters
Returns
|
Improve this Doc
View Source
CreateColShapeCubePtr(out UInt32, Position, Position)
Declaration
public IntPtr CreateColShapeCubePtr(out uint id, Position pos1, Position pos2)
Parameters
Returns
|
Improve this Doc
View Source
CreateColShapeCylinder(Position, Single, Single)
Declaration
public IColShape CreateColShapeCylinder(Position position, float radius, float height)
Parameters
| Type |
Name |
Description |
| Position |
position |
|
| System.Single |
radius |
|
| System.Single |
height |
|
Returns
|
Improve this Doc
View Source
CreateColShapeCylinderPtr(out UInt32, Position, Single, Single)
Declaration
public IntPtr CreateColShapeCylinderPtr(out uint id, Position position, float radius, float height)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| Position |
position |
|
| 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
CreateColShapePolygonPtr(out UInt32, Single, Single, Vector2[])
Declaration
public IntPtr CreateColShapePolygonPtr(out uint id, float minZ, float maxZ, Vector2[] points)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| 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
CreateColShapeRectanglePtr(out UInt32, Single, Single, Single, Single, Single)
Declaration
public IntPtr CreateColShapeRectanglePtr(out uint id, float x1, float y1, float x2, float y2, float z)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.Single |
x1 |
|
| System.Single |
y1 |
|
| System.Single |
x2 |
|
| System.Single |
y2 |
|
| System.Single |
z |
|
Returns
|
Improve this Doc
View Source
CreateColShapeSphere(Vector3, Single)
Declaration
public IColShape CreateColShapeSphere(Vector3 position, float radius)
Parameters
| Type |
Name |
Description |
| System.Numerics.Vector3 |
position |
|
| System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateColShapeSpherePtr(out UInt32, Vector3, Single)
Declaration
public IntPtr CreateColShapeSpherePtr(out uint id, Vector3 position, float radius)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.Numerics.Vector3 |
position |
|
| System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateFrontendOutputPtr(out UInt32, UInt32)
Declaration
public IntPtr CreateFrontendOutputPtr(out uint id, uint categoryHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.UInt32 |
categoryHash |
|
Returns
|
Improve this Doc
View Source
CreateHttpClient()
Declaration
public IHttpClient CreateHttpClient()
Returns
|
Improve this Doc
View Source
CreateHttpClientPtr(out UInt32)
Declaration
public IntPtr CreateHttpClientPtr(out uint id)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
CreateLocalObject(UInt32, Position, Rotation, Boolean, Boolean, Boolean, UInt32)
Declaration
public ILocalObject CreateLocalObject(uint modelHash, Position position, Rotation rotation, bool noOffset = false, bool dynamic = false, bool useStreaming = false, uint streamingDistance = 0U)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
| Position |
position |
|
| Rotation |
rotation |
|
| System.Boolean |
noOffset |
|
| System.Boolean |
dynamic |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateLocalObjectPtr(out UInt32, UInt32, Position, Rotation, Boolean, Boolean, Boolean, UInt32)
Declaration
public IntPtr CreateLocalObjectPtr(out uint id, uint modelHash, Position position, Rotation rotation, bool noOffset = false, bool dynamic = false, bool useStreaming = false, uint streamingDistance = 0U)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.UInt32 |
modelHash |
|
| Position |
position |
|
| Rotation |
rotation |
|
| System.Boolean |
noOffset |
|
| System.Boolean |
dynamic |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateLocalPed(UInt32, Int32, Position, Rotation, Boolean, UInt32)
Declaration
public ILocalPed CreateLocalPed(uint modelHash, int dimension, Position position, Rotation rotation, bool useStreaming, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
| System.Int32 |
dimension |
|
| Position |
position |
|
| Rotation |
rotation |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateLocalVehicle(UInt32, Int32, Position, Rotation, Boolean, UInt32)
Declaration
public ILocalVehicle CreateLocalVehicle(uint modelHash, int dimension, Position position, Rotation rotation, bool useStreaming, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
| System.Int32 |
dimension |
|
| Position |
position |
|
| Rotation |
rotation |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateMarker(MarkerType, Position, Rgba, Boolean, UInt32)
Declaration
public IMarker CreateMarker(MarkerType type, Position pos, Rgba color, bool useStreaming, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| MarkerType |
type |
|
| Position |
pos |
|
| Rgba |
color |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreateMarkerPtr(out UInt32, MarkerType, Position, Rgba, Boolean, UInt32)
Declaration
public IntPtr CreateMarkerPtr(out uint id, MarkerType type, Position pos, Rgba color, bool useStreaming, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| MarkerType |
type |
|
| Position |
pos |
|
| Rgba |
color |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
Improve this Doc
View Source
CreatePointBlip(Position)
Declaration
public IBlip CreatePointBlip(Position position)
Parameters
Returns
|
Improve this Doc
View Source
CreatePointBlipPtr(out UInt32, Position)
Declaration
public IntPtr CreatePointBlipPtr(out uint id, Position position)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| Position |
position |
|
Returns
|
Improve this Doc
View Source
CreateRadiusBlip(Position, Single)
Declaration
public IBlip CreateRadiusBlip(Position position, float radius)
Parameters
| Type |
Name |
Description |
| Position |
position |
|
| System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateRadiusBlipPtr(out UInt32, Position, Single)
Declaration
public IntPtr CreateRadiusBlipPtr(out uint id, Position position, float radius)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| Position |
position |
|
| System.Single |
radius |
|
Returns
|
Improve this Doc
View Source
CreateRmlDocument(String)
Declaration
public IRmlDocument CreateRmlDocument(string url)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
Returns
|
Improve this Doc
View Source
CreateRmlDocumentPtr(out UInt32, String)
Declaration
public IntPtr CreateRmlDocumentPtr(out uint id, string url)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.String |
url |
|
Returns
|
Improve this Doc
View Source
CreateTextLabel(String, String, Single, Single, Position, Rotation, Rgba, Single, Rgba, Boolean, UInt32)
Declaration
public ITextLabel CreateTextLabel(string name, string fontName, float fontSize, float scale, Position pos, Rotation rot, Rgba color, float outlineWidth, Rgba outlineColor, bool useStreaming, uint streamingDistance)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
fontName |
|
| System.Single |
fontSize |
|
| System.Single |
scale |
|
| Position |
pos |
|
| Rotation |
rot |
|
| Rgba |
color |
|
| System.Single |
outlineWidth |
|
| Rgba |
outlineColor |
|
| System.Boolean |
useStreaming |
|
| System.UInt32 |
streamingDistance |
|
Returns
|
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 |
|
| 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
CreateWebSocketClient(String)
Declaration
public IWebSocketClient CreateWebSocketClient(string url)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
Returns
|
Improve this Doc
View Source
CreateWebSocketClientPtr(out UInt32, String)
Declaration
public IntPtr CreateWebSocketClientPtr(out uint id, string url)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.String |
url |
|
Returns
|
Improve this Doc
View Source
CreateWebView(String, Boolean, Nullable<Vector2>, Nullable<Vector2>)
Declaration
public IWebView CreateWebView(string url, bool isOverlay = false, Vector2? pos = default(Vector2? ), Vector2? size = default(Vector2? ))
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
| System.Boolean |
isOverlay |
|
| System.Nullable<System.Numerics.Vector2> |
pos |
|
| System.Nullable<System.Numerics.Vector2> |
size |
|
Returns
|
Improve this Doc
View Source
CreateWebView(String, UInt32, String)
Declaration
public IWebView CreateWebView(string url, uint propHash, string targetTexture)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
| System.UInt32 |
propHash |
|
| System.String |
targetTexture |
|
Returns
|
Improve this Doc
View Source
CreateWebViewPtr(out UInt32, String, Boolean, Nullable<Vector2>, Nullable<Vector2>)
Declaration
public IntPtr CreateWebViewPtr(out uint id, string url, bool isOverlay = false, Vector2? pos = default(Vector2? ), Vector2? size = default(Vector2? ))
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.String |
url |
|
| System.Boolean |
isOverlay |
|
| System.Nullable<System.Numerics.Vector2> |
pos |
|
| System.Nullable<System.Numerics.Vector2> |
size |
|
Returns
|
Improve this Doc
View Source
CreateWebViewPtr(out UInt32, String, UInt32, String)
Declaration
public IntPtr CreateWebViewPtr(out uint id, string url, uint propHash, string targetTexture)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.String |
url |
|
| System.UInt32 |
propHash |
|
| System.String |
targetTexture |
|
Returns
|
Improve this Doc
View Source
CreateWorldOutputPtr(out UInt32, UInt32, Position)
Declaration
public IntPtr CreateWorldOutputPtr(out uint id, uint categoryHash, Position pos)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
| System.UInt32 |
categoryHash |
|
| Position |
pos |
|
Returns
|
Improve this Doc
View Source
DoesConfigFlagExist(String)
Declaration
public bool DoesConfigFlagExist(string flagName)
Parameters
| Type |
Name |
Description |
| System.String |
flagName |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
EveryTick(Action, String, Int32)
Declaration
public uint EveryTick(Action action, string filePath = "", int lineNumber = 0)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
| System.String |
filePath |
|
| System.Int32 |
lineNumber |
|
Returns
| Type |
Description |
| System.UInt32 |
|
|
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 |
| IReadOnlyCollection<IBlip> |
|
|
Improve this Doc
View Source
GetAllCheckpoints()
Declaration
public IReadOnlyCollection<ICheckpoint> GetAllCheckpoints()
Returns
|
Improve this Doc
View Source
GetAllColShapes()
Declaration
public IReadOnlyCollection<IColShape> GetAllColShapes()
Returns
| Type |
Description |
| IReadOnlyCollection<IColShape> |
|
|
Improve this Doc
View Source
GetAllLocalObjects()
Declaration
public IReadOnlyCollection<ILocalObject> GetAllLocalObjects()
Returns
|
Improve this Doc
View Source
GetAllLocalPeds()
Declaration
public IReadOnlyCollection<ILocalPed> GetAllLocalPeds()
Returns
| Type |
Description |
| IReadOnlyCollection<ILocalPed> |
|
|
Improve this Doc
View Source
GetAllLocalVehicles()
Declaration
public IReadOnlyCollection<ILocalVehicle> GetAllLocalVehicles()
Returns
|
Improve this Doc
View Source
GetAllMarkers()
Declaration
public IReadOnlyCollection<IMarker> GetAllMarkers()
Returns
| Type |
Description |
| IReadOnlyCollection<IMarker> |
|
|
Improve this Doc
View Source
GetAllNetworkObjects()
Declaration
public IReadOnlyCollection<IObject> GetAllNetworkObjects()
Returns
| Type |
Description |
| IReadOnlyCollection<IObject> |
|
|
Improve this Doc
View Source
GetAllPeds()
Declaration
public IReadOnlyCollection<IPed> GetAllPeds()
Returns
| Type |
Description |
| IReadOnlyCollection<IPed> |
|
|
Improve this Doc
View Source
GetAllPlayers()
Declaration
public IReadOnlyCollection<IPlayer> GetAllPlayers()
Returns
| Type |
Description |
| IReadOnlyCollection<IPlayer> |
|
|
Improve this Doc
View Source
GetAllResources()
Declaration
public INativeResource[] GetAllResources()
Returns
|
Improve this Doc
View Source
GetAllTextLabels()
Declaration
public IReadOnlyCollection<ITextLabel> GetAllTextLabels()
Returns
|
Improve this Doc
View Source
GetAllVehicles()
Declaration
public IReadOnlyCollection<IVehicle> GetAllVehicles()
Returns
| Type |
Description |
| IReadOnlyCollection<IVehicle> |
|
|
Improve this Doc
View Source
GetAllVirtualEntities()
Declaration
public IReadOnlyCollection<IVirtualEntity> GetAllVirtualEntities()
Returns
|
Improve this Doc
View Source
GetAllVirtualEntityGroups()
Declaration
public IReadOnlyCollection<IVirtualEntityGroup> GetAllVirtualEntityGroups()
Returns
|
Improve this Doc
View Source
GetAllWeaponData()
Declaration
public WeaponData[] GetAllWeaponData()
Returns
|
Improve this Doc
View Source
GetAllWorldObjects()
Declaration
public IReadOnlyCollection<ILocalObject> GetAllWorldObjects()
Returns
|
Improve this Doc
View Source
GetAudioCategoryByName(String)
Declaration
public AudioCategory GetAudioCategoryByName(string audioCategory)
Parameters
| Type |
Name |
Description |
| System.String |
audioCategory |
|
Returns
|
Improve this Doc
View Source
GetBaseObjectById(BaseObjectType, UInt32)
Declaration
public IBaseObject GetBaseObjectById(BaseObjectType type, uint id)
Parameters
Returns
|
Improve this Doc
View Source
GetBlipByGameId(UInt32)
Declaration
public IBlip GetBlipByGameId(uint gameId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
gameId |
|
Returns
|
Improve this Doc
View Source
GetCheckpointByGameID(UInt32)
Declaration
public ICheckpoint GetCheckpointByGameID(uint gameId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
gameId |
|
Returns
|
Improve this Doc
View Source
GetConfigFlag(String)
Declaration
public bool GetConfigFlag(string flagName)
Parameters
| Type |
Name |
Description |
| System.String |
flagName |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
GetCursorPos(Boolean)
Declaration
public Vector2 GetCursorPos(bool normalized)
Parameters
| Type |
Name |
Description |
| System.Boolean |
normalized |
|
Returns
| Type |
Description |
| System.Numerics.Vector2 |
|
|
Improve this Doc
View Source
GetDiscordUser()
Declaration
public DiscordUser? GetDiscordUser()
Returns
|
Improve this Doc
View Source
GetGxtText(UInt32)
Declaration
public string GetGxtText(uint key)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
key |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetHandlingByModelHash(UInt32)
Declaration
public HandlingData GetHandlingByModelHash(uint modelHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
Returns
|
Improve this Doc
View Source
GetHeadshotBase64(Byte)
Declaration
public string GetHeadshotBase64(byte id)
Parameters
| Type |
Name |
Description |
| System.Byte |
id |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Declaration
public void GetLocalMetaData<T>(string key, out MValueConst result)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| MValueConst |
result |
|
Type Parameters
|
Improve this Doc
View Source
GetMapZoomData(String)
Declaration
public MapZoomData GetMapZoomData(string alias)
Parameters
| Type |
Name |
Description |
| System.String |
alias |
|
Returns
|
Improve this Doc
View Source
GetMapZoomData(UInt32)
Declaration
public MapZoomData GetMapZoomData(uint id)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
GetPermissionState(Permission)
Declaration
public bool GetPermissionState(Permission permission)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
GetPoolCount(String)
Declaration
public uint GetPoolCount(string pool)
Parameters
| Type |
Name |
Description |
| System.String |
pool |
|
Returns
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
GetPoolEntities(String)
Declaration
public uint[] GetPoolEntities(string pool)
Parameters
| Type |
Name |
Description |
| System.String |
pool |
|
Returns
| Type |
Description |
| System.UInt32[] |
|
|
Improve this Doc
View Source
GetPoolSize(String)
Declaration
public uint GetPoolSize(string pool)
Parameters
| Type |
Name |
Description |
| System.String |
pool |
|
Returns
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
GetRegisteredClientEvents()
Declaration
public virtual IEnumerable<string> GetRegisteredClientEvents()
Returns
| Type |
Description |
| IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetRegisteredServerEvents()
Declaration
public virtual IEnumerable<string> GetRegisteredServerEvents()
Returns
| Type |
Description |
| IEnumerable<System.String> |
|
|
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
GetStat(String, out Boolean)
Declaration
public void GetStat(string stat, out bool value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Boolean |
value |
|
|
Improve this Doc
View Source
GetStat(String, out Byte)
Declaration
public void GetStat(string stat, out byte value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Byte |
value |
|
|
Improve this Doc
View Source
GetStat(String, out Int32)
Declaration
public void GetStat(string stat, out int value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Int32 |
value |
|
|
Improve this Doc
View Source
GetStat(String, out Int64)
Declaration
public void GetStat(string stat, out long value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Int64 |
value |
|
|
Improve this Doc
View Source
GetStat(String, out Single)
Declaration
public void GetStat(string stat, out float value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Single |
value |
|
|
Improve this Doc
View Source
GetStat(String, out String)
Declaration
public void GetStat(string stat, out string value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.String |
value |
|
|
Improve this Doc
View Source
GetStat(String, out UInt16)
Declaration
public void GetStat(string stat, out ushort value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.UInt16 |
value |
|
|
Improve this Doc
View Source
GetStat(String, out UInt32)
Declaration
public void GetStat(string stat, out uint value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.UInt32 |
value |
|
|
Improve this Doc
View Source
GetStat(String, out UInt64)
Declaration
public void GetStat(string stat, out ulong value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.UInt64 |
value |
|
|
Improve this Doc
View Source
GetStatType(String)
Declaration
public string GetStatType(string stat)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetVoiceFilter(UInt32)
Declaration
public IAudioFilter GetVoiceFilter(uint playerRemoteId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
Returns
|
Improve this Doc
View Source
GetVoiceNonSpatialVolume(UInt32)
Declaration
public float GetVoiceNonSpatialVolume(uint playerRemoteId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetVoicePlayers()
Declaration
public uint[] GetVoicePlayers()
Returns
| Type |
Description |
| System.UInt32[] |
|
|
Improve this Doc
View Source
GetVoiceSpatialVolume(UInt32)
Declaration
public float GetVoiceSpatialVolume(uint playerRemoteId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetWeaponDataByWeaponHash(UInt32)
Declaration
public WeaponData GetWeaponDataByWeaponHash(uint weaponHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
weaponHash |
|
Returns
|
Improve this Doc
View Source
GetWorldObjectByScriptID(BaseObjectType, UInt32)
Declaration
public IWorldObject GetWorldObjectByScriptID(BaseObjectType type, uint scriptId)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public bool HasLocalMetaData(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
HasResource(String)
Declaration
public bool HasResource(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsKeyDown(Key)
Declaration
public bool IsKeyDown(Key key)
Parameters
| Type |
Name |
Description |
| Key |
key |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsKeyToggled(Key)
Declaration
public bool IsKeyToggled(Key key)
Parameters
| Type |
Name |
Description |
| Key |
key |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsPointOnScreen(Vector3)
Declaration
public bool IsPointOnScreen(Vector3 position)
Parameters
| Type |
Name |
Description |
| System.Numerics.Vector3 |
position |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsTextureExistInArchetype(UInt32, String)
Declaration
public bool IsTextureExistInArchetype(uint modelHash, string targetTextureName)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
| System.String |
targetTextureName |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
LoadDefaultIpls()
Declaration
public void LoadDefaultIpls()
|
Improve this Doc
View Source
LoadModel(UInt32)
Declaration
public void LoadModel(uint modelHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
|
Improve this Doc
View Source
LoadModelAsync(UInt32)
Declaration
public void LoadModelAsync(uint modelHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
|
Improve this Doc
View Source
LoadRmlFont(String, String, Boolean, Boolean)
Declaration
public void LoadRmlFont(string path, string name, bool italic = false, bool bold = false)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
| System.String |
name |
|
| System.Boolean |
italic |
|
| System.Boolean |
bold |
|
|
Improve this Doc
View Source
LoadYtyp(String)
Declaration
public bool LoadYtyp(string ytypName)
Parameters
| Type |
Name |
Description |
| System.String |
ytypName |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
LogDebug(String)
Declaration
public void LogDebug(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
|
Improve this Doc
View Source
LogError(String)
Declaration
public void LogError(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
|
Improve this Doc
View Source
LogInfo(String)
Declaration
public void LogInfo(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
|
Improve this Doc
View Source
LogWarning(String)
Declaration
public void LogWarning(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
|
Improve this Doc
View Source
MarshalStringArrayPtrAndFree(IntPtr, UInt32)
Declaration
public string[] MarshalStringArrayPtrAndFree(IntPtr ptr, uint size)
Parameters
| Type |
Name |
Description |
| IntPtr |
ptr |
|
| System.UInt32 |
size |
|
Returns
| Type |
Description |
| System.String[] |
|
|
Improve this Doc
View Source
NextTick(Action, String, Int32)
Declaration
public uint NextTick(Action action, string filePath = "", int lineNumber = 0)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
| System.String |
filePath |
|
| System.Int32 |
lineNumber |
|
Returns
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
OnAnyResourceError(String)
Declaration
public void OnAnyResourceError(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
|
Improve this Doc
View Source
OnAnyResourceStart(String)
Declaration
public void OnAnyResourceStart(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
|
Improve this Doc
View Source
OnAnyResourceStop(String)
Declaration
public void OnAnyResourceStop(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
|
Improve this Doc
View Source
OnAudioEvent(IntPtr, String, IntPtr[])
Declaration
public void OnAudioEvent(IntPtr audioPtr, string name, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
audioPtr |
|
| System.String |
name |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
OnCheckpoint(IntPtr, IntPtr, BaseObjectType, Boolean)
Declaration
public void OnCheckpoint(IntPtr colshapepointer, IntPtr targetentitypointer, BaseObjectType entitytype, bool state)
Parameters
| Type |
Name |
Description |
| IntPtr |
colshapepointer |
|
| IntPtr |
targetentitypointer |
|
| BaseObjectType |
entitytype |
|
| System.Boolean |
state |
|
|
Improve this Doc
View Source
OnClientEvent(String, IntPtr[])
Declaration
public void OnClientEvent(string name, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| IntPtr[] |
args |
|
|
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 |
| IntPtr |
colshapepointer |
|
| IntPtr |
targetentitypointer |
|
| BaseObjectType |
entitytype |
|
| System.Boolean |
state |
|
|
Improve this Doc
View Source
OnConnectionComplete()
Declaration
public void OnConnectionComplete()
|
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
OnCreateBaseObject(IntPtr, BaseObjectType, UInt32)
Declaration
public void OnCreateBaseObject(IntPtr baseObject, BaseObjectType type, uint id)
Parameters
| Type |
Name |
Description |
| IntPtr |
baseObject |
|
| BaseObjectType |
type |
|
| System.UInt32 |
id |
|
|
Improve this Doc
View Source
OnEntityHitEntity(IntPtr, BaseObjectType, IntPtr, BaseObjectType, UInt32)
Declaration
public void OnEntityHitEntity(IntPtr targetpointer, BaseObjectType targettype, IntPtr damagerpointer, BaseObjectType damagertype, uint weaponhash)
Parameters
| Type |
Name |
Description |
| IntPtr |
targetpointer |
|
| BaseObjectType |
targettype |
|
| IntPtr |
damagerpointer |
|
| BaseObjectType |
damagertype |
|
| System.UInt32 |
weaponhash |
|
|
Improve this Doc
View Source
OnGameEntityCreate(IntPtr, BaseObjectType)
Declaration
public void OnGameEntityCreate(IntPtr pointer, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnGameEntityDestroy(IntPtr, BaseObjectType)
Declaration
public void OnGameEntityDestroy(IntPtr pointer, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
Declaration
public void OnGlobalMetaChange(string key, IntPtr valuePtr, IntPtr oldValuePtr)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| IntPtr |
valuePtr |
|
| IntPtr |
oldValuePtr |
|
|
Improve this Doc
View Source
Declaration
public void OnGlobalSyncedMetaChange(string key, IntPtr valuePtr, IntPtr oldValuePtr)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| IntPtr |
valuePtr |
|
| IntPtr |
oldValuePtr |
|
|
Improve this Doc
View Source
OnKeyDown(Key)
Declaration
public void OnKeyDown(Key key)
Parameters
| Type |
Name |
Description |
| Key |
key |
|
|
Improve this Doc
View Source
OnKeyUp(Key)
Declaration
public void OnKeyUp(Key key)
Parameters
| Type |
Name |
Description |
| Key |
key |
|
|
Improve this Doc
View Source
Declaration
public void OnLocalMetaChange(string key, IntPtr valuePtr, IntPtr oldValuePtr)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| IntPtr |
valuePtr |
|
| IntPtr |
oldValuePtr |
|
|
Improve this Doc
View Source
Declaration
public void OnMetaChange(IntPtr targetPtr, BaseObjectType type, string key, IntPtr valuePtr, IntPtr oldValuePtr)
Parameters
| Type |
Name |
Description |
| IntPtr |
targetPtr |
|
| BaseObjectType |
type |
|
| System.String |
key |
|
| IntPtr |
valuePtr |
|
| IntPtr |
oldValuePtr |
|
|
Improve this Doc
View Source
OnNetOwnerChange(IntPtr, BaseObjectType, IntPtr, IntPtr)
Declaration
public void OnNetOwnerChange(IntPtr targetPtr, BaseObjectType type, IntPtr newOwnerPtr, IntPtr oldOwnerPtr)
Parameters
| Type |
Name |
Description |
| IntPtr |
targetPtr |
|
| BaseObjectType |
type |
|
| IntPtr |
newOwnerPtr |
|
| IntPtr |
oldOwnerPtr |
|
|
Improve this Doc
View Source
OnPlayerBulletHit(UInt32, IntPtr, BaseObjectType, Position)
Declaration
public void OnPlayerBulletHit(uint weapon, IntPtr victimPointer, BaseObjectType victimType, Position pos)
Parameters
|
Improve this Doc
View Source
OnPlayerChangeAnimation(IntPtr, BaseObjectType, UInt32, UInt32, UInt32, UInt32)
Declaration
public void OnPlayerChangeAnimation(IntPtr playerPtr, BaseObjectType type, uint oldDict, uint newDict, uint oldName, uint newName)
Parameters
| Type |
Name |
Description |
| IntPtr |
playerPtr |
|
| BaseObjectType |
type |
|
| System.UInt32 |
oldDict |
|
| System.UInt32 |
newDict |
|
| System.UInt32 |
oldName |
|
| System.UInt32 |
newName |
|
|
Improve this Doc
View Source
OnPlayerChangeInterior(IntPtr, BaseObjectType, UInt32, UInt32)
Declaration
public void OnPlayerChangeInterior(IntPtr playerPtr, BaseObjectType type, uint oldIntLoc, uint newIntLoc)
Parameters
| Type |
Name |
Description |
| IntPtr |
playerPtr |
|
| BaseObjectType |
type |
|
| System.UInt32 |
oldIntLoc |
|
| System.UInt32 |
newIntLoc |
|
|
Improve this Doc
View Source
OnPlayerChangeVehicleSeat(IntPtr, BaseObjectType, Byte, Byte)
Declaration
public void OnPlayerChangeVehicleSeat(IntPtr vehiclePtr, BaseObjectType type, byte oldSeat, byte newSeat)
Parameters
| Type |
Name |
Description |
| IntPtr |
vehiclePtr |
|
| BaseObjectType |
type |
|
| System.Byte |
oldSeat |
|
| System.Byte |
newSeat |
|
|
Improve this Doc
View Source
OnPlayerDisconnect()
Declaration
public void OnPlayerDisconnect()
|
Improve this Doc
View Source
OnPlayerEnterVehicle(IntPtr, BaseObjectType, Byte)
Declaration
public void OnPlayerEnterVehicle(IntPtr pointer, BaseObjectType type, byte seat)
Parameters
| Type |
Name |
Description |
| IntPtr |
pointer |
|
| BaseObjectType |
type |
|
| System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerLeaveVehicle(IntPtr, BaseObjectType, Byte)
Declaration
public void OnPlayerLeaveVehicle(IntPtr vehiclePtr, BaseObjectType type, byte seat)
Parameters
| Type |
Name |
Description |
| IntPtr |
vehiclePtr |
|
| BaseObjectType |
type |
|
| System.Byte |
seat |
|
|
Improve this Doc
View Source
OnPlayerSpawn()
Declaration
public void OnPlayerSpawn()
|
Improve this Doc
View Source
OnPlayerStartEnterVehicle(IntPtr, BaseObjectType, IntPtr, BaseObjectType, Byte)
Declaration
public void OnPlayerStartEnterVehicle(IntPtr targetpointer, BaseObjectType type, IntPtr playerPointer, BaseObjectType playerType, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerStartLeaveVehicle(IntPtr, BaseObjectType, IntPtr, BaseObjectType, Byte)
Declaration
public void OnPlayerStartLeaveVehicle(IntPtr targetpointer, BaseObjectType type, IntPtr playerPointer, BaseObjectType playerType, byte seat)
Parameters
|
Improve this Doc
View Source
OnPlayerWeaponChange(UInt32, UInt32)
Declaration
public void OnPlayerWeaponChange(uint oldWeapon, uint newWeapon)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
oldWeapon |
|
| System.UInt32 |
newWeapon |
|
|
Improve this Doc
View Source
OnPlayerWeaponShoot(UInt32, UInt16, UInt16)
Declaration
public void OnPlayerWeaponShoot(uint weapon, ushort totalAmmo, ushort ammoInClip)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
weapon |
|
| System.UInt16 |
totalAmmo |
|
| System.UInt16 |
ammoInClip |
|
|
Improve this Doc
View Source
OnRemoveBaseObject(IntPtr, BaseObjectType)
Declaration
public void OnRemoveBaseObject(IntPtr baseObject, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnRemoveEntity(IntPtr, BaseObjectType)
Declaration
public void OnRemoveEntity(IntPtr targetPtr, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnRmlElementEvent(IntPtr, String, IntPtr)
Declaration
public void OnRmlElementEvent(IntPtr rmlElementPtr, string name, IntPtr pointer)
Parameters
| Type |
Name |
Description |
| IntPtr |
rmlElementPtr |
|
| System.String |
name |
|
| IntPtr |
pointer |
|
|
Improve this Doc
View Source
OnScriptRPC(IntPtr, String, IntPtr[], UInt16)
Declaration
public void OnScriptRPC(IntPtr eventpointer, string name, IntPtr[] args, ushort answerid)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventpointer |
|
| System.String |
name |
|
| IntPtr[] |
args |
|
| System.UInt16 |
answerid |
|
|
Improve this Doc
View Source
OnScriptRPCAnswer(UInt16, IntPtr, String)
Declaration
public void OnScriptRPCAnswer(ushort answerid, IntPtr answer, string answerError)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
answerid |
|
| IntPtr |
answer |
|
| System.String |
answerError |
|
|
Improve this Doc
View Source
OnServerEvent(String, IntPtr[])
Declaration
public void OnServerEvent(string name, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
Declaration
public void OnStreamSyncedMetaChange(IntPtr targetPtr, BaseObjectType type, string key, IntPtr valuePtr, IntPtr oldValuePtr)
Parameters
| Type |
Name |
Description |
| IntPtr |
targetPtr |
|
| BaseObjectType |
type |
|
| System.String |
key |
|
| IntPtr |
valuePtr |
|
| IntPtr |
oldValuePtr |
|
|
Improve this Doc
View Source
Declaration
public void OnSyncedMetaChange(IntPtr targetPtr, BaseObjectType type, string key, IntPtr valuePtr, IntPtr oldValuePtr)
Parameters
| Type |
Name |
Description |
| IntPtr |
targetPtr |
|
| BaseObjectType |
type |
|
| System.String |
key |
|
| IntPtr |
valuePtr |
|
| IntPtr |
oldValuePtr |
|
|
Improve this Doc
View Source
OnTaskChange(Int32, Int32)
Declaration
public void OnTaskChange(int oldTask, int newTask)
Parameters
| Type |
Name |
Description |
| System.Int32 |
oldTask |
|
| System.Int32 |
newTask |
|
|
Improve this Doc
View Source
OnTick()
Declaration
|
Improve this Doc
View Source
OnVoiceConnection(VoiceConnectionState)
Declaration
public void OnVoiceConnection(VoiceConnectionState state)
Parameters
|
Improve this Doc
View Source
OnWeaponDamage(IntPtr, IntPtr, BaseObjectType, UInt32, UInt16, Position, BodyPart, IntPtr, BaseObjectType)
Declaration
public void OnWeaponDamage(IntPtr eventPointer, IntPtr entityPointer, BaseObjectType entityType, uint weapon, ushort damage, Position shotOffset, BodyPart bodyPart, IntPtr sourceEntityPointer, BaseObjectType sourceEntityType)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventPointer |
|
| IntPtr |
entityPointer |
|
| BaseObjectType |
entityType |
|
| System.UInt32 |
weapon |
|
| System.UInt16 |
damage |
|
| Position |
shotOffset |
|
| BodyPart |
bodyPart |
|
| IntPtr |
sourceEntityPointer |
|
| BaseObjectType |
sourceEntityType |
|
|
Improve this Doc
View Source
OnWebSocketEvent(IntPtr, String, IntPtr[])
Declaration
public void OnWebSocketEvent(IntPtr webSocketPtr, string name, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
webSocketPtr |
|
| System.String |
name |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
OnWebViewEvent(IntPtr, String, IntPtr[])
Declaration
public void OnWebViewEvent(IntPtr webViewPtr, string name, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
webViewPtr |
|
| System.String |
name |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
OnWindowFocusChange(Byte)
Declaration
public void OnWindowFocusChange(byte state)
Parameters
| Type |
Name |
Description |
| System.Byte |
state |
|
|
Improve this Doc
View Source
OnWindowResolutionChange(Vector2, Vector2)
Declaration
public void OnWindowResolutionChange(Vector2 oldRes, Vector2 newRes)
Parameters
| Type |
Name |
Description |
| System.Numerics.Vector2 |
oldRes |
|
| System.Numerics.Vector2 |
newRes |
|
|
Improve this Doc
View Source
OnWorldObjectPositionChange(IntPtr, BaseObjectType, Position)
Declaration
public void OnWorldObjectPositionChange(IntPtr targetPtr, BaseObjectType type, Position position)
Parameters
|
Improve this Doc
View Source
OnWorldObjectStreamIn(IntPtr, BaseObjectType)
Declaration
public void OnWorldObjectStreamIn(IntPtr targetPtr, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
OnWorldObjectStreamOut(IntPtr, BaseObjectType)
Declaration
public void OnWorldObjectStreamOut(IntPtr targetPtr, BaseObjectType type)
Parameters
|
Improve this Doc
View Source
PedBonesPosition(Int32, UInt16)
Declaration
public Vector3 PedBonesPosition(int scriptId, ushort boneId)
Parameters
| Type |
Name |
Description |
| System.Int32 |
scriptId |
|
| System.UInt16 |
boneId |
|
Returns
| Type |
Description |
| System.Numerics.Vector3 |
|
|
Improve this Doc
View Source
RegisterFont(String)
Declaration
public IFont RegisterFont(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Returns
|
Improve this Doc
View Source
ReloadVehiclePhysics(UInt32)
Declaration
public bool ReloadVehiclePhysics(uint modelHash)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
modelHash |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RemoveAudioEventListener(IntPtr, String, Function)
Declaration
public bool RemoveAudioEventListener(IntPtr audioPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
audioPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RemoveClientEventListener(String, Function)
Declaration
public bool RemoveClientEventListener(string name, Function function)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| Function |
function |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RemoveGxtText(UInt32)
Declaration
public void RemoveGxtText(uint key)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
key |
|
|
Improve this Doc
View Source
RemoveIpl(String)
Declaration
public void RemoveIpl(string iplName)
Parameters
| Type |
Name |
Description |
| System.String |
iplName |
|
|
Improve this Doc
View Source
RemoveRmlElementEventListener(IntPtr, String, Function)
Declaration
public bool RemoveRmlElementEventListener(IntPtr rmlElementPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
rmlElementPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RemoveServerEventListener(String, Function)
Declaration
public bool RemoveServerEventListener(string name, Function function)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| Function |
function |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RemoveVoiceFilter(UInt32)
Declaration
public void RemoveVoiceFilter(uint playerRemoteId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
|
Improve this Doc
View Source
RemoveVoicePlayer(UInt32)
Declaration
public void RemoveVoicePlayer(uint playerRemoteId)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
|
Improve this Doc
View Source
RemoveWebSocketEventListener(IntPtr, String, Function)
Declaration
public bool RemoveWebSocketEventListener(IntPtr webSocketPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
webSocketPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RemoveWebViewEventListener(IntPtr, String, Function)
Declaration
public bool RemoveWebViewEventListener(IntPtr webViewPtr, string name, Function function)
Parameters
| Type |
Name |
Description |
| IntPtr |
webViewPtr |
|
| System.String |
name |
|
| Function |
function |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RequestIpl(String)
Declaration
public void RequestIpl(string iplName)
Parameters
| Type |
Name |
Description |
| System.String |
iplName |
|
|
Improve this Doc
View Source
ResetAllMapZoomData()
Declaration
public void ResetAllMapZoomData()
|
Improve this Doc
View Source
ResetMinimapComponentPosition(String)
Declaration
public void ResetMinimapComponentPosition(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
|
Improve this Doc
View Source
ResetStat(String)
Declaration
public void ResetStat(string stat)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
|
Improve this Doc
View Source
ScreenToWorld(Vector2)
Declaration
public Vector3 ScreenToWorld(Vector2 position)
Parameters
| Type |
Name |
Description |
| System.Numerics.Vector2 |
position |
|
Returns
| Type |
Description |
| System.Numerics.Vector3 |
|
|
Improve this Doc
View Source
SetConfigFlag(String, Boolean)
Declaration
public void SetConfigFlag(string flagName, bool value)
Parameters
| Type |
Name |
Description |
| System.String |
flagName |
|
| System.Boolean |
value |
|
|
Improve this Doc
View Source
SetCursorPos(Vector2, Boolean)
Declaration
public void SetCursorPos(Vector2 pos, bool normalized)
Parameters
| Type |
Name |
Description |
| System.Numerics.Vector2 |
pos |
|
| System.Boolean |
normalized |
|
|
Improve this Doc
View Source
SetInterval(Action, UInt32, String, Int32)
Declaration
public uint SetInterval(Action action, uint duration, string filePath = "", int lineNumber = 0)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
| System.UInt32 |
duration |
|
| System.String |
filePath |
|
| System.Int32 |
lineNumber |
|
Returns
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
SetMinimapComponentPosition(String, Char, Char, Single, Single, Single, Single)
Declaration
public void SetMinimapComponentPosition(string name, char alignX, char alignY, float posX, float posY, float sizeX, float sizeY)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Char |
alignX |
|
| System.Char |
alignY |
|
| System.Single |
posX |
|
| System.Single |
posY |
|
| System.Single |
sizeX |
|
| System.Single |
sizeY |
|
|
Improve this Doc
View Source
SetPedDlcClothes(Int32, UInt32, Byte, Byte, Byte, Byte)
Declaration
public void SetPedDlcClothes(int scriptId, uint dlc, byte component, byte drawable, byte texture, byte palette)
Parameters
| Type |
Name |
Description |
| System.Int32 |
scriptId |
|
| System.UInt32 |
dlc |
|
| System.Byte |
component |
|
| System.Byte |
drawable |
|
| System.Byte |
texture |
|
| System.Byte |
palette |
|
|
Improve this Doc
View Source
SetPedDlcProp(Int32, UInt32, Byte, Byte, Byte)
Declaration
public void SetPedDlcProp(int scriptId, uint dlc, byte component, byte drawable, byte texture)
Parameters
| Type |
Name |
Description |
| System.Int32 |
scriptId |
|
| System.UInt32 |
dlc |
|
| System.Byte |
component |
|
| System.Byte |
drawable |
|
| System.Byte |
texture |
|
|
Improve this Doc
View Source
SetRotationVelocity(Int32, Rotation)
Declaration
public void SetRotationVelocity(int scriptId, Rotation velocity)
Parameters
| Type |
Name |
Description |
| System.Int32 |
scriptId |
|
| Rotation |
velocity |
|
|
Improve this Doc
View Source
SetStat(String, Boolean)
Declaration
public void SetStat(string stat, bool value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Boolean |
value |
|
|
Improve this Doc
View Source
SetStat(String, Byte)
Declaration
public void SetStat(string stat, byte value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Byte |
value |
|
|
Improve this Doc
View Source
SetStat(String, Int32)
Declaration
public void SetStat(string stat, int value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Int32 |
value |
|
|
Improve this Doc
View Source
SetStat(String, Int64)
Declaration
public void SetStat(string stat, long value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Int64 |
value |
|
|
Improve this Doc
View Source
SetStat(String, Single)
Declaration
public void SetStat(string stat, float value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.Single |
value |
|
|
Improve this Doc
View Source
SetStat(String, String)
Declaration
public void SetStat(string stat, string value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.String |
value |
|
|
Improve this Doc
View Source
SetStat(String, UInt16)
Declaration
public void SetStat(string stat, ushort value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.UInt16 |
value |
|
|
Improve this Doc
View Source
SetStat(String, UInt32)
Declaration
public void SetStat(string stat, uint value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.UInt32 |
value |
|
|
Improve this Doc
View Source
SetStat(String, UInt64)
Declaration
public void SetStat(string stat, ulong value)
Parameters
| Type |
Name |
Description |
| System.String |
stat |
|
| System.UInt64 |
value |
|
|
Improve this Doc
View Source
SetTimeout(Action, UInt32, String, Int32)
Declaration
public uint SetTimeout(Action action, uint duration, string filePath = "", int lineNumber = 0)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
| System.UInt32 |
duration |
|
| System.String |
filePath |
|
| System.Int32 |
lineNumber |
|
Returns
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
SetVoiceNonSpatialVolume(UInt32, Single)
Declaration
public void SetVoiceNonSpatialVolume(uint playerRemoteId, float volume)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
| System.Single |
volume |
|
|
Improve this Doc
View Source
SetVoiceSpatialVolume(UInt32, Single)
Declaration
public void SetVoiceSpatialVolume(uint playerRemoteId, float volume)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
playerRemoteId |
|
| System.Single |
volume |
|
|
Improve this Doc
View Source
SetWatermarkPosition(WatermarkPosition)
Declaration
public void SetWatermarkPosition(WatermarkPosition position)
Parameters
|
Improve this Doc
View Source
SetWeatherCycle(Byte[], Byte[])
Declaration
public void SetWeatherCycle(byte[] weathers, byte[] multipliers)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
weathers |
|
| System.Byte[] |
multipliers |
|
|
Improve this Doc
View Source
SetWeatherSyncActive(Boolean)
Declaration
public void SetWeatherSyncActive(bool state)
Parameters
| Type |
Name |
Description |
| System.Boolean |
state |
|
|
Improve this Doc
View Source
ShowCursor(Boolean)
Declaration
public void ShowCursor(bool state)
Parameters
| Type |
Name |
Description |
| System.Boolean |
state |
|
|
Improve this Doc
View Source
StringToSha256(String)
Declaration
public string StringToSha256(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
TakeScreenshot()
Declaration
public async Task<string> TakeScreenshot()
Returns
| Type |
Description |
| Task<System.String> |
|
|
Improve this Doc
View Source
TakeScreenshotGameOnly()
Declaration
public async Task<string> TakeScreenshotGameOnly()
Returns
| Type |
Description |
| Task<System.String> |
|
|
Improve this Doc
View Source
TriggerServerEvent(IntPtr, MValueConst[])
Declaration
public void TriggerServerEvent(IntPtr eventNamePtr, MValueConst[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEvent(IntPtr, IntPtr[])
Declaration
public void TriggerServerEvent(IntPtr eventNamePtr, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEvent(IntPtr, Object[])
Declaration
public void TriggerServerEvent(IntPtr eventNamePtr, params object[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEvent(String, MValueConst[])
Declaration
public void TriggerServerEvent(string eventName, MValueConst[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEvent(String, IntPtr[])
Declaration
public void TriggerServerEvent(string eventName, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEvent(String, Object[])
Declaration
public void TriggerServerEvent(string eventName, params object[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEventUnreliable(IntPtr, MValueConst[])
Declaration
public void TriggerServerEventUnreliable(IntPtr eventNamePtr, MValueConst[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEventUnreliable(IntPtr, IntPtr[])
Declaration
public void TriggerServerEventUnreliable(IntPtr eventNamePtr, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEventUnreliable(IntPtr, Object[])
Declaration
public void TriggerServerEventUnreliable(IntPtr eventNamePtr, params object[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEventUnreliable(String, MValueConst[])
Declaration
public void TriggerServerEventUnreliable(string eventName, MValueConst[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEventUnreliable(String, IntPtr[])
Declaration
public void TriggerServerEventUnreliable(string eventName, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerServerEventUnreliable(String, Object[])
Declaration
public void TriggerServerEventUnreliable(string eventName, params object[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerServerRPCAnswer(UInt16, MValueConst, String)
Declaration
public void TriggerServerRPCAnswer(ushort answerId, MValueConst answer, string error)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
answerId |
|
| MValueConst |
answer |
|
| System.String |
error |
|
|
Improve this Doc
View Source
TriggerServerRPCAnswer(UInt16, Object, String)
Declaration
public void TriggerServerRPCAnswer(ushort answerId, object answer, string error)
Parameters
| Type |
Name |
Description |
| System.UInt16 |
answerId |
|
| System.Object |
answer |
|
| System.String |
error |
|
|
Improve this Doc
View Source
TriggerServerRPCAnswerEvent(IntPtr, IntPtr[])
Declaration
public ushort TriggerServerRPCAnswerEvent(IntPtr eventNamePtr, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| IntPtr[] |
args |
|
Returns
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
TriggerServerRPCEvent(IntPtr, MValueConst[])
Declaration
public ushort TriggerServerRPCEvent(IntPtr eventNamePtr, MValueConst[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| MValueConst[] |
args |
|
Returns
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
TriggerServerRPCEvent(IntPtr, IntPtr[])
Declaration
public ushort TriggerServerRPCEvent(IntPtr eventNamePtr, IntPtr[] args)
Parameters
| Type |
Name |
Description |
| IntPtr |
eventNamePtr |
|
| IntPtr[] |
args |
|
Returns
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
TriggerServerRPCEvent(String, MValueConst[])
Declaration
public ushort TriggerServerRPCEvent(string eventName, MValueConst[] args)
Parameters
| Type |
Name |
Description |
| System.String |
eventName |
|
| MValueConst[] |
args |
|
Returns
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
TriggerServerRPCEvent(String, Object[])
Declaration
public ushort TriggerServerRPCEvent(string name, params object[] args)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Object[] |
args |
|
Returns
| Type |
Description |
| System.UInt16 |
|
|
Improve this Doc
View Source
UnloadYtyp(String)
Declaration
public bool UnloadYtyp(string ytypName)
Parameters
| Type |
Name |
Description |
| System.String |
ytypName |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
UpdateClipContext(Dictionary<String, String>)
Declaration
public void UpdateClipContext(Dictionary<string, string> context)
Parameters
| Type |
Name |
Description |
| Dictionary<System.String, System.String> |
context |
|
|
Improve this Doc
View Source
WorldToScreen(Vector3)
Declaration
public Vector2 WorldToScreen(Vector3 position)
Parameters
| Type |
Name |
Description |
| System.Numerics.Vector3 |
position |
|
Returns
| Type |
Description |
| System.Numerics.Vector2 |
|
Implements
IDisposable