-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathIPoolManager.cs
32 lines (29 loc) · 1.34 KB
/
IPoolManager.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
25
26
27
28
29
30
31
32
using System;
using AltV.Net.Elements.Entities;
using AltV.Net.Shared;
namespace AltV.Net
{
/// <summary>
/// This pool decides which entity pool to use depending on the entity type
/// </summary>
public interface IPoolManager : ISharedPoolManager
{
new IEntityPool<IPlayer> Player { get; }
new IEntityPool<IVehicle> Vehicle { get; }
new IEntityPool<IPed> Ped { get; }
new IEntityPool<IObject> Object { get; }
new IBaseObjectPool<IBlip> Blip { get; }
new IBaseObjectPool<ICheckpoint> Checkpoint { get; }
new IBaseObjectPool<IColShape> ColShape { get; }
new IBaseObjectPool<IVirtualEntity> VirtualEntity { get; }
new IBaseObjectPool<IVirtualEntityGroup> VirtualEntityGroup { get; }
new IBaseObjectPool<IMarker> Marker { get; }
IBaseObjectPool<IVoiceChannel> VoiceChannel { get; }
IBaseObjectPool<IConnectionInfo> ConnectionInfo { get; }
IBaseObject GetOrCreate(ICore core, IntPtr entityPointer, BaseObjectType baseObjectType, uint entityId);
IBaseObject GetOrCreate(ICore core, IntPtr entityPointer, BaseObjectType baseObjectType);
IBaseObject Get(IntPtr entityPointer, BaseObjectType baseObjectType);
bool Remove(IBaseObject baseObject);
bool Remove(IntPtr entityPointer, BaseObjectType baseObjectType);
}
}