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

◆ OnDebugSpawn()

override void FishingRod_Base_New::OnDebugSpawn ( )
inlineprivate

См. определение в файле FishingRod_Base.c строка 42

43 {
44 ItemBase hook;
45 for (int i = 0; i < 6; ++i)
46 {
47 if (Class.CastTo(hook,g_Game.CreateObjectEx("Hook", GetPosition(), ECE_PLACE_ON_SURFACE)))
48 hook.GetInventory().CreateAttachment("Worm");
49 }
50
51 if (Class.CastTo(hook,GetInventory().CreateAttachment("Hook")))
52 hook.GetInventory().CreateAttachment("Worm");
53 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
DayZGame g_Game
Определения DayZGame.c:3942
class GP5GasMask extends MaskBase ItemBase
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

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