public void SetPlayerKnightConfig(ref KnightDataComponent component) { mBaseConfig = component.BaseData; mBattleConfig = component.BattleData; mMeansConfig = component.MeansData; mAttainmentsConfig = component.AttainmentsData; mAttainmentsMaxConfig = component.AttainmentsMaxData; mMeridianConfig = component.MeridianData; }
public void InitProfileData(ref KnightDataComponent component) { mPlayerModel = new PlayerModel(); mPlayerModel.SetPlayerKnightConfig(ref component); }