Home
  • Manual
  • Node Index
  • API
  • Changelog
Search Results for

    Show / Hide Table of Contents
    • InsaneScatterbrain
      • AStarPathfinder
      • Calc
      • Color32EqualityComparer
      • EqualityComparer
      • RandomPathWalker
      • TrigMath
    • InsaneScatterbrain.DataStructures
      • Pair<T>
    • InsaneScatterbrain.DelaunatorSharp
      • DelaunatorNoAlloc
    • InsaneScatterbrain.Dependencies
      • DependencyContainer
      • DependencyNotFoundException
      • IDependencyContainer
    • InsaneScatterbrain.Editor.Services
      • Assets
    • InsaneScatterbrain.Editor.Updates
      • UpdateAction
      • Updater
    • InsaneScatterbrain.Extensions
      • ColorExtensions
      • ExceptionExtensions
      • FieldInfoExtensions
      • HashSetExtensions
      • IntExtensions
      • ListExtensions
      • RandomExtensions
      • SortedListExtensions
      • StackExtensions
      • Texture2DDrawingExtensions
      • Texture2DExtensions
      • TypeExtensions
      • Vector2Extensions
      • Vector2IntExtensions
      • Vector3Extensions
      • Vector3IntExtensions
    • InsaneScatterbrain.MapGraph
      • AddFloatsNode
      • AddFloatToVector2Node
      • AddFloatToVector3Node
      • AddIntsNode
      • AddIntToVector2IntNode
      • AddIntToVector3IntNode
      • AddRandomEdgesNode
      • AddVector2IntsNode
      • AddVector2sNode
      • AddVector3IntsNode
      • AddVector3sNode
      • ApplyMaskNode
      • Area
      • AreaExtractor
      • AreaGraph
      • AreaGraphBuilder
      • AreaGraphEdge
      • AreaGraphEdgePool
      • AreaGraphPool
      • AreaPool
      • AreasCentroidPointsNode
      • AreasSpecialBorderPointsNode
      • AreasToPointsNode
      • AStarPathsNode
      • BasicMathOperationNode<T>
      • BasicMathOperationNode<T1, T2, TOut>
      • BspLeafCenterPointsNode
      • BspNode
      • BspNodePool
      • BspTree
      • BspTreePool
      • CellularAutomataSmoothingNewNode
      • CellularAutomataSmoothingNode
      • ChangeTextureSizeNode
      • ClampFloatsNode
      • ClampIntsNode
      • CollectionPool<TCollection, TValue>
      • ConnectAreaGraphCentroidsNode
      • ConnectAreaGraphClosestBorderPointsNode
      • ConnectAreaGraphRandomPointsNode
      • ConnectedPointsToPointsNode
      • ConvertTextureToTilemapNode
      • CopyTilemapDataNode
      • CornerPointsNode
      • CurrentOrEmptyTextureNode
      • DataToTextureNode
      • DictionaryPool<TDictionary, TKey, TValue>
      • DivideFloatsNode
      • DivideIntsNode
      • DivideVector2ByFloatNode
      • DivideVector2IntByIntNode
      • DivideVector2IntsNode
      • DivideVector2sNode
      • DivideVector3ByFloatNode
      • DivideVector3IntByIntNode
      • DivideVector3IntsNode
      • DivideVector3sNode
      • DomainWarpFractalType
      • DomainWarpType
      • DrawAreasNode
      • DrawBorderNode
      • DrawCirclesNode
      • DrawConnectionsBiasedRandomWalkNode
      • DrawGridNode
      • DrawManhattanConnectionsNode
      • DrawNoiseThresholdNode
      • DrawOutlineNode
      • DrawPathsNode
      • DrawPointsNode
      • DrawRectsNode
      • DrawShortestPathNode
      • EmptyTextureNode
      • ExtractAreasNode
      • ExtractColorNode
      • ExtractPointsNode
      • ExtractPointsWithNeighboursNode
      • FastNoiseEnum
      • FlipTextureNode
      • FractalType
      • GameObjectsFromTextureFactory
      • GenerateAreaGraphNode
      • GenerateMstAreaGraphNode
      • GenerateRstAreaGraphNode
      • HexagonalGridOffsetType
      • InvertMaskNode
      • IObjectType<TEntry, TObject>
      • IObjectTypeEntry<T>
      • IObjectTypeSet<TType, TObject>
      • LinePathsNode
      • ListPool<TValue>
      • LoadTextureData
      • MapGraphGraph
      • MapGraphTilemapPrefab
      • Mask
      • MaskPool
      • MaxFloatsNode
      • MaxIntsNode
      • MergeAreasNode
      • MergeMasksNode
      • MergePathsNode
      • MergePointPairsNode
      • MergePointsNode
      • MergeTilemapsNode
      • MinFloatsNode
      • MinIntsNode
      • MultiplyFloatsNode
      • MultiplyIntsNode
      • MultiplyVector2ByFloatNode
      • MultiplyVector2IntByIntNode
      • MultiplyVector2IntsNode
      • MultiplyVector2sNode
      • MultiplyVector3ByFloatNode
      • MultiplyVector3IntByIntNode
      • MultiplyVector3IntsNode
      • MultiplyVector3sNode
      • NamedColor
      • NamedColorNode
      • NamedColorSet
      • NoiseNode
      • ObjectType<TEntry, TObject>
      • ObjectTypeEntry<T>
      • ObjectTypeSet<TType, TEntry, TObject>
      • ObjectTypeSetScriptableObject<TType, TEntry, TObject>
      • OpenObjectTypeSet<TType, TEntry, TObject>
      • Outliner
      • PerlinNoiseFillTextureNode
      • PointsToAreasNode
      • PoolInitializer
      • PowerNode
      • PrefabSet
      • PrefabType
      • PrefabTypeEntry
      • RandomBoolNode
      • RandomBspRoomsNode
      • RandomBspTreeNode
      • RandomColorNode
      • RandomExtensions
      • RandomFloatNode
      • RandomIntNode
      • RandomlyFillTextureNode
      • RandomlyStampTilemapsNode
      • RandomNode<T>
      • RandomNoiseNode
      • RandomPointsNode
      • RandomPointsPerAreaNode
      • RandomRectsNode
      • RandomRngStateNode
      • RandomVector2IntNode
      • RandomVector2Node
      • RandomVector3IntNode
      • RandomVector3Node
      • RandomWalkerNode
      • RandomWalkerPathsNode
      • RangeRandomNode<T>
      • RectCenterPointsNode
      • RectsToAreasNode
      • ReplaceColorNode
      • ReplaceGameObjectChildrenNode
      • ResizeTextureNode
      • RotateTextureNode
      • RotationalSymmetry
      • SaveData
      • SaveTextureData
      • ScaleTextureNode
      • ScaleTextureToNode
      • ScaleTextureVector2Node
      • ShiftTextureNode
      • SplitConnectionsManhattanNode
      • SquareRootNode
      • StackPool<T>
      • StampNode
      • SubtractFloatFromVector2Node
      • SubtractFloatFromVector3Node
      • SubtractFloatsNode
      • SubtractIntFromVector2IntNode
      • SubtractIntFromVector3IntNode
      • SubtractIntsNode
      • SubtractMaskNode
      • SubtractVector2IntsNode
      • SubtractVector2sNode
      • SubtractVector3IntsNode
      • SubtractVector3sNode
      • TextureData
      • TextureData.Color32ArrayFacade
      • TextureDataDrawingExtensions
      • TextureDataExtensions
      • TextureDataPool
      • TextureSizeNode
      • TextureToChildGameObjectsNode
      • TextureToDataNode
      • TextureToGameObjectsNode
      • TextureToMaskNode
      • TextureToNoiseDataNode
      • TextureToTilemapNode
      • TilemapData
      • TilemapDataPool
      • TilemapSet
      • TilemapToDataNode
      • TilemapToTextureNode
      • TilemapType
      • TilemapTypeEntry
      • Tileset
      • TileType
      • TileTypeEntry
      • TransparentColorNode
      • Vector2IntComparer
      • Vector2IntFromFloats
      • Vector2IntFromInts
      • Vector2IntToInts
      • Vector2IntToVector2
      • Vector3IntComparer
      • WaveformFunctionCollapseNode
    • InsaneScatterbrain.MapGraph.Editor
      • AboutWindow
      • AddRandomEdgesNodeView
      • ApplyMaskNodeView
      • AreaSpecialPointsNodeView
      • AStarPathsNodeView
      • CellularAutomataSmoothingNodeNewView
      • CellularAutomataSmoothingNodeView
      • CellularDistanceFunctionConstantNodeView
      • CellularReturnTypeConstantNodeView
      • ChangeTextureSizeNodeView
      • ConnectionsNodeView
      • CornerPointsNodeView
      • DataSetList<T>
      • DataSetListBase<T>
      • DomainWarpFractalTypeNodeView
      • DomainWarpTypeConstantNodeView
      • DrawAreasNodeView
      • DrawBorderNodeView
      • DrawCirclesNodeView
      • DrawConnectionsBiasedRandomWalkNodeView
      • DrawGridNodeView
      • DrawManhattanConnectionsNodeView
      • DrawNoiseThresholdNodeView
      • DrawOutlineNodeView
      • DrawPathsNodeView
      • DrawPointsNodeView
      • DrawRectsNodeView
      • DrawShortestPathConnectionsNodeView
      • EmptyTextureNodeView
      • EnumConstantNodeView<T>
      • ExtractAreasNodeView
      • ExtractColorNodeView
      • ExtractPointsNodeView
      • ExtractPointsWithNeighboursNodeView
      • FlipTextureNodeView
      • FractalTypeNodeView
      • GenerateAreaGraphNodeView
      • GenerateMstAreaGraphNodeView
      • GenerateRstAreaGraphNodeView
      • Initializer
      • InputParametersList
      • InvertMaskNodeView
      • LinePathsNodeView
      • ListBase
      • MapGraphAsset
      • MapGraphAssetUpdater
      • MapGraphCreateMenu
      • MapGraphEditor
      • MapGraphEditorInfo
      • MapGraphEditorSettingsWindow
      • MapGraphEditorSettingsWindowInitializer
      • MapGraphInitializer
      • MapGraphUpdater
      • MergeAreasNodeView
      • NamedColorNodeView
      • NamedColorSetEditor
      • NamedColorSetList
      • NewUpdatesWindow
      • NoiseNodeView
      • NoiseTypeNodeView
      • ObjectTypeEntryList<TType, TEntry, TObject>
      • ObjectTypeSetList<TType, TEntry, TObject>
      • OutputParametersList
      • ParametersList
      • PerlinNoiseFillTextureNodeView
      • PrefabSetEditor
      • PrefabTypeEntryList
      • PrefabTypeList
      • ProcessGraphNodeView
      • RandomBspRoomsNodeView
      • RandomBspTreeNodeView
      • RandomlyFillTextureNodeView
      • RandomlyStampTilemapsNodeView
      • RandomPointsNodeView
      • RandomPointsPerAreaNodeView
      • RandomRectsNodeView
      • RandomWalkerNodeView
      • RandomWalkerPathsNodeView
      • ReplaceColorNodeView
      • ResizeTextureNodeView
      • RotateTextureNodeView
      • RotationalSymmetryNodeView
      • RotationType3dConstantNodeView
      • ScaleTextureNodeView
      • ScaleTextureToNodeView
      • ScaleTextureVector2NodeView
      • ScriptGraphAssetUpdater
      • ScriptNodeViewExtensions
      • ShiftTextureNodeView
      • StampNodeView
      • TextureConstantNodeView
      • TextureToMaskNodeView
      • TilemapConstantNodeView
      • TilemapPrefabEditor
      • TilemapSetConstantNodeView
      • TilemapSetEditor
      • TilemapToTextureNodeView
      • TilemapTypeEntryList
      • TilemapTypeList
      • TilesetConstantNodeView
      • TilesetEditor
      • TileTypeEntryList
      • TileTypeList
      • TransparentColorNodeView
      • UpdateAction_1_10
      • UpdateAction_1_14
      • UpdateAction_1_15
      • UpdateAction_1_2
      • UpdateAction_1_26_1
      • UpdateChecker
      • WaveformFunctionCollapseNodeView
    • InsaneScatterbrain.Pooling
      • IPool
      • Pool<T>
      • PoolManager
    • InsaneScatterbrain.RandomNumberGeneration
      • Rng
      • RngState
    • InsaneScatterbrain.ScriptGraph
      • BoolParameterField
      • BoundsIntParameterField
      • BoundsParameterField
      • Color32ParameterField
      • ComponentDependency
      • ConstantNode
      • ConsumerNode
      • CopyData
      • CopyPaste
      • DataDependency
      • DataSet<T>
      • DataSetItem
      • DataSetScriptableObject<TItem, TOpenSet>
      • DataSetScriptableObject<TItem>
      • ExecutionGraph
      • ExecutionGraphBuilder
      • ExplicitInPortTypesAttribute
      • ExplicitOutPortTypesAttribute
      • ExplicitPortTypesAttribute
      • FloatParameterField
      • IConsumerNode
      • IDataSet
      • IDataSet<T>
      • IDataSetItem
      • IdDeduplicator
      • IInstanceProvider
      • IncompatiblePortTypeException
      • INode
      • InPort
      • InPortAttribute
      • InputNode
      • IntParameterField
      • IOpenDataSet<T>
      • IParameterField
      • IPool
      • IPoolInitializer
      • IPreparable
      • IProcessorNode
      • IProviderNode
      • IScriptGraphInstanceProvider
      • IScriptNode
      • NewInstanceProvider
      • NewScriptGraphInstanceProvider
      • NodeEdge
      • ObjectParameterField
      • OpenDataSet<T>
      • OutPort
      • OutPortAttribute
      • OutputNode
      • PairVector2IntParameterField
      • Pool<T>
      • PoolManager
      • PoolManagerInitializer
      • PoolManagerSingleton
      • Pools
      • PortAttribute
      • PortNotFoundException
      • ProcessGraphNode
      • ProcessorNode
      • ProviderNode
      • RectIntParameterField
      • RectParameterField
      • RequiredPortNotConnectedException
      • RngExtensions
      • ScriptGraphComponents
      • ScriptGraphEditorInfo
      • ScriptGraphGraph
      • ScriptGraphInput
      • ScriptGraphInput<T>
      • ScriptGraphInputBool
      • ScriptGraphInputBounds
      • ScriptGraphInputBoundsInt
      • ScriptGraphInputColor32
      • ScriptGraphInputFloat
      • ScriptGraphInputFloatAsInt
      • ScriptGraphInputInt
      • ScriptGraphInputObject
      • ScriptGraphInputRect
      • ScriptGraphInputRectInt
      • ScriptGraphInputString
      • ScriptGraphInputTexture2D
      • ScriptGraphInputTilemap
      • ScriptGraphInputTilemapSet
      • ScriptGraphInputTileset
      • ScriptGraphInputVector2
      • ScriptGraphInputVector2Int
      • ScriptGraphInputVector3
      • ScriptGraphInputVector3Int
      • ScriptGraphMonoBehaviour
      • ScriptGraphParameter
      • ScriptGraphParameters
      • ScriptGraphPool
      • ScriptGraphPoolManager
      • ScriptGraphPoolManagerSingleton
      • ScriptGraphPort
      • ScriptGraphProcessor
      • ScriptGraphRunner
      • ScriptNode
      • ScriptNodeAttribute
      • SeedType
      • StringParameterField
      • Vector2IntParameterField
      • Vector2ParameterField
      • Vector3IntParameterField
      • Vector3ParameterField
    • InsaneScatterbrain.ScriptGraph.Editor
      • BoolConstantNodeView
      • BoundsConstantNodeView
      • BoundsIntConstantNodeView
      • ColorConstantNodeView
      • ComponentDependencyListFactory
      • ConstantNodeView
      • ConstantNodeViewAttribute
      • DataDependencyListFactory
      • FloatConstantNodeView
      • GroupNodeView
      • InputNodeView
      • IntConstantNodeView
      • NodeDuplicator
      • NodeFactory
      • ObjectConstantNodeView
      • OutPortEdgeConnectListener
      • OutputNodeView
      • OutputParameterResultFormatter
      • OutputParameterResultWindow
      • RandomBspRoomsPreviewBehaviour
      • RectConstantNodeView
      • RectIntConstantNodeView
      • ScriptGraphContextMenu
      • ScriptGraphDebugger
      • ScriptGraphDependencyInstaller
      • ScriptGraphEditor
      • ScriptGraphInitializer
      • ScriptGraphInputEditor
      • ScriptGraphRunnerEditor
      • ScriptGraphSearchBar
      • ScriptGraphValidator
      • ScriptGraphView
      • ScriptGraphViewSelection
      • ScriptGraphViewWindow
      • ScriptNodeView
      • ScriptNodeViewAttribute
      • ScriptNodeViewFactory
      • ScriptNodeViewTypesRegistry
      • StringConstantNodeView
      • Urls
      • Vector2ConstantNodeView
      • Vector2IntConstantNodeView
      • Vector3ConstantNodeView
      • Vector3IntConstantNodeView
    • InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
      • ConstantEntryRegistry
      • DefaultEntryRegistry
      • EntryData
      • EntryFactory
      • GraphEntryRegistry
      • IEntryRegistry
      • InputParametersEntryRegistry
      • ISearchFilter
      • NodeSearchWindow
      • NodeType
      • OutputParametersEntryRegistry
      • ParametersEntryRegistry
      • PortFilter
    • InsaneScatterbrain.Serialization
      • ArraySerializer<T>
      • BoundsIntSerializer
      • BoundsSerializer
      • DataBag
      • DefaultArraySerializer
      • IDeserializer
      • ISerializer
      • RectIntSerializer
      • RectSerializer
      • Serializer
      • Vector2IntSerializer
      • Vector3IntSerializer
    • InsaneScatterbrain.Services
      • Disposer
      • Rng
      • Texture2DFactory
      • Types
    • InsaneScatterbrain.Threading
      • IMainThreadCommand
      • IMainThreadCommandHandler
      • IMainThreadCoroutineCommand
      • IMainThreadCoroutineCommandHandler
      • MainThread
      • MainThreadCommand
      • MainThreadCommandHandler
      • MainThreadCoroutine
      • MainThreadCoroutineCommand
      • MainThreadCoroutineCommandHandler
      • MainThreadUpdater
    • InsaneScatterbrain.Versioning
      • IVersioned
      • SerializedVersion
      • VersionedMonoBehaviour
      • VersionedScriptableObject

    Class ObjectTypeSetScriptableObject<TType, TEntry, TObject>

    Object type set stored as a scriptable object.

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.ScriptableObject
    VersionedScriptableObject
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>
    ObjectTypeSetScriptableObject<TType, TEntry, TObject>
    PrefabSet
    TilemapSet
    Tileset
    Implements
    IVersioned
    IObjectTypeSet<TType, TObject>
    IDataSet<TType>
    IDataSet
    IPreparable
    Inherited Members
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.OpenSet
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.Names
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.OrderedIds
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.Get(string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.GetByName(string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.OnRenamed
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.OnAdded
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.OnRemoved
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.OnMoved
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.Rename(string, string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.Remove(string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.Move(string, int)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.GetName(string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.ContainsId(string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.ContainsName(string)
    DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>.Add(TType)
    VersionedScriptableObject.Version
    VersionedScriptableObject.CreateInstance<T>(Version)
    UnityEngine.ScriptableObject.SetDirty()
    UnityEngine.ScriptableObject.CreateInstance(string)
    UnityEngine.ScriptableObject.CreateInstance(System.Type)
    UnityEngine.ScriptableObject.CreateInstance<T>()
    UnityEngine.Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, bool)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, bool)
    UnityEngine.Object.Destroy(UnityEngine.Object, float)
    UnityEngine.Object.Destroy(UnityEngine.Object)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object, bool)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
    UnityEngine.Object.FindObjectsOfType(System.Type)
    UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, float)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type)
    UnityEngine.Object.ToString()
    UnityEngine.Object.name
    UnityEngine.Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: InsaneScatterbrain.MapGraph
    Syntax
    [Serializable]
    public abstract class ObjectTypeSetScriptableObject<TType, TEntry, TObject> : DataSetScriptableObject<TType, OpenObjectTypeSet<TType, TEntry, TObject>>, IVersioned, IObjectTypeSet<TType, TObject>, IDataSet<TType>, IDataSet, IPreparable where TType : IObjectType<TEntry, TObject> where TEntry : IObjectTypeEntry<TObject> where TObject : Object
    Type Parameters
    Name Description
    TType

    The type of the object type.

    TEntry

    The type of the entries.

    TObject

    The type of the object in the entries.

    Methods

    AddNewEntry(string)

    Declaration
    public void AddNewEntry(string typeId)
    Parameters
    Type Name Description
    string typeId

    Clean()

    Declaration
    public void Clean()

    GetEntryCount(string)

    Declaration
    public int GetEntryCount(string typeId)
    Parameters
    Type Name Description
    string typeId
    Returns
    Type Description
    int

    GetObject(string, int)

    Declaration
    public TObject GetObject(string typeId, int entryIndex)
    Parameters
    Type Name Description
    string typeId
    int entryIndex
    Returns
    Type Description
    TObject

    GetRandomEntry(string, Random)

    Gets a random entry of the given type.

    Declaration
    protected TEntry GetRandomEntry(string typeName, Random random)
    Parameters
    Type Name Description
    string typeName

    The type's name.

    System.Random random

    The random instance used.

    Returns
    Type Description
    TEntry

    A random entry.

    GetRandomObject(string, Random)

    Gets the object for a random entry of the given type.

    Declaration
    public TObject GetRandomObject(string typeName, Random random)
    Parameters
    Type Name Description
    string typeName

    The type's name.

    System.Random random

    The random instance used.

    Returns
    Type Description
    TObject

    A random object.

    GetWeight(string, int)

    Declaration
    public float GetWeight(string typeId, int entryIndex)
    Parameters
    Type Name Description
    string typeId
    int entryIndex
    Returns
    Type Description
    float

    IsWeightEnabled(string)

    Declaration
    public bool IsWeightEnabled(string typeId)
    Parameters
    Type Name Description
    string typeId
    Returns
    Type Description
    bool

    MoveEntry(string, int, int)

    Declaration
    public void MoveEntry(string typeId, int oldIndex, int newIndex)
    Parameters
    Type Name Description
    string typeId
    int oldIndex
    int newIndex

    Prepare()

    Declaration
    public virtual void Prepare()

    RemoveEntry(string, int)

    Declaration
    public void RemoveEntry(string typeId, int entryIndex)
    Parameters
    Type Name Description
    string typeId
    int entryIndex

    SetObject(string, int, TObject)

    Declaration
    public void SetObject(string typeId, int entryIndex, TObject obj)
    Parameters
    Type Name Description
    string typeId
    int entryIndex
    TObject obj

    SetWeight(string, int, float)

    Declaration
    public void SetWeight(string typeId, int entryIndex, float weight)
    Parameters
    Type Name Description
    string typeId
    int entryIndex
    float weight

    SetWeightEnabled(string, bool)

    Declaration
    public void SetWeightEnabled(string typeId, bool enabled)
    Parameters
    Type Name Description
    string typeId
    bool enabled

    Events

    OnEntryRemoved

    Declaration
    public event Action<string, int, TObject> OnEntryRemoved
    Event Type
    Type Description
    System.Action<T1, T2, T3><string, int, TObject>

    OnEntrySet

    Declaration
    public event Action<string, int, TObject, TObject> OnEntrySet
    Event Type
    Type Description
    System.Action<T1, T2, T3, T4><string, int, TObject, TObject>

    Implements

    IVersioned
    IObjectTypeSet<TType, TObject>
    IDataSet<T>
    IDataSet
    IPreparable
    In This Article
    Back to top Generated by DocFX