См. определение в файле WeaponDebug.c строка 33
34 {
35 Weapon weaponInHands;
36 PlayerBase player = PlayerBase.Cast(
g_Game.GetPlayer());
37 if (player)
38 {
39 Class.CastTo(weaponInHands, player.GetItemInHands());
40 }
41
42 return weaponInHands;
43 }
Перекрестные ссылки Class::CastTo() и g_Game.
Используется в OnPostFrameUpdate().