Skip to content

Commit

Permalink
refactor(shared): cleanup nativepointer access
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Dec 20, 2023
1 parent a498386 commit 2ad2945
Show file tree
Hide file tree
Showing 46 changed files with 20 additions and 67 deletions.
6 changes: 3 additions & 3 deletions api/AltV.Net.Async/AsyncEntityPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ public TEntity Create(ICore core, IntPtr entityPointer)

public void Add(TEntity entity)
{
entities[entity.NativePointer] = entity;
entities[entity.EntityNativePointer] = entity;
if (forceAsync && entity is not AsyncEntity)
throw new Exception("Tried to add sync entity to async pool. Probably you used \"new Vehicle\" syntax (should be \"new AsyncVehicle\"), or didn't adapt your custom entity class to new Async API.");
OnAdd(entity);
}

public bool Remove(TEntity entity)
{
return Remove(entity.NativePointer);
return Remove(entity.EntityNativePointer);
}

//TODO: what should happen on failure
Expand All @@ -101,7 +101,7 @@ public bool Remove(IntPtr entityPointer)
if (ptr != IntPtr.Zero)
{
internalEntity.SetCached(ptr);
cache[entity.NativePointer] = new WeakReference<TEntity>(entity);
cache[entity.EntityNativePointer] = new WeakReference<TEntity>(entity);
}
}
}
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Audio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public struct AudioEntity
public class Audio : BaseObject, IAudio
{
public IntPtr AudioNativePointer { get; }
public override IntPtr NativePointer => AudioNativePointer;

public static IntPtr GetBaseObjectNativePointer(ICore core, IntPtr audioNativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/AudioFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public AudioFilter(ICore core, IntPtr audioFilterNativePointer, uint id) : base(
}

public IntPtr AudioFilterNativePointer { get; }
public override IntPtr NativePointer => AudioFilterNativePointer;

public uint Hash
{
Expand Down
2 changes: 0 additions & 2 deletions api/AltV.Net.Client/Elements/Entities/AudioOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public AudioOutput(ICore core, IntPtr audioOutputNativePointer, BaseObjectType t
}

public IntPtr AudioOutputNativePointer { get; }
public override IntPtr NativePointer => AudioOutputNativePointer;


public float Volume
{
Expand Down
2 changes: 0 additions & 2 deletions api/AltV.Net.Client/Elements/Entities/AudioOutputAttached.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,4 @@ public IWorldObject Entity
}
}
}

public override IntPtr NativePointer => AudioOutputAttachedNativePointer;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ public AudioOutputFrontend(ICore core, IntPtr audioOutputFrontendNativePointer,
}

public IntPtr AudioOutputFrontendNativePointer { get; }
public override IntPtr NativePointer => AudioOutputFrontendNativePointer;
}
2 changes: 0 additions & 2 deletions api/AltV.Net.Client/Elements/Entities/AudioOutputWorld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,4 @@ public Position Position
}
}
}

