Class SharedBaseObject
Inheritance
System.Object
SharedBaseObject
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Shared.dll
Syntax
public abstract class SharedBaseObject : ISharedBaseObject, INative, IInternalBaseObject
Properties
|
Improve this Doc
View Source
BaseObjectNativePointer
Declaration
public abstract IntPtr BaseObjectNativePointer { get; protected set; }
Property Value
|
Improve this Doc
View Source
Cached
Declaration
public bool Cached { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Core
Declaration
public abstract ISharedCore Core { get; }
Property Value
|
Improve this Doc
View Source
Exists
Declaration
public bool Exists { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Id
Declaration
public abstract uint Id { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public virtual IntPtr NativePointer { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public abstract BaseObjectType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
CheckIfCallIsValid()
Declaration
[Conditional("DEBUG")]
public virtual void CheckIfCallIsValid()
|
Improve this Doc
View Source
CheckIfEntityExists()
Declaration
public virtual void CheckIfEntityExists()
|
Improve this Doc
View Source
CheckIfEntityExistsOrCached()
Declaration
public void CheckIfEntityExistsOrCached()
|
Improve this Doc
View Source
ClearData()
Declaration
|
Improve this Doc
View Source
DeleteData(String)
Declaration
public void DeleteData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
Declaration
public void DeleteMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
Destroy()
Declaration
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GetAllDataKeys()
Declaration
public IEnumerable<string> GetAllDataKeys()
Returns
Type |
Description |
IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetData<T>(String, out T)
Declaration
public bool GetData<T>(string key, out T result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
Declaration
public void GetMetaData(string key, out MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
Declaration
public bool GetMetaData(string key, out int result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Int32 |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool GetMetaData(string key, out float result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Single |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool GetMetaData(string key, out uint result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.UInt32 |
result |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool GetMetaData<T>(string key, out T result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public void GetSyncedMetaData(string key, out MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
Declaration
public bool GetSyncedMetaData<T>(string key, out T result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
HasData(String)
Declaration
public bool HasData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool HasMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool HasSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OnDestroy()
Declaration
|
Improve this Doc
View Source
SetCached(IntPtr)
Declaration
public virtual void SetCached(IntPtr cachedBaseObject)
Parameters
Type |
Name |
Description |
IntPtr |
cachedBaseObject |
|
|
Improve this Doc
View Source
SetData(String, Object)
Declaration
public void SetData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
|
Improve this Doc
View Source
Declaration
public void SetMetaData(Dictionary<string, object> metaData)
Parameters
Type |
Name |
Description |
Dictionary<System.String, System.Object> |
metaData |
|
|
Improve this Doc
View Source
Declaration
public void SetMetaData(string key, in MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
Declaration
public void SetMetaData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Implements