Struct VersionFragmentableList<TItem>
Wrapper for FragmentableList with versioning.
Whenever the list is modified, the version is incremented.
Assembly: fwt.core.dll
Syntax
public struct VersionFragmentableList<TItem> : IDisposable
Type Parameters
| Name |
Description |
| TItem |
Type of item in the list
|
Fields
Values
Declaration
public FragmentableList<TItem> Values
Field Value
Version
Version of the list.
Whenever the list is modified, this value is incremented.
Declaration
Field Value
Properties
IsCreated
Declaration
public bool IsCreated { get; }
Property Value
IsDirty
Declaration
public bool IsDirty { get; }
Property Value
this[int]
Declaration
public TItem this[int index] { get; set; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
Methods
Clear()
Declaration
Dispose()
Declaration
Init(Allocator)
Declaration
public void Init(Allocator allocator)
Parameters
| Type |
Name |
Description |
| Allocator |
allocator |
|
MarkDirty()
Declaration
ResetDirty()
Declaration
TryGetItem(int, out TItem)
Declaration
public bool TryGetItem(int itemIndex, out TItem item)
Parameters
| Type |
Name |
Description |
| int |
itemIndex |
|
| TItem |
item |
|
Returns
Implements
Extension Methods