File tree 1 file changed +17
-0
lines changed
src/MHServerEmu/Games/Entities
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,23 @@ public class Entity
114
114
115
115
#endregion
116
116
117
+ #region Property Properties (lol)
118
+
119
+ public int CharacterLevel { get => Properties [ PropertyEnum . CharacterLevel ] ; set => Properties [ PropertyEnum . CharacterLevel ] = value ; }
120
+ public int CombatLevel { get => Properties [ PropertyEnum . CombatLevel ] ; set => Properties [ PropertyEnum . CombatLevel ] = value ; }
121
+
122
+ public ulong PowerUserOverrideId { get => HasPowerUserOverride ? Properties [ PropertyEnum . PowerUserOverrideID ] : 0 ; }
123
+ public PrototypeId ClusterPrototype { get => HasClusterPrototype ? Properties [ PropertyEnum . ClusterPrototype ] : PrototypeId . Invalid ; }
124
+ public PrototypeId EncounterResourcePrototype { get => HasEncounterResourcePrototype ? Properties [ PropertyEnum . EncounterResource ] : PrototypeId . Invalid ; }
125
+ public PrototypeId MissionPrototype { get => HasMissionPrototype ? Properties [ PropertyEnum . MissionPrototype ] : PrototypeId . Invalid ; }
126
+
127
+ public PrototypeId State { get => Properties [ PropertyEnum . EntityState ] ; }
128
+
129
+ public int CurrentStackSize { get => Properties [ PropertyEnum . InventoryStackCount ] ; }
130
+ public int MaxStackSize { get => Properties [ PropertyEnum . InventoryStackSizeMax ] ; }
131
+
132
+ #endregion
133
+
117
134
public Entity ( EntityBaseData baseData , ByteString archiveData )
118
135
{
119
136
BaseData = baseData ;
You can’t perform that action at this time.
0 commit comments