Interface IEntityPool<TEntity>
Assembly: AltV.Net.Client.dll
Syntax
public interface IEntityPool<TEntity> : IReadOnlyEntityPool<TEntity> where TEntity : IEntity
Type Parameters
Methods
|
Improve this Doc
View Source
Add(TEntity)
Declaration
Parameters
Type |
Name |
Description |
TEntity |
entity |
|
|
Improve this Doc
View Source
Create(ICore, IntPtr)
Declaration
TEntity Create(ICore core, IntPtr entityPointer)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
entityPointer |
|
Returns
|
Improve this Doc
View Source
Create(ICore, IntPtr, UInt32)
Declaration
TEntity Create(ICore core, IntPtr entityPointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
entityPointer |
|
System.UInt32 |
id |
|
Returns
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
GetEntitiesArray()
Declaration
KeyValuePair<IntPtr, TEntity>[] GetEntitiesArray()
Returns
Type |
Description |
KeyValuePair<IntPtr, TEntity>[] |
|
|
Improve this Doc
View Source
GetOrCreate(ICore, IntPtr)
Declaration
TEntity GetOrCreate(ICore core, IntPtr entityPointer)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
entityPointer |
|
Returns
|
Improve this Doc
View Source
GetOrCreate(ICore, IntPtr, UInt32)
Declaration
TEntity GetOrCreate(ICore core, IntPtr entityPointer, uint entityId)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
entityPointer |
|
System.UInt32 |
entityId |
|
Returns
|
Improve this Doc
View Source
OnAdd(TEntity)
Declaration
void OnAdd(TEntity entity)
Parameters
Type |
Name |
Description |
TEntity |
entity |
|
|
Improve this Doc
View Source
OnRemove(TEntity)
Declaration
void OnRemove(TEntity entity)
Parameters
Type |
Name |
Description |
TEntity |
entity |
|
|
Improve this Doc
View Source
Remove(TEntity)
Declaration
bool Remove(TEntity entity)
Parameters
Type |
Name |
Description |
TEntity |
entity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Remove(IntPtr)
Declaration
bool Remove(IntPtr entityPointer)
Parameters
Type |
Name |
Description |
IntPtr |
entityPointer |
|
Returns
Type |
Description |
System.Boolean |
|