Delete dead inventory weapon group shell
This commit is contained in:
parent
1066bce086
commit
fed0759074
14 changed files with 29 additions and 981 deletions
|
|
@ -865,12 +865,6 @@ public class ActionGameManager : MonoBehaviour
|
|||
return consumable == null
|
||||
? null
|
||||
: new ActionBarConsumableBinding(entity, slot, consumable);
|
||||
case WeaponGroupDragObject weaponGroupDragAction:
|
||||
return entity.WeaponGroups != null &&
|
||||
weaponGroupDragAction.Group >= 0 &&
|
||||
weaponGroupDragAction.Group < entity.WeaponGroups.Length
|
||||
? new ActionBarWeaponGroupBinding(entity, slot, weaponGroupDragAction.Group)
|
||||
: null;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
@ -3689,16 +3683,6 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
public abstract class DragObject{}
|
||||
|
||||
public class WeaponGroupDragObject : DragObject
|
||||
{
|
||||
public WeaponGroupDragObject(int group)
|
||||
{
|
||||
Group = group;
|
||||
}
|
||||
|
||||
public int Group { get; }
|
||||
}
|
||||
|
||||
public abstract class ItemDragObject : DragObject
|
||||
{
|
||||
protected ItemDragObject(int2 originCellOffset, ItemInstance item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue