en:toolworks:docs:apparatus:patterns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:toolworks:docs:apparatus:patterns [2022/05/04 12:58] – created vladiusen: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 22: Line 22:
     return Trait;     return Trait;
 } }
-</cpp>+</code> 
 + 
 +You can then query for the unique trait like so:<code cpp> 
 +auto EnemyBalance = GetSingleton<FGameBalance, FEnemy>(Mechanism); 
 +</code> 
  • en/toolworks/docs/apparatus/patterns.1651658331.txt.gz
  • Last modified: 2022/05/04 12:58
  • by vladius