forked from ss13remake/ss13remake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1541f5e
commit 4a9cc51
Showing
14 changed files
with
129 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
SS3D_shared/GO/Equipment/EquipmentState.cs → ...nent/Equipment/EquipmentComponentState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using SS13_Shared.Serialization; | ||
|
||
namespace SS13_Shared.GO.Equipment | ||
{ | ||
[Serializable] | ||
public class EquipmentState : ComponentState | ||
{ | ||
public Dictionary<EquipmentSlot, int> EquippedEntities; | ||
public List<EquipmentSlot> ActiveSlots; | ||
|
||
public EquipmentState(Dictionary<EquipmentSlot, int> _EquippedEntities, List<EquipmentSlot> _ActiveSlots) | ||
: base(ComponentFamily.Equipment) | ||
{ | ||
EquippedEntities = _EquippedEntities; | ||
ActiveSlots = _ActiveSlots; | ||
} | ||
} | ||
using System; | ||
using System.Collections.Generic; | ||
using SS13_Shared.Serialization; | ||
|
||
namespace SS13_Shared.GO.Component.Equipment | ||
{ | ||
[Serializable] | ||
public class EquipmentComponentState : ComponentState | ||
{ | ||
public Dictionary<EquipmentSlot, int> EquippedEntities; | ||
public List<EquipmentSlot> ActiveSlots; | ||
|
||
public EquipmentComponentState(Dictionary<EquipmentSlot, int> _EquippedEntities, List<EquipmentSlot> _ActiveSlots) | ||
: base(ComponentFamily.Equipment) | ||
{ | ||
EquippedEntities = _EquippedEntities; | ||
ActiveSlots = _ActiveSlots; | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
SS3D_shared/GO/Component/Equippable/EquippableComponentState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace SS13_Shared.GO.Component.Equippable | ||
{ | ||
[Serializable] | ||
public class EquippableComponentState : ComponentState | ||
{ | ||
public EquippableComponentState() | ||
: base() | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters