Skip to content

Game.Prefabs.ReferenceCollector+CollectedReferences

Assembly: Game
Namespace: Game.Prefabs

Type: class public

Base: System.Object

Code

public class CollectedReferences
{
    private readonly System.Collections.Generic.HashSet<Game.Prefabs.PrefabBase> m_PrefabReferences;
    private readonly System.Collections.Generic.HashSet<UnityEngine.ScriptableObject> m_ScriptableObjectReferences;
    private readonly System.Collections.Generic.HashSet<Colossal.IO.AssetDatabase.AssetReference> m_AssetReferences;
    private readonly System.Collections.Generic.HashSet<Colossal.IO.AssetDatabase.AssetData> m_AssetDatas;

    public System.Collections.Generic.IReadOnlyCollection<Game.Prefabs.PrefabBase> prefabReferences { get; }
    public System.Collections.Generic.IReadOnlyCollection<UnityEngine.ScriptableObject> scriptableObjectReferences { get; }
    public System.Collections.Generic.IReadOnlyCollection<Colossal.IO.AssetDatabase.AssetReference> assetReferences { get; }
    public System.Collections.Generic.IReadOnlyCollection<Colossal.IO.AssetDatabase.AssetData> assetDatas { get; }

    public CollectedReferences();

    public System.Void Add(System.Object obj);
}

Fields

  • private readonly System.Collections.Generic.HashSet<Game.Prefabs.PrefabBase> m_PrefabReferences
private readonly System.Collections.Generic.HashSet<Game.Prefabs.PrefabBase> m_PrefabReferences;
  • private readonly System.Collections.Generic.HashSet<UnityEngine.ScriptableObject> m_ScriptableObjectReferences
private readonly System.Collections.Generic.HashSet<UnityEngine.ScriptableObject> m_ScriptableObjectReferences;
  • private readonly System.Collections.Generic.HashSet<Colossal.IO.AssetDatabase.AssetReference> m_AssetReferences
private readonly System.Collections.Generic.HashSet<Colossal.IO.AssetDatabase.AssetReference> m_AssetReferences;
  • private readonly System.Collections.Generic.HashSet<Colossal.IO.AssetDatabase.AssetData> m_AssetDatas
private readonly System.Collections.Generic.HashSet<Colossal.IO.AssetDatabase.AssetData> m_AssetDatas;

Properties

  • public System.Collections.Generic.IReadOnlyCollection<Game.Prefabs.PrefabBase> prefabReferences { get }
public System.Collections.Generic.IReadOnlyCollection<Game.Prefabs.PrefabBase> prefabReferences { get; }
  • public System.Collections.Generic.IReadOnlyCollection<UnityEngine.ScriptableObject> scriptableObjectReferences { get }
public System.Collections.Generic.IReadOnlyCollection<UnityEngine.ScriptableObject> scriptableObjectReferences { get; }
  • public System.Collections.Generic.IReadOnlyCollection<Colossal.IO.AssetDatabase.AssetReference> assetReferences { get }
public System.Collections.Generic.IReadOnlyCollection<Colossal.IO.AssetDatabase.AssetReference> assetReferences { get; }
  • public System.Collections.Generic.IReadOnlyCollection<Colossal.IO.AssetDatabase.AssetData> assetDatas { get }
public System.Collections.Generic.IReadOnlyCollection<Colossal.IO.AssetDatabase.AssetData> assetDatas { get; }

Constructors

  • public CollectedReferences()
public CollectedReferences();

Methods

  • public Add(System.Object obj) : System.Void
public System.Void Add(System.Object obj);