mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
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
31 lines
809 B
C#
31 lines
809 B
C#
using System;
|
|
|
|
using ACE.Entity.Enum;
|
|
|
|
namespace ACE.Entity.Models
|
|
{
|
|
public class PropertiesSkill
|
|
{
|
|
public ushort LevelFromPP { get; set; }
|
|
public SkillAdvancementClass SAC { get; set; }
|
|
public uint PP { get; set; }
|
|
public uint InitLevel { get; set; }
|
|
public uint ResistanceAtLastCheck { get; set; }
|
|
public double LastUsedTime { get; set; }
|
|
|
|
public PropertiesSkill Clone()
|
|
{
|
|
var result = new PropertiesSkill
|
|
{
|
|
LevelFromPP = LevelFromPP,
|
|
SAC = SAC,
|
|
PP = PP,
|
|
InitLevel = InitLevel,
|
|
ResistanceAtLastCheck = ResistanceAtLastCheck,
|
|
LastUsedTime = LastUsedTime,
|
|
};
|
|
|
|
return result;
|
|
}
|
|
}
|
|
}
|