Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct VersionList<TItem>

    Wrapper for Array with versioning. Whenever the list is modified, the version is incremented.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.Core.Collections
    Assembly: fwt.core.dll
    Syntax
    public struct VersionList<TItem>
    Type Parameters
    Name Description
    TItem

    Type of item in the list

    Fields

    Values

    The list itself.

    Declaration
    public List<TItem> Values
    Field Value
    Type Description
    List<TItem>

    Version

    Version of the list. Whenever the list is modified, this value is incremented.

    Declaration
    public long Version
    Field Value
    Type Description
    long

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    IsCreated

    Declaration
    public bool IsCreated { get; }
    Property Value
    Type Description
    bool

    IsDirty

    Declaration
    public bool IsDirty { get; }
    Property Value
    Type Description
    bool

    this[int]

    Declaration
    public TItem this[int index] { get; set; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    TItem

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    int

    Methods

    Add(TItem)

    Declaration
    public void Add(TItem item)
    Parameters
    Type Name Description
    TItem item

    Clear()

    Declaration
    public void Clear()

    FillArray(TItem)

    Declaration
    public void FillArray(TItem value)
    Parameters
    Type Name Description
    TItem value

    Init()

    Declaration
    public void Init()

    MarkDirty()

    Declaration
    public void MarkDirty()

    RemoveAt(int)

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    int index

    ResetDirty()

    Declaration
    public void ResetDirty()

    SetItemsCount(int)

    Declaration
    public void SetItemsCount(int itemsCount)
    Parameters
    Type Name Description
    int itemsCount

    Extension Methods

    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX