DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
UndergroundStash.c
См. документацию.
1class UndergroundStash extends ItemBase
2{
4
6 {
7 vector pos = GetPosition();
8 pos[1] = g_Game.SurfaceRoadY(pos[0], pos[2]);
9 pos[1] = pos[1] + 0.22;
10 SetPosition(pos);
11 }
12
14 {
15 ItemBase item;
16 if (GetInventory().GetCargo().GetItemCount() > 0)
17 {
18 item = ItemBase.Cast(GetInventory().GetCargo().GetItem(0));
19 }
20
21 return item;
22 }
23
24 override bool CanDisplayCargo()
25 {
26 return false;
27 }
28
29 override bool CanPutInCargo(EntityAI parent)
30 {
31 return false;
32 }
33
34 override bool CanReleaseCargo(EntityAI cargo)
35 {
36 return false;
37 }
38
39 override bool CanReceiveItemIntoHands(EntityAI item_to_hands)
40 {
41 return false;
42 }
43
44 override bool CanSaveItemInHands(EntityAI item_in_hands)
45 {
46 return false;
47 }
48
49 override bool CanPutIntoHands(EntityAI parent)
50 {
51 return false;
52 }
53
54 override bool IsInventoryVisible()
55 {
56 return false;
57 }
58}
59
60class UndergroundStashSnow extends UndergroundStash
61{
62}
DayZGame g_Game
Определения DayZGame.c:3942
EntityAI GetItem()
Определения RadialQuickbarMenu.c:37
override bool CanDisplayCargo()
Определения UndergroundStash.c:24
void UndergroundStash()
Определения UndergroundStash.c:3
void PlaceOnGround()
Определения UndergroundStash.c:5
override bool CanReleaseCargo(EntityAI cargo)
Определения UndergroundStash.c:34
override bool IsInventoryVisible()
Определения UndergroundStash.c:54
override bool CanPutIntoHands(EntityAI parent)
Определения UndergroundStash.c:49
override bool CanReceiveItemIntoHands(EntityAI item_to_hands)
Определения UndergroundStash.c:39
override bool CanPutInCargo(EntityAI parent)
Определения UndergroundStash.c:29
override bool CanSaveItemInHands(EntityAI item_in_hands)
Определения UndergroundStash.c:44
ItemBase GetStashedItem()
Определения UndergroundStash.c:13
Определения EnConvert.c:119
proto native void SetPosition(vector position)
Set the world position of the Effect.
Определения Effect.c:463
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473