コード例 #1
0
    public MyDailyRewardManager()
    {
        lastDate         = new RegisterLongParameter("LastLoginDate", DateTime.Today.Ticks);
        totalLoginDay    = new RegisterIntParameter("TotalLoginDay", 0);
        canGetLoginBonus = new RegisterBoolParameter("CanGetLoginBonus", true);

        SetLoginBonusItemList();
    }
コード例 #2
0
    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);
    }
コード例 #3
0
 public void Init()
 {
     isUnlocked = new RegisterBoolParameter(ID + "IsUnlocked", false);
 }