Table of Contents

Class WorldSceneDetailsCache

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

ScriptableObject cache for storing and managing all world scene details in the game. Provides centralized access and rebuild functionality for scene configuration data.

[CreateAssetMenu(fileName = "WorldSceneDetails", menuName = "FishMMO/World Scene Details")]
public class WorldSceneDetailsCache : ScriptableObject
Inheritance
Object
ScriptableObject
WorldSceneDetailsCache
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Fields

CACHE_FILE_NAME

File name of the cache asset.

public const string CACHE_FILE_NAME = "WorldSceneDetails.asset"

Field Value

string

CACHE_FULL_PATH

Full path to the cache asset file.

public const string CACHE_FULL_PATH = "Assets/Prefabs/Shared/WorldSceneDetails.asset"

Field Value

string

CACHE_PATH

Path to the folder where the cache asset is stored.

public const string CACHE_PATH = "Assets/Prefabs/Shared/"

Field Value

string

Scenes

Dictionary containing all scene details, keyed by scene identifier.

public WorldSceneDetailsDictionary Scenes

Field Value

WorldSceneDetailsDictionary

WorldSceneDetailsReaders

List of readers responsible for loading and rebuilding scene details from various sources.

public List<WorldSceneDetailsCacheReader> WorldSceneDetailsReaders

Field Value

List<WorldSceneDetailsCacheReader>

Methods

Rebuild()

Rebuilds the scene details cache by invoking all registered readers. Returns true if any reader successfully rebuilt the cache.

public bool Rebuild()

Returns

bool

True if the cache was rebuilt by any reader; otherwise, false.