Interface ISharedCore
Assembly: AltV.Net.Shared.dll
Syntax
public interface ISharedCore : ICApiCore
Properties
|
Improve this Doc
View Source
Branch
Declaration
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CApiVersion
Declaration
string CApiVersion { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
EventStateManager
Declaration
EventStateManager EventStateManager { get; }
Property Value
|
Improve this Doc
View Source
IsDebug
Declaration
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
NativePointer
Declaration
IntPtr NativePointer { get; }
Property Value
|
Improve this Doc
View Source
NetTime
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PoolManager
Declaration
ISharedPoolManager PoolManager { get; }
Property Value
|
Improve this Doc
View Source
Resource
Declaration
ISharedNativeResource Resource { get; }
Property Value
|
Improve this Doc
View Source
SdkVersion
Declaration
string SdkVersion { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UnansweredClientRpcRequest
Declaration
IList<ushort> UnansweredClientRpcRequest { get; }
Property Value
Type |
Description |
IList<System.UInt16> |
|
|
Improve this Doc
View Source
UnansweredServerRpcRequest
Declaration
IList<ushort> UnansweredServerRpcRequest { get; }
Property Value
Type |
Description |
IList<System.UInt16> |
|
|
Improve this Doc
View Source
Version
Declaration
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CreateMValue(out MValueConst, Object)
Declaration
void CreateMValue(out MValueConst mValue, object obj)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Object |
obj |
|
|
Improve this Doc
View Source
CreateMValueBaseObject(out MValueConst, ISharedBaseObject)
Declaration
void CreateMValueBaseObject(out MValueConst mValue, ISharedBaseObject value)
Parameters
|
Improve this Doc
View Source
CreateMValueBool(out MValueConst, Boolean)
Declaration
void CreateMValueBool(out MValueConst mValue, bool value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Boolean |
value |
|
|
Improve this Doc
View Source
CreateMValueByteArray(out MValueConst, Byte[])
Declaration
void CreateMValueByteArray(out MValueConst mValue, byte[] value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Byte[] |
value |
|
|
Improve this Doc
View Source
CreateMValueDict(out MValueConst, String[], MValueConst[], UInt64)
Declaration
void CreateMValueDict(out MValueConst mValue, string[] keys, MValueConst[] val, ulong size)
Parameters
|
Improve this Doc
View Source
CreateMValueDouble(out MValueConst, Double)
Declaration
void CreateMValueDouble(out MValueConst mValue, double value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Double |
value |
|
|
Improve this Doc
View Source
CreateMValueFunction(out MValueConst, IntPtr)
Declaration
void CreateMValueFunction(out MValueConst mValue, IntPtr value)
Parameters
|
Improve this Doc
View Source
CreateMValueInt(out MValueConst, Int64)
Declaration
void CreateMValueInt(out MValueConst mValue, long value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Int64 |
value |
|
|
Improve this Doc
View Source
CreateMValueList(out MValueConst, MValueConst[], UInt64)
Declaration
void CreateMValueList(out MValueConst mValue, MValueConst[] val, ulong size)
Parameters
|
Improve this Doc
View Source
CreateMValueNil(out MValueConst)
Declaration
void CreateMValueNil(out MValueConst mValue)
Parameters
|
Improve this Doc
View Source
CreateMValueRgba(out MValueConst, Rgba)
Declaration
void CreateMValueRgba(out MValueConst mValue, Rgba value)
Parameters
|
Improve this Doc
View Source
CreateMValues(MValueConst[], Object[])
Declaration
void CreateMValues(MValueConst[] mValues, object[] objects)
Parameters
Type |
Name |
Description |
MValueConst[] |
mValues |
|
System.Object[] |
objects |
|
|
Improve this Doc
View Source
CreateMValueString(out MValueConst, String)
Declaration
void CreateMValueString(out MValueConst mValue, string value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.String |
value |
|
|
Improve this Doc
View Source
CreateMValueUInt(out MValueConst, UInt64)
Declaration
void CreateMValueUInt(out MValueConst mValue, ulong value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.UInt64 |
value |
|
|
Improve this Doc
View Source
CreateMValueVector2(out MValueConst, Vector2)
Declaration
void CreateMValueVector2(out MValueConst mValue, Vector2 value)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
System.Numerics.Vector2 |
value |
|
|
Improve this Doc
View Source
CreateMValueVector3(out MValueConst, Position)
Declaration
void CreateMValueVector3(out MValueConst mValue, Position value)
Parameters
|
Improve this Doc
View Source
Declaration
void DeleteMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
FromMValue(in MValueConst, Type, out Object)
Declaration
bool FromMValue(in MValueConst mValue, Type type, out object obj)
Parameters
Type |
Name |
Description |
MValueConst |
mValue |
|
Type |
type |
|
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetBaseObjectById(BaseObjectType, UInt32)
Declaration
ISharedBaseObject GetBaseObjectById(BaseObjectType type, uint id)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
void GetMetaData(string key, out MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
Declaration
void GetSyncedMetaData(string key, out MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
GetVoiceConnectionState()
Declaration
VoiceConnectionState GetVoiceConnectionState()
Returns
|
Improve this Doc
View Source
Hash(String)
Declaration
Parameters
Type |
Name |
Description |
System.String |
hash |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
bool HasMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
bool HasSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMainThread()
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMValueConvertible(Type)
Declaration
bool IsMValueConvertible(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LogColored(IntPtr)
Declaration
void LogColored(IntPtr message)
Parameters
Type |
Name |
Description |
IntPtr |
message |
|
|
Improve this Doc
View Source
LogColored(String)
Declaration
void LogColored(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogDebug(IntPtr)
Do NOT use unless you know what you are doing
Declaration
void LogDebug(IntPtr message)
Parameters
Type |
Name |
Description |
IntPtr |
message |
|
|
Improve this Doc
View Source
LogDebug(String)
Do NOT use unless you know what you are doing
Declaration
void LogDebug(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogError(IntPtr)
Declaration
void LogError(IntPtr message)
Parameters
Type |
Name |
Description |
IntPtr |
message |
|
|
Improve this Doc
View Source
LogError(String)
Declaration
void LogError(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogInfo(IntPtr)
Declaration
void LogInfo(IntPtr message)
Parameters
Type |
Name |
Description |
IntPtr |
message |
|
|
Improve this Doc
View Source
LogInfo(String)
Declaration
void LogInfo(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
LogWarning(IntPtr)
Declaration
void LogWarning(IntPtr message)
Parameters
Type |
Name |
Description |
IntPtr |
message |
|
|
Improve this Doc
View Source
LogWarning(String)
Declaration
void LogWarning(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
MValueFromObject(Object, Type, out Object)
Declaration
bool MValueFromObject(object obj, Type type, out object result)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Type |
type |
|
System.Object |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PtrToStringUtf8AndFree(IntPtr, Int32)
Declaration
string PtrToStringUtf8AndFree(nint str, int size)
Parameters
Type |
Name |
Description |
System.IntPtr |
str |
|
System.Int32 |
size |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RegisterMValueAdapter<T>(IMValueAdapter<T>)
Declaration
void RegisterMValueAdapter<T>(IMValueAdapter<T> adapter)
Parameters
Type Parameters
|
Improve this Doc
View Source
Declaration
void SetMetaData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
ToMValue(Object, Type, out MValueConst)
Declaration
bool ToMValue(object obj, Type type, out MValueConst mValue)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Type |
type |
|
MValueConst |
mValue |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TriggerLocalEvent(IntPtr, MValueConst[])
Declaration
void TriggerLocalEvent(IntPtr eventNamePtr, MValueConst[] args)
Parameters
Type |
Name |
Description |
IntPtr |
eventNamePtr |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerLocalEvent(IntPtr, IntPtr[])
Declaration
void TriggerLocalEvent(IntPtr eventNamePtr, IntPtr[] args)
Parameters
Type |
Name |
Description |
IntPtr |
eventNamePtr |
|
IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerLocalEvent(IntPtr, Object[])
Declaration
void TriggerLocalEvent(IntPtr eventNamePtr, params object[] args)
Parameters
Type |
Name |
Description |
IntPtr |
eventNamePtr |
|
System.Object[] |
args |
|
|
Improve this Doc
View Source
TriggerLocalEvent(String, MValueConst[])
Declaration
void TriggerLocalEvent(string eventName, MValueConst[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
MValueConst[] |
args |
|
|
Improve this Doc
View Source
TriggerLocalEvent(String, IntPtr[])
Declaration
void TriggerLocalEvent(string eventName, IntPtr[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
IntPtr[] |
args |
|
|
Improve this Doc
View Source
TriggerLocalEvent(String, Object[])
Declaration
void TriggerLocalEvent(string eventName, params object[] args)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.Object[] |
args |
|