Exemplo n.º 1
0
 public PlayerData()
 {
     buildingInPossession  = new List <Builder>();
     characterInPossession = new List <Character>();
     resourceInPossession  = new ResourceDictionary();
     equipmentInPossession = new EquipmentDictionary();
     currentActivities     = new ActivityProgressDictionary();
     expandedArea          = new List <int>();
     level = 1;
     characterWaitingInLine = new List <Character>();
     allDeadCharacter       = new DeadCharacterDictionary();
 }
Exemplo n.º 2
0
    public PlayerData()
    {
        // UID = ""// FirebaseAuth.DefaultInstance.CurrentUser?.UserId;
        buildingInPossession  = new List <Builder>();
        characterInPossession = new List <Character>();
        resourceInPossession  = new ResourceDictionary();
        equipmentInPossession = new EquipmentDictionary();
        currentActivities     = new ActivityProgressDictionary();
        expandedArea          = new List <int>();
        level = 1;

        characterWaitingInLine = new List <Character>();
        allDeadCharacter       = new DeadCharacterDictionary();
    }
Exemplo n.º 3
0
    protected override void OnInitialize()
    {
        allProcessingActivies       = new ActivityProgressDictionary();
        androidNotificationSchedule = new DictionaryIntToString();

#if UNITY_ANDROID
        AndroidNotificationChannel notificationChannel = new AndroidNotificationChannel()
        {
            Id          = $"Channel1",
            Name        = "AcitiviyFinished",
            Importance  = Importance.High,
            Description = "AcitiviyFinishedChannel"
        };
        AndroidNotificationCenter.RegisterNotificationChannel(notificationChannel);
        AndroidNotificationCenter.CancelAllDisplayedNotifications();
#endif
    }