mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled! - Code formatted by Resharper plugin <3
This commit is contained in:
@@ -1,27 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
namespace EggLink.DanhengServer.Data.Excel;
|
||||
|
||||
namespace EggLink.DanhengServer.Data.Excel
|
||||
[ResourceEntity("PlayerLevelConfig.json")]
|
||||
public class PlayerLevelConfigExcel : ExcelResource
|
||||
{
|
||||
[ResourceEntity("PlayerLevelConfig.json")]
|
||||
public class PlayerLevelConfigExcel : ExcelResource
|
||||
public int Level { get; set; }
|
||||
public int PlayerExp { get; set; }
|
||||
public int StaminaLimit { get; set; }
|
||||
public int LevelRewardID { get; set; }
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
public int Level { get; set; }
|
||||
public int PlayerExp { get; set; }
|
||||
public int StaminaLimit { get; set; }
|
||||
public int LevelRewardID { get; set; }
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
return Level;
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.PlayerLevelConfigData.Add(Level, this);
|
||||
}
|
||||
return Level;
|
||||
}
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.PlayerLevelConfigData.Add(Level, this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user