Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:toolworks:docs:apparatus:patterns [2022/05/04 12:59] – vladius | en:toolworks:docs:apparatus:patterns [2022/06/08 21:45] (current) – добавил ; в коде jispar | ||
---|---|---|---|
Line 15: | Line 15: | ||
if (!Cursor.Provide()) | if (!Cursor.Provide()) | ||
{ | { | ||
- | checkNoEntry() | + | checkNoEntry(); |
return T(); | return T(); | ||
} | } | ||
Line 23: | Line 23: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | You can then query for the unique trait like so:<code cpp> | ||
+ | auto EnemyBalance = GetSingleton< | ||
+ | </ | ||
+ |