DataObjectIndex.cs declarations
Public API declaration excerpts from ../bitquirky-core/Runtime/Data/DataObjectIndex.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-core/Runtime/Data/DataObjectIndex.cs
Source file hash: sha256:47ffbd0c3546433ae2973e237a81d8a388bbd2cec527df16f939c714eadaeaf3
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: DataObjectIndex
Section titled “Type: DataObjectIndex”Original lines: 45-234
Declaration hash: sha256:527c73196be90455ad708d5c252577256f5e978f3013229eb17daa95fca8bfd9
[CreateAssetMenu(menuName = "Bit Quirky/Data/Object Index", fileName = nameof(DataObjectIndex), order = -7700)]public class DataObjectIndex : GameLogic.GameLogic{}Type: DataObjectDictionary
Section titled “Type: DataObjectDictionary”Original lines: 50-51
Declaration hash: sha256:23b6daa6dbe3a91a517007f5fcc5abf11f8777a9dd2041650448982c20b1e889
[Serializable]public class DataObjectDictionary : UnitySerializedDictionary<string, DataObject>{}Property: DataObjects
Section titled “Property: DataObjects”Original lines: 64
Declaration hash: sha256:0bf2b0c69e014dfdda527b3aa430ad92b0c4bf53250ff7eeb6fa5b49d0adc025
public DataObjectDictionary DataObjects { get; }Property: DefaultInstance
Section titled “Property: DefaultInstance”Original lines: 72-87
Declaration hash: sha256:79d8101e1cbbf14d7bf48d4e65558a685ac56e341b409293c2d27dcd3a0f4500
public static DataObjectIndex DefaultInstance { get; }Method: GetAll<T>()
Section titled “Method: GetAll<T>()”Original lines: 93-97
Declaration hash: sha256:4d19550574be4d95638bb3502e3f813d0e10f57be432c4bd3637bc09638ba5a5
public static List<T> GetAll<T>() where T : DataObject;Method: GetDefault<T>(string objectName)
Section titled “Method: GetDefault<T>(string objectName)”Original lines: 101
Declaration hash: sha256:8060712f81d67f1bf04cb87a8a6bc375c78919beb08299690d3eb7da49f9d930
public static T GetDefault<T>(string objectName) where T : DataObject;Method: TryGet<T>(string objectName, out T value)
Section titled “Method: TryGet<T>(string objectName, out T value)”Original lines: 107-119
Declaration hash: sha256:ff008d74aebab3e975b674b24ccfeedacac8a8f5253ad601a211fae2e496977c
[UsedImplicitly]public bool TryGet<T>(string objectName, out T value) where T : DataObject;Method: Get<T>(string objectName)
Section titled “Method: Get<T>(string objectName)”Original lines: 124-128
Declaration hash: sha256:335cff883722a76c8ddc4ba1e2fb05ac051a22c7e136e554c6bd27b29c709c47
public T Get<T>(string objectName) where T : DataObject;Method: RebuildIndex()
Section titled “Method: RebuildIndex()”Original lines: 135-177
Declaration hash: sha256:89e6ae8fa2b4325dd4a0945efdcf1773d8ba989709af23f2d8dbd1f34c9b9364
[BoxGroup("System Buttons"), Button("Rebuild Data Object Index"), PropertyOrder(999)]public override void RebuildIndex();