Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
shippingcontainerkeys_colorbase.c
Go to the documentation of this file.
2{
3 override void InitItemSounds()
4 {
5 super.InitItemSounds();
6
8 handler.AddSound(SoundConstants.ITEM_KEY_BREAK, "AlarmClock_Hit_SoundSet");
9 }
10
11 void DestroyKeyServer()
12 {
13 SetHealth("","",0);
14 StartItemSoundServer(SoundConstants.ITEM_KEY_BREAK);
15 }
16
17 override void SetActions()
18 {
19 super.SetActions();
20
22 }
23};
24
26{
27 override int GetKeyCompatibilityType()
28 {
29 return 1 << EBuildingLockType.SHIP_CONTAINER_0;
30 }
31};
32
34{
35 override int GetKeyCompatibilityType()
36 {
37 return 1 << EBuildingLockType.SHIP_CONTAINER_1;
38 }
39};
40
42{
43 override int GetKeyCompatibilityType()
44 {
45 return 1 << EBuildingLockType.SHIP_CONTAINER_2;
46 }
47};
48
50{
51 override int GetKeyCompatibilityType()
52 {
53 return 1 << EBuildingLockType.SHIP_CONTAINER_3;
54 }
55};
void AddAction(typename actionName)
EBuildingLockType
void StartItemSoundServer(int id)
Definition itembase.c:9258
ItemSoundHandler GetItemSoundHandler()
Definition itembase.c:9229
void ItemSoundHandler(ItemBase parent)