Ejemplo n.º 1
0
        public static void ShipAddExp_To_MariageLevel(int ship_rid)
        {
            Mem_ship mem_ship = null;

            if (!Comm_UserDatas.Instance.User_ship.TryGetValue(ship_rid, ref mem_ship))
            {
                return;
            }
            if (mem_ship.Level >= 99)
            {
                return;
            }
            Dictionary <int, int> dictionary = Mst_DataManager.Instance.Get_MstLevel(true);

            if (mem_ship.Level < 99)
            {
                int             num       = dictionary.get_Item(99) - mem_ship.Exp;
                Debug_Mod       debug_Mod = new Debug_Mod();
                Debug_Mod       arg_7A_0  = debug_Mod;
                List <Mem_ship> list      = new List <Mem_ship>();
                list.Add(mem_ship);
                List <Mem_ship> arg_7A_1 = list;
                List <int>      list2    = new List <int>();
                list2.Add(num);
                arg_7A_0.ShipAddExp(arg_7A_1, list2);
            }
        }
Ejemplo n.º 2
0
        public static void ShipAddExp_To_MariageLevel(int ship_rid)
        {
            Mem_ship value = null;

            if (Comm_UserDatas.Instance.User_ship.TryGetValue(ship_rid, out value) && value.Level < 99)
            {
                Dictionary <int, int> dictionary = Mst_DataManager.Instance.Get_MstLevel(shipTable: true);
                if (value.Level < 99)
                {
                    int       item      = dictionary[99] - value.Exp;
                    Debug_Mod debug_Mod = new Debug_Mod();
                    debug_Mod.ShipAddExp(new List <Mem_ship>
                    {
                        value
                    }, new List <int>
                    {
                        item
                    });
                }
            }
        }