Class PoolManager
Inheritance
System.Object
PoolManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.dll
Syntax
public class PoolManager : IPoolManager, ISharedPoolManager
Constructors
|
Improve this Doc
View Source
PoolManager(IEntityPool<IPlayer>, IEntityPool<IVehicle>, IEntityPool<IPed>, IEntityPool<IObject>, IBaseObjectPool<IBlip>, IBaseObjectPool<ICheckpoint>, IBaseObjectPool<IVoiceChannel>, IBaseObjectPool<IColShape>, IBaseObjectPool<IVirtualEntity>, IBaseObjectPool<IVirtualEntityGroup>, IBaseObjectPool<IMarker>, IBaseObjectPool<IConnectionInfo>)
Declaration
public PoolManager(IEntityPool<IPlayer> playerPool, IEntityPool<IVehicle> vehiclePool, IEntityPool<IPed> pedPool, IEntityPool<IObject> objectPool, IBaseObjectPool<IBlip> blipPool, IBaseObjectPool<ICheckpoint> checkpointPool, IBaseObjectPool<IVoiceChannel> voiceChannelPool, IBaseObjectPool<IColShape> colShapePool, IBaseObjectPool<IVirtualEntity> virtualEntityPool, IBaseObjectPool<IVirtualEntityGroup> virtualEntityGroupPool, IBaseObjectPool<IMarker> markerPool, IBaseObjectPool<IConnectionInfo> connectionInfoPool)
Parameters
Properties
|
Improve this Doc
View Source
Blip
Declaration
public IBaseObjectPool<IBlip> Blip { get; }
Property Value
|
Improve this Doc
View Source
Checkpoint
Declaration
public IBaseObjectPool<ICheckpoint> Checkpoint { get; }
Property Value
|
Improve this Doc
View Source
ColShape
Declaration
public IBaseObjectPool<IColShape> ColShape { get; }
Property Value
|
Improve this Doc
View Source
ConnectionInfo
Declaration
public IBaseObjectPool<IConnectionInfo> ConnectionInfo { get; }
Property Value
|
Improve this Doc
View Source
Marker
Declaration
public IBaseObjectPool<IMarker> Marker { get; }
Property Value
|
Improve this Doc
View Source
Object
Declaration
public IEntityPool<IObject> Object { get; }
Property Value
|
Improve this Doc
View Source
Ped
Declaration
public IEntityPool<IPed> Ped { get; }
Property Value
|
Improve this Doc
View Source
Player
Declaration
public IEntityPool<IPlayer> Player { get; }
Property Value
|
Improve this Doc
View Source
Vehicle
Declaration
public IEntityPool<IVehicle> Vehicle { get; }
Property Value
|
Improve this Doc
View Source
VirtualEntity
Declaration
public IBaseObjectPool<IVirtualEntity> VirtualEntity { get; }
Property Value
|
Improve this Doc
View Source
VirtualEntityGroup
Declaration
public IBaseObjectPool<IVirtualEntityGroup> VirtualEntityGroup { get; }
Property Value
|
Improve this Doc
View Source
VoiceChannel
Declaration
public IBaseObjectPool<IVoiceChannel> VoiceChannel { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(IBaseObject)
Declaration
public void Add(IBaseObject baseObject)
Parameters
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Get(IntPtr, BaseObjectType)
Declaration
public IBaseObject Get(IntPtr entityPointer, BaseObjectType baseObjectType)
Parameters
Type |
Name |
Description |
System.IntPtr |
entityPointer |
|
BaseObjectType |
baseObjectType |
|
Returns
|
Improve this Doc
View Source
GetOrCreate(ICore, IntPtr, BaseObjectType)
Declaration
public IBaseObject GetOrCreate(ICore core, IntPtr entityPointer, BaseObjectType baseObjectType)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
entityPointer |
|
BaseObjectType |
baseObjectType |
|
Returns
|
Improve this Doc
View Source
GetOrCreate(ICore, IntPtr, BaseObjectType, UInt32)
Declaration
public IBaseObject GetOrCreate(ICore core, IntPtr entityPointer, BaseObjectType baseObjectType, uint entityId)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
entityPointer |
|
BaseObjectType |
baseObjectType |
|
System.UInt32 |
entityId |
|
Returns
|
Improve this Doc
View Source
Remove(IBaseObject)
Declaration
public bool Remove(IBaseObject entity)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Remove(IntPtr, BaseObjectType)
Declaration
public bool Remove(IntPtr entityPointer, BaseObjectType baseObjectType)
Parameters
Type |
Name |
Description |
System.IntPtr |
entityPointer |
|
BaseObjectType |
baseObjectType |
|
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
ISharedPoolManager.Blip
Declaration
IReadOnlyBaseObjectPool<ISharedBlip> ISharedPoolManager.Blip { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.Checkpoint
Declaration
IReadOnlyBaseObjectPool<ISharedCheckpoint> ISharedPoolManager.Checkpoint { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.ColShape
Declaration
IReadOnlyBaseObjectPool<ISharedColShape> ISharedPoolManager.ColShape { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.Marker
Declaration
IReadOnlyBaseObjectPool<ISharedMarker> ISharedPoolManager.Marker { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.Object
Declaration
IReadOnlyEntityPool<ISharedObject> ISharedPoolManager.Object { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.Ped
Declaration
IReadOnlyEntityPool<ISharedPed> ISharedPoolManager.Ped { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.Player
Declaration
IReadOnlyEntityPool<ISharedPlayer> ISharedPoolManager.Player { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.Vehicle
Declaration
IReadOnlyEntityPool<ISharedVehicle> ISharedPoolManager.Vehicle { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.VirtualEntity
Declaration
IReadOnlyBaseObjectPool<ISharedVirtualEntity> ISharedPoolManager.VirtualEntity { get; }
Returns
|
Improve this Doc
View Source
ISharedPoolManager.VirtualEntityGroup
Declaration
IReadOnlyBaseObjectPool<ISharedVirtualEntityGroup> ISharedPoolManager.VirtualEntityGroup { get; }
Returns
Implements