mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-23 20:20:10 -04:00
55f8f3ef34
* Filled out eLevelId enum - Added OpenDiablo2.Core.UT unit test project - Added ELevelIdHelper class which contains code that generates the enum from the mpq data - Added a unit test that verifies EngineDataManager works - Added a unit test that runs the ELevelIdHelper generate function - Renamed some enum values for constistency (e.g. Act1_Town -> Act1_Town1, as it is in the mpq) * Retargeted OpenDiablo2.Core.UT to .net Framework 4.6.1 * Added TestConsole TestConsole currently only supports writing the elevelids enum to a file Also, removed elevelids generation unit test * PlayerState and MobState
15 lines
303 B
C#
15 lines
303 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OpenDiablo2.Common.Interfaces.Mobs
|
|
{
|
|
public interface ILevelExperienceConfig
|
|
{
|
|
int GetTotalExperienceForLevel(int level);
|
|
int GetMaxLevel();
|
|
}
|
|
}
|