public MyDailyRewardManager() { lastDate = new RegisterLongParameter("LastLoginDate", DateTime.Today.Ticks); totalLoginDay = new RegisterIntParameter("TotalLoginDay", 0); canGetLoginBonus = new RegisterBoolParameter("CanGetLoginBonus", true); SetLoginBonusItemList(); }
public MissionData(int id, MissionInfo info) { MissionID = id; Info = info; prevValue = new RegisterIntParameter(SaveKey + "-PrevValue", 0); currentValue = new RegisterIntParameter(SaveKey + "-CurrentValue", 0); completeDateTime = new RegisterLongParameter(SaveKey + "-Time", 0); isClear = new RegisterBoolParameter(SaveKey + "-IsClear", false); }
public void Init() { isUnlocked = new RegisterBoolParameter(ID + "IsUnlocked", false); }