forked from FabianTerhorst/coreclr-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ISharedPoolManager.cs
24 lines (22 loc) · 1.13 KB
/
ISharedPoolManager.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using AltV.Net.Elements.Entities;
using AltV.Net.Shared.Elements.Entities;
namespace AltV.Net.Shared
{
public interface ISharedPoolManager
{
IReadOnlyEntityPool<ISharedPlayer> Player { get; }
IReadOnlyEntityPool<ISharedVehicle> Vehicle { get; }
IReadOnlyEntityPool<ISharedPed> Ped { get; }
IReadOnlyEntityPool<ISharedObject> Object { get; }
IReadOnlyBaseObjectPool<ISharedBlip> Blip { get; }
IReadOnlyBaseObjectPool<ISharedCheckpoint> Checkpoint { get; }
IReadOnlyBaseObjectPool<ISharedColShape> ColShape { get; }
IReadOnlyBaseObjectPool<ISharedVirtualEntity> VirtualEntity { get; }
IReadOnlyBaseObjectPool<ISharedVirtualEntityGroup> VirtualEntityGroup { get; }
IReadOnlyBaseObjectPool<ISharedMarker> Marker { get; }
ISharedBaseObject GetOrCreate(ISharedCore core, IntPtr entityPointer, BaseObjectType baseObjectType, uint entityId);
ISharedBaseObject GetOrCreate(ISharedCore core, IntPtr entityPointer, BaseObjectType baseObjectType);
ISharedBaseObject Get(IntPtr entityPointer, BaseObjectType baseObjectType);
void Dispose();
}
}