Space Engineers
|
Public Member Functions | |
MyObjectsPool (int baseCapacity) | |
bool | AllocateOrCreate (out T item) |
Returns true when new item was allocated More... | |
T | Allocate (bool nullAllowed=false) |
void | Deallocate (T item) |
void | MarkForDeallocate (T item) |
void | MarkAllActiveForDeallocate () |
void | DeallocateAllMarked () |
void | DeallocateAll () |
Properties | |
HashSetReader< T > | Active [get] |
int | ActiveCount [get] |
int | BaseCapacity [get] |
int | Capacity [get] |
T | : | class | |
T | : | new() |
Definition at line 9 of file MyObjectsPool.cs.
|
inline |
Definition at line 48 of file MyObjectsPool.cs.
|
inline |
Definition at line 83 of file MyObjectsPool.cs.
|
inline |
Returns true when new item was allocated
Definition at line 67 of file MyObjectsPool.cs.
|
inline |
Definition at line 100 of file MyObjectsPool.cs.
|
inline |
Definition at line 137 of file MyObjectsPool.cs.
|
inline |
Definition at line 126 of file MyObjectsPool.cs.
|
inline |
Definition at line 118 of file MyObjectsPool.cs.
|
inline |
Definition at line 111 of file MyObjectsPool.cs.
|
get |
Definition at line 25 of file MyObjectsPool.cs.
|
get |
Definition at line 30 of file MyObjectsPool.cs.
|
get |
Definition at line 35 of file MyObjectsPool.cs.
|
get |
Definition at line 40 of file MyObjectsPool.cs.