DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
IrrigationTunnel_Entrance.c
См. документацию.
1
class
Land_IrrigationTunnel_Entrance_01
:
BuildingSuper
2
{
3
override
void
OnDebugSpawn
()
4
{
5
GameInventory
inventory = GetInventory();
6
ItemBase
item;
7
if
(
Class
.
CastTo
(item, inventory.
CreateInInventory
(
"WoodenStick"
)))
8
item.SetQuantityMax();
9
if
(
Class
.
CastTo
(item, inventory.
CreateInInventory
(
"Rope"
)))
10
item.SetQuantityMax();
11
}
12
};
BuildingSuper
Определения
FuelStation.c:2
Class
Super root of all classes in Enforce script.
Определения
EnScript.c:11
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
Определения
3_Game/DayZ/Systems/Inventory/Inventory.c:876
GameInventory
script counterpart to engine's class Inventory
Определения
3_Game/DayZ/Systems/Inventory/Inventory.c:81
ItemBase
Определения
4_World/DayZ/Entities/Core/Inherited/InventoryItem.c:878
Land_IrrigationTunnel_Entrance_01::OnDebugSpawn
override void OnDebugSpawn()
Определения
IrrigationTunnel_Entrance.c:3
Land_IrrigationTunnel_Entrance_01
Определения
IrrigationTunnel_Entrance.c:2
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Ishodniki
scripts
4_World
DayZ
Entities
Building
Rebuildable
IrrigationTunnel_Entrance.c
Создано системой
1.13.2