public CharacterDatabaseData(DataRow row)
            : base()
        {
            Skills    = new CharacterSkillTree();
            Storage   = new ItemStorage();
            Inventory = new ItemInventory();
            Cart      = new ItemInventoryCart();
            Hotkeys   = new CharacterHotkey[Global.MAX_HOTKEYS];
            Friends   = new CharacterFriendList();

            if (row != null)
            {
                LoadFromDatabase(row);
            }
        }
Exemplo n.º 2
0
		public CharacterDatabaseData(DataRow row)
			: base() {
			Skills = new CharacterSkillTree();
			Storage = new ItemStorage();
			Inventory = new ItemInventory();
			Cart = new ItemInventoryCart();
			Hotkeys = new CharacterHotkey[Global.MAX_HOTKEYS];
			Friends = new CharacterFriendList();

			if (row != null) {
				LoadFromDatabase(row);
			}
		}