public List <TablePlayerLevel.Data> GetPlayerLevelAll() { if (mTablePlayerLevel == null) { mTablePlayerLevel = new TablePlayerLevel(); mTablePlayerLevel.ReadTable(); mTablePlayerLevel.ParseData(); } return(mTablePlayerLevel.GetAll()); }
public TablePlayerLevel.Data GetPlayerLevelByLevel(int level) { if (mTablePlayerLevel == null) { mTablePlayerLevel = new TablePlayerLevel(); mTablePlayerLevel.ReadTable(); mTablePlayerLevel.ParseData(); } return(mTablePlayerLevel.GetDataByLevel(level)); }