54 {
55 int attSlotId = InventorySlots.INVALID;
56 if (!
GetGame().IsDedicatedServer() )
57 {
59 }
60
61 if ( super.SetupAction( player, target, item, action_data, extra_data))
62 {
63 if (!
GetGame().IsDedicatedServer())
64 {
65 if(attSlotId != InventorySlots.INVALID)
66 {
67 DetachActionData action_data_a = DetachActionData.Cast(action_data);
69 return true;
70 }
71 return false;
72 }
73 return true;
74 }
75 return false;
76 }
int FindSlotIdToDetach(PlayerBase player, ActionTarget target, ItemBase item)
proto native CGame GetGame()