DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetWeaponInHands()

Weapon WeaponDebug::GetWeaponInHands ( )
inlineprivate

См. определение в файле 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 }
DayZGame g_Game
Определения DayZGame.c:4074

Перекрестные ссылки Class::CastTo() и g_Game.

Используется в OnPostFrameUpdate().