mirror of
https://github.com/sebastian-heinz/Arrowgene.DragonsDogmaOnline
synced 2026-08-03 11:12:41 -04:00
- Added support for job emblems - Created new personal quests to unlock emblems. - Added support for emblems using the menus at Renton. - Created new handlers and packets for the new menus.
29 lines
875 B
C#
29 lines
875 B
C#
using Arrowgene.Ddon.Shared.Entity.Structure;
|
|
using Arrowgene.Ddon.Shared.Model;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Arrowgene.Ddon.GameServer.Scripting.Interfaces
|
|
{
|
|
public abstract class IJobEmblemStatTable
|
|
{
|
|
public abstract EquipStatId StatId { get; }
|
|
public List<CDataJobEmblemStatUpgradeData> StatUpgradeData { get; private set; }
|
|
|
|
public IJobEmblemStatTable()
|
|
{
|
|
StatUpgradeData = new List<CDataJobEmblemStatUpgradeData>();
|
|
}
|
|
|
|
public IJobEmblemStatTable Add(byte level, ushort amount)
|
|
{
|
|
CDataJobEmblemStatUpgradeData upgrade = new CDataJobEmblemStatUpgradeData()
|
|
{
|
|
StatId = StatId,
|
|
Level = level,
|
|
Amount = amount,
|
|
};
|
|
StatUpgradeData.Add(upgrade);
|
|
return this;
|
|
}
|
|
}
|
|
}
|