Interface IEntityThreadRepository
Each thread has a own entity thread repository, so we can split the work between multiple cpus
Assembly: AltV.Net.EntitySync.dll
Syntax
public interface IEntityThreadRepository
Methods
|
Improve this Doc
View Source
Add(IEntity)
Declaration
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
|
Improve this Doc
View Source
GetAll()
Declaration
IEnumerable<IEntity> GetAll()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IEntity> |
|
|
Improve this Doc
View Source
Remove(IEntity)
Declaration
void Remove(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
|
Improve this Doc
View Source
Remove(IList<IEntity>)
Declaration
void Remove(IList<IEntity> entities)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<IEntity> |
entities |
|
|
Improve this Doc
View Source
Remove(UInt64, UInt64)
Declaration
void Remove(ulong id, ulong type)
Parameters
Type |
Name |
Description |
System.UInt64 |
id |
|
System.UInt64 |
type |
|
|
Improve this Doc
View Source
ResetData(IEntity, String)
Declaration
void ResetData(IEntity entity, string key)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
|
Improve this Doc
View Source
TryGet(UInt64, UInt64, out IEntity)
Declaration
bool TryGet(ulong id, ulong type, out IEntity entity)
Parameters
Type |
Name |
Description |
System.UInt64 |
id |
|
System.UInt64 |
type |
|
IEntity |
entity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Update(IEntity)
Declaration
void Update(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
|
Improve this Doc
View Source
UpdateData(IEntity, String, Object)
Declaration
void UpdateData(IEntity entity, string key, object value)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
System.String |
key |
|
System.Object |
value |
|