ace/Source/ACE.Server/Entity/BodyPartProbability.cs
Mag-nus c1d480a01a
Step 2. Convert WorldDatabase Weenie Cache from the ACE.Database model to the new ACE.Entity model (#2702)
* Step 1. Add new adapter classes and models

All classes and objects added are in new namespaces.

This add has 0 interraction on existing ACE code.

This sets the groundwork for Step 2. Moving World DB caching to the new models

* first part of the world entity usage

* almost there

* final part

* update WeenieExtensions

* fix

* merge fixes and improvements

* More code ported from Step 3

* Update WorldDatabaseWithEntityCache.cs

* GetCachedCookbooks(recpieId) -> GetCookbooksByRecipeId(recpieId)

* build fix

* changelog
2020-03-02 08:03:50 -06:00

16 lines
351 B
C#

using ACE.Entity.Enum;
namespace ACE.Server.Entity
{
public class BodyPartProbability
{
public CombatBodyPart BodyPart;
public float Probability;
public BodyPartProbability(CombatBodyPart bodyPart, float probability)
{
BodyPart = bodyPart;
Probability = probability;
}
}
}