public override IntPtr NativePointer => AudioOutputWorldNativePointer;
}
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/BaseObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace AltV.Net.Client.Elements.Entities
public class BaseObject : SharedBaseObject, IBaseObject
{
public override IntPtr BaseObjectNativePointer { get; protected set; }
public override IntPtr NativePointer => BaseObjectNativePointer;
public override ICore Core { get; }
public override BaseObjectType Type { get; }
public uint Id { get; }
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Blip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace AltV.Net.Client.Elements.Entities
public class Blip : WorldObject, IBlip
{
public IntPtr BlipNativePointer { get; }
public override IntPtr NativePointer => BlipNativePointer;

private static IntPtr GetWorldObjectPointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Checkpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace AltV.Net.Client.Elements.Entities
public class Checkpoint : ColShape, ICheckpoint
{
public IntPtr CheckpointNativePointer { get; }
public override IntPtr NativePointer => CheckpointNativePointer;

private static IntPtr GetColShapePointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/ColShape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace AltV.Net.Client.Elements.Entities
public class ColShape : WorldObject, IColShape
{
public IntPtr ColShapeNativePointer { get; }
public override IntPtr NativePointer => ColShapeNativePointer;

private static IntPtr GetWorldObjectPointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ private static IntPtr GetWorldObjectPointer(ICore core, IntPtr entityPointer)
}

public IntPtr EntityNativePointer { get; private set; }
public override IntPtr NativePointer => EntityNativePointer;

public Entity(ICore core, IntPtr entityPointer, uint id, BaseObjectType type) : base(core, GetWorldObjectPointer(core, entityPointer), type, id)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Font.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ public Font(ICore core, IntPtr fontNativePointer, uint id) : base(core, GetBaseO
}

public IntPtr FontNativePointer { get; }
public override IntPtr NativePointer => FontNativePointer;
}
19 changes: 9 additions & 10 deletions api/AltV.Net.Client/Elements/Entities/HttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace AltV.Net.Client.Elements.Entities
public class HttpClient : BaseObject, IHttpClient
{
public IntPtr HttpClientNativePointer { get; }
public override IntPtr NativePointer => HttpClientNativePointer;

private static IntPtr GetBaseObjectNativePointer(ICore core, IntPtr httpClientNativePointer)
{
Expand Down Expand Up @@ -94,7 +93,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
HttpResponseModuleDelegate resolveTask = ResolveTask;
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
Core.Library.Client.HttpClient_Get(NativePointer, urlPtr, resolveTask);
Core.Library.Client.HttpClient_Get(HttpClientNativePointer, urlPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
}

Expand Down Expand Up @@ -123,7 +122,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
HttpResponseModuleDelegate resolveTask = ResolveTask;
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
Core.Library.Client.HttpClient_Head(NativePointer, urlPtr, resolveTask);
Core.Library.Client.HttpClient_Head(HttpClientNativePointer, urlPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
}

Expand Down Expand Up @@ -153,7 +152,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Connect(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Connect(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down Expand Up @@ -184,7 +183,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Delete(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Delete(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down Expand Up @@ -215,7 +214,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Options(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Options(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down Expand Up @@ -246,7 +245,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Patch(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Patch(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down Expand Up @@ -277,7 +276,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Post(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Post(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down Expand Up @@ -308,7 +307,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Put(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Put(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down Expand Up @@ -339,7 +338,7 @@ void ResolveTask(int statusCode, string body, IntPtr headerKeys, IntPtr headerVa
handle = GCHandle.Alloc(resolveTask);
var urlPtr = MemoryUtils.StringToHGlobalUtf8(url);
var bodyPtr = MemoryUtils.StringToHGlobalUtf8(body);
Core.Library.Client.HttpClient_Trace(NativePointer, urlPtr, bodyPtr, resolveTask);
Core.Library.Client.HttpClient_Trace(HttpClientNativePointer, urlPtr, bodyPtr, resolveTask);
Marshal.FreeHGlobal(urlPtr);
Marshal.FreeHGlobal(bodyPtr);
}
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/LocalObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ private static IntPtr GetObjectPointer(ICore core, IntPtr LocalObjectNativePoint
}

public IntPtr LocalObjectNativePointer { get; }
public override IntPtr NativePointer => LocalObjectNativePointer;

public LocalObject(ICore core, IntPtr objectPointer, uint id) : base(core, GetObjectPointer(core, objectPointer), BaseObjectType.LocalObject, id)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/LocalPed.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace AltV.Net.Client.Elements.Entities;
public class LocalPed : Ped, ILocalPed
{
public IntPtr LocalPedNativePointer { get; }
public override IntPtr NativePointer => LocalPedNativePointer;

private static IntPtr GetPedPointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/LocalVehicle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace AltV.Net.Client.Elements.Entities;
public class LocalVehicle : Vehicle, ILocalVehicle
{
public IntPtr LocalVehicleNativePointer { get; }
public override IntPtr NativePointer => LocalVehicleNativePointer;

private static IntPtr GetVehiclePointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Marker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public Marker(ICore core, IntPtr markerPointer, uint id) : base(core, GetWorldOb
}

public IntPtr MarkerNativePointer { get; }
public override IntPtr NativePointer => MarkerNativePointer;

public bool IsGlobal
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Object.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace AltV.Net.Client.Elements.Entities;
public class Object : Entity, IObject
{
public IntPtr ObjectNativePointer { get; private set; }
public override IntPtr NativePointer => ObjectNativePointer;

private static IntPtr GetEntityPointer(ICore core, IntPtr pointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Ped.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ private static IntPtr GetEntityPointer(ICore core, IntPtr pedNativePointer)
}

public IntPtr PedNativePointer { get; private set; }
public override IntPtr NativePointer => PedNativePointer;

public Ped(ICore core, IntPtr pedNativePointer, uint id) : base(core, GetEntityPointer(core, pedNativePointer), id, BaseObjectType.Ped)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ private static IntPtr GetEntityPointer(ICore core, IntPtr playerNativePointer)
}

public IntPtr PlayerNativePointer { get; private set; }
public override IntPtr NativePointer => PlayerNativePointer;

public Player(ICore core, IntPtr playerPointer, uint id) : base(core, GetEntityPointer(core, playerPointer), id, BaseObjectType.Player)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/RmlDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ private static IntPtr GetRmlElementPointer(ICore core, IntPtr rmlDocumentPointer
}

public IntPtr RmlDocumentNativePointer { get; }
public override IntPtr NativePointer => RmlDocumentNativePointer;

public RmlDocument(ICore core, IntPtr rmlDocumentPointer, uint id) : base(core, GetRmlElementPointer(core, rmlDocumentPointer), BaseObjectType.RmlDocument, id)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/RmlElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ private static IntPtr GetBaseObjectPointer(ICore core, IntPtr rmlElementPointer)
}

public IntPtr RmlElementNativePointer { get; }
public override IntPtr NativePointer => RmlElementNativePointer;

public RmlElement(ICore core, IntPtr rmlElementPointer, uint id) : base(core, GetBaseObjectPointer(core, rmlElementPointer), BaseObjectType.RmlDocument, id)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/TextLabel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public TextLabel(ICore core, IntPtr worldObjectPointer, uint id) : base(core,
}

public IntPtr TextLabelNativePointer { get; }
public override IntPtr NativePointer => TextLabelNativePointer;

public bool IsGlobal
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/Vehicle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ private static IntPtr GetEntityPointer(ICore core, IntPtr vehicleNativePointer)
}

public IntPtr VehicleNativePointer { get; private set; }
public override IntPtr NativePointer => VehicleNativePointer;

public Vehicle(ICore core, IntPtr vehiclePointer, uint id) : base(core, GetEntityPointer(core, vehiclePointer), id, BaseObjectType.Vehicle)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/VirtualEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace AltV.Net.Client.Elements.Entities;
public class VirtualEntity : WorldObject, IVirtualEntity
{
public IntPtr VirtualEntityNativePointer { get; }
public override IntPtr NativePointer => VirtualEntityNativePointer;

public static IntPtr GetWorldObjectPointer(ICore core, IntPtr virtualEntityNativePointer)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public class VirtualEntityGroup : BaseObject, IVirtualEntityGroup
{

public IntPtr VirtualEntityGroupNativePointer { get; }
public override IntPtr NativePointer => VirtualEntityGroupNativePointer;

public static IntPtr GetBaseObjectNativePointer(ICore core, IntPtr virtualEntityGroupNativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/WebSocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace AltV.Net.Client.Elements.Entities
public class WebSocketClient : BaseObject, IWebSocketClient
{
public IntPtr WebSocketClientNativePointer { get; }
public override IntPtr NativePointer => WebSocketClientNativePointer;

private static IntPtr GetBaseObjectNativePointer(ICore core, IntPtr webSocketClientNativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/WebView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ private static IntPtr GetBaseObjectPointer(ICore core, IntPtr webViewNativePoint
}

public IntPtr WebViewNativePointer { get; }
public override IntPtr NativePointer => WebViewNativePointer;

public WebView(ICore core, IntPtr webViewNativePointer, uint id) : base(core, GetBaseObjectPointer(core, webViewNativePointer), BaseObjectType.Webview, id)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net.Client/Elements/Entities/WorldObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ private static IntPtr GetBaseObjectPointer(ICore core, IntPtr worldObjectPointer
}

public IntPtr WorldObjectNativePointer { get; private set; }
public override IntPtr NativePointer => WorldObjectNativePointer;

public WorldObject(ICore core, IntPtr worldObjectPointer, BaseObjectType type, uint id) : base(core, GetBaseObjectPointer(core, worldObjectPointer), type, id)
{
Expand Down
6 changes: 3 additions & 3 deletions api/AltV.Net.Client/Elements/Pools/EntityPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ public EntityPool(IEntityFactory<TEntity> entityFactory)

public void Add(TEntity entity)
{
_entities[entity.NativePointer] = entity;
_entities[entity.EntityNativePointer] = entity;
OnAdd(entity);
}

public bool Remove(TEntity entity)
{
return Remove(entity.NativePointer);
return Remove(entity.EntityNativePointer);
}

public bool Remove(IntPtr entityPointer)
Expand All @@ -56,7 +56,7 @@ public bool Remove(IntPtr entityPointer)
if (ptr != IntPtr.Zero)
{
internalEntity.SetCached(ptr);
cache[entity.NativePointer] = new WeakReference<TEntity>(entity);
cache[entity.EntityNativePointer] = new WeakReference<TEntity>(entity);
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions api/AltV.Net/Elements/Entities/Blip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public IReadOnlyCollection<IPlayer> GetTargets()
}
}

public override IntPtr NativePointer => BlipNativePointer;

public static uint GetId(IntPtr pedPointer)
{
unsafe
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net/Elements/Entities/Checkpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace AltV.Net.Elements.Entities
public class Checkpoint : ColShape, ICheckpoint
{
public IntPtr CheckpointNativePointer { get; }
public override IntPtr NativePointer => CheckpointNativePointer;

private static IntPtr GetColShapePointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net/Elements/Entities/ColShape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace AltV.Net.Elements.Entities
public class ColShape : WorldObject, IColShape
{
public IntPtr ColShapeNativePointer { get; }
public override IntPtr NativePointer => ColShapeNativePointer;

private static IntPtr GetWorldObjectPointer(ICore core, IntPtr nativePointer)
{
Expand Down
1 change: 0 additions & 1 deletion api/AltV.Net/Elements/Entities/ConnectionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class ConnectionInfo : BaseObject, IConnectionInfo
{

public IntPtr ConnectionInfoNativePointer { get; }
public override IntPtr NativePointer => ConnectionInfoNativePointer;

private static IntPtr GetBaseObjectPointer(ICore core, IntPtr virtualEntityGroupNativePointer)
{
Expand Down
Loading

0 comments on commit 2ad2945

Please sign in to comment.