<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CToolSingleton :: Catur Documentation</title>
    <link>https://doc.cdryx.net/CdryxAIOUPlugin/modules/ccoreumodule/tools/ctoolsingleton/index.html</link>
    <description>Overview Typed singleton access wrapping UCSingletonManager. Uses CTypedName keys defined in CSingletonName namespace.&#xA;Functions Name Description getSettings Returns UCSettings* via GetMutableDefault. storeSingleton Store a singleton in the manager. Template-asserts the object derives from the key type. retrieveSingleton Retrieve a singleton cast to the requested type. Logs warning if type mismatch. withSingleton Retrieve and execute lambda if found. Logs warning if not found. // Store storeSingleton(myCoordinator, CSingletonName::CNAME_Singleton_Coordinator); // Retrieve ACCoordinator* coord = retrieveSingleton&lt;ACCoordinator&gt;(CSingletonName::CNAME_Singleton_Coordinator); // Retrieve and use withSingleton&lt;UCQuestManager&gt;(CSingletonName::CNAME_Singleton_QuestManager, [](UCQuestManager* qm) { qm-&gt;StartQuest(); }); // Settings UCSettings* settings = getSettings(); if (settings-&gt;timer) { /* ... */ } Predefined singleton keys (CSingletonName) Name Type CNAME_Singleton_Perf UCPerf CNAME_Singleton_Coordinator ACCoordinator CNAME_Singleton_PlayerSpawner ACPlayerSpawner CNAME_Singleton_RoomSpawner ACRoomSpawner CNAME_Singleton_ActorSpawner ACActorSpawner CNAME_Singleton_WorldSpawner ACWorldSpawner CNAME_Singleton_HexaSpawner ACHexaSpawner CNAME_Singleton_FOWSpawner ACFOWSpawner CNAME_Singleton_MapSpawner ACMapSpawner CNAME_Singleton_CellSpawner ACellSpawner CNAME_Singleton_GameManager UCGameManager CNAME_Singleton_QuestManager UCQuestManager CNAME_Singleton_SkillManager UCSkillManager CNAME_Singleton_ResourceManager UCResourceManager CNAME_Singleton_WorldNoise UCNoisator CNAME_Singleton_ClusterNoise UCNoisator CNAME_Singleton_ClusterShiftNoise UCNoisator CNAME_Singleton_RoomNoise UCNoisator CNAME_Singleton_BiomeNoise UCNoisator</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://doc.cdryx.net/CdryxAIOUPlugin/modules/ccoreumodule/tools/ctoolsingleton/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>