Пример #1
0
 public Mem_basic(ICreateNewUser createInstance, Mem_basic newGamePlusBase)
 {
     if (createInstance != null)
     {
         Difficult            = newGamePlusBase.Difficult;
         Nickname             = newGamePlusBase.Nickname;
         Max_chara            = newGamePlusBase.Max_chara;
         Max_slotitem         = newGamePlusBase.Max_slotitem;
         Max_quest            = 7;
         Starttime            = 1;
         Comment              = string.Empty;
         Large_dock           = 0;
         Fcoin                = 0;
         Strategy_point       = 3000;
         tutorialProgressStep = new HashSet <int>();
         tutorialProgressText = new HashSet <int>();
     }
 }
Пример #2
0
 public Mem_basic(ICreateNewUser createInstance, Mem_basic newGamePlusBase)
 {
     if (createInstance == null)
     {
         return;
     }
     this.Difficult            = newGamePlusBase.Difficult;
     this.Nickname             = newGamePlusBase.Nickname;
     this.Max_chara            = newGamePlusBase.Max_chara;
     this.Max_slotitem         = newGamePlusBase.Max_slotitem;
     this.Max_quest            = 7;
     this.Starttime            = 1;
     this.Comment              = string.Empty;
     this.Large_dock           = 0;
     this.Fcoin                = 0;
     this.Strategy_point       = 3000;
     this.tutorialProgressStep = new HashSet <int>();
     this.tutorialProgressText = new HashSet <int>();
 }
Пример #3
0
        private List <int> getRequiredIds()
        {
            Mem_basic user_basic = Comm_UserDatas.Instance.User_basic;

            if (user_basic == null)
            {
                return(_required_ids);
            }
            if (Maparea_id == 14 && No == 1)
            {
                Dictionary <int, List <int> > dictionary = new Dictionary <int, List <int> >();
                dictionary.Add(1, _required_ids);
                dictionary.Add(2, new List <int>
                {
                    54,
                    43
                });
                Dictionary <int, List <int> > dictionary2 = dictionary;
                List <int> result = dictionary2[1];
                {
                    foreach (KeyValuePair <int, List <int> > item in dictionary2)
                    {
                        if (isReqIdComplete(item.Value))
                        {
                            return(item.Value);
                        }
                    }
                    return(result);
                }
            }
            if (Maparea_id == 16 && No == 1)
            {
                Dictionary <int, List <int> > dictionary = new Dictionary <int, List <int> >();
                dictionary.Add(1, _required_ids);
                dictionary.Add(2, new List <int>
                {
                    63,
                    122,
                    141
                });
                dictionary.Add(3, new List <int>
                {
                    63,
                    122,
                    151
                });
                Dictionary <int, List <int> > dictionary3 = dictionary;
                List <int> result = dictionary3[1];
                {
                    foreach (KeyValuePair <int, List <int> > item2 in dictionary3)
                    {
                        if (isReqIdComplete(item2.Value))
                        {
                            return(item2.Value);
                        }
                    }
                    return(result);
                }
            }
            if (Maparea_id == 17 && No == 1)
            {
                Dictionary <int, List <int> > dictionary = new Dictionary <int, List <int> >();
                dictionary.Add(1, _required_ids);
                dictionary.Add(2, new List <int>
                {
                    124,
                    153
                });
                dictionary.Add(3, new List <int>
                {
                    124,
                    163
                });
                dictionary.Add(4, new List <int>
                {
                    152,
                    162
                });
                Dictionary <int, List <int> > dictionary4 = dictionary;
                List <int> result = dictionary4[1];
                {
                    foreach (KeyValuePair <int, List <int> > item3 in dictionary4)
                    {
                        if (isReqIdComplete(item3.Value))
                        {
                            return(item3.Value);
                        }
                    }
                    return(result);
                }
            }
            return(_required_ids);
        }