Fixed DB2 loading and world login!!!!!

This commit is contained in:
hondacrx
2018-12-14 18:43:35 -05:00
parent 8e20114e10
commit f414068883
44 changed files with 779 additions and 852 deletions
+3 -3
View File
@@ -173,7 +173,7 @@ namespace Game.DataStorage
public ushort AltHandUICameraID;
public sbyte ForgeAttachmentOverride;
public byte Flags;
public byte ArtifactID;
public uint ArtifactID;
}
public sealed class ArtifactCategoryRecord
@@ -214,7 +214,7 @@ namespace Game.DataStorage
public uint SpellID;
public ushort ItemBonusListID;
public float AuraPointsOverride;
public ushort ArtifactPowerID;
public uint ArtifactPowerID;
}
public sealed class ArtifactQuestXPRecord
@@ -240,7 +240,7 @@ namespace Game.DataStorage
public byte PowerRank;
public ushort ItemBonusListID;
public uint PlayerConditionID;
public byte ArtifactID;
public uint ArtifactID;
}
public sealed class AuctionHouseRecord
+2 -2
View File
@@ -55,7 +55,7 @@ namespace Game.DataStorage
public uint Id;
public byte BattlePetStateID;
public ushort Value;
public byte BattlePetBreedID;
public uint BattlePetBreedID;
}
public sealed class BattlePetSpeciesRecord
@@ -78,7 +78,7 @@ namespace Game.DataStorage
public uint Id;
public byte BattlePetStateID;
public int Value;
public ushort BattlePetSpeciesID;
public uint BattlePetSpeciesID;
}
public sealed class BattlemasterListRecord
+2 -2
View File
@@ -68,7 +68,7 @@ namespace Game.DataStorage
public uint PetDisplayID; // Pet Model ID for starting pet
public byte PetFamilyID; // Pet Family Entry for starting pet
public int[] ItemID = new int[24];
public byte RaceID;
public uint RaceID;
}
public sealed class CharTitlesRecord
@@ -117,7 +117,7 @@ namespace Game.DataStorage
{
public uint Id;
public sbyte PowerType;
public byte ClassID;
public uint ClassID;
}
public sealed class ChrRacesRecord
+1 -1
View File
@@ -45,7 +45,7 @@ namespace Game.DataStorage
public byte ClassId;
public byte SexId;
public uint SoundId;
public ushort EmotesTextId;
public uint EmotesTextId;
}
public sealed class ExpectedStatRecord
+15 -5
View File
@@ -23,12 +23,22 @@ namespace Game.DataStorage
public sealed class GameObjectDisplayInfoRecord
{
public uint Id;
public Vector3 GeoBoxMin;
public Vector3 GeoBoxMax;
public float[] GeoBox = new float[6];
public int FileDataID;
public short ObjectEffectPackageID;
public float OverrideLootEffectScale;
public float OverrideNameScale;
public Vector3 GeoBoxMin
{
get { return new Vector3(GeoBox[0], GeoBox[1], GeoBox[2]); }
set { GeoBox[0] = value.X; GeoBox[1] = value.Y; GeoBox[2] = value.Z; }
}
public Vector3 GeoBoxMax
{
get { return new Vector3(GeoBox[3], GeoBox[4], GeoBox[5]); }
set { GeoBox[3] = value.X; GeoBox[4] = value.Y; GeoBox[5] = value.Z; }
}
}
public sealed class GameObjectsRecord
@@ -151,7 +161,7 @@ namespace Game.DataStorage
public byte OrderIndex;
public byte FactionIndex;
public ushort GarrAbilityID;
public ushort GarrFollowerID;
public uint GarrFollowerID;
}
public sealed class GarrPlotRecord
@@ -215,7 +225,7 @@ namespace Game.DataStorage
{
public uint Id;
public int SpellID;
public short GlyphPropertiesID;
public uint GlyphPropertiesID;
}
public sealed class GlyphPropertiesRecord
@@ -231,7 +241,7 @@ namespace Game.DataStorage
{
public uint Id;
public ushort ChrSpecializationID;
public ushort GlyphPropertiesID;
public uint GlyphPropertiesID;
}
public sealed class GuildColorBackgroundRecord
+5 -5
View File
@@ -119,7 +119,7 @@ namespace Game.DataStorage
public ushort ChildItemBonusTreeID;
public ushort ChildItemBonusListID;
public ushort ChildItemLevelSelectorID;
public ushort ParentItemBonusTreeID;
public uint ParentItemBonusTreeID;
}
public sealed class ItemChildEquipmentRecord
@@ -169,7 +169,7 @@ namespace Game.DataStorage
public ushort MaxLevel;
public ushort SkillRequired;
public sbyte ExpansionID;
public byte Class;
public uint Class;
}
public sealed class ItemEffectRecord
@@ -183,7 +183,7 @@ namespace Game.DataStorage
public ushort SpellCategoryID;
public int SpellID;
public ushort ChrSpecializationID;
public int ParentItemID;
public uint ParentItemID;
}
public sealed class ItemExtendedCostRecord
@@ -213,7 +213,7 @@ namespace Game.DataStorage
public uint Id;
public uint QualityItemBonusListID;
public sbyte Quality;
public short ParentILSQualitySetID;
public uint ParentILSQualitySetID;
}
public sealed class ItemLevelSelectorQualitySetRecord
@@ -306,7 +306,7 @@ namespace Game.DataStorage
public ushort ChrSpecID;
public uint SpellID;
public byte Threshold;
public ushort ItemSetID;
public uint ItemSetID;
}
public sealed class ItemSparseRecord
+1 -1
View File
@@ -103,7 +103,7 @@ namespace Game.DataStorage
public byte MaxPlayers;
public byte ItemContext;
public byte Flags;
public ushort MapID;
public uint MapID;
public uint GetRaidDuration()
{
+2 -2
View File
@@ -30,7 +30,7 @@ namespace Game.DataStorage
{
public uint Id;
public ushort PhaseId;
public ushort PhaseGroupID;
public uint PhaseGroupID;
}
public sealed class PlayerConditionRecord
@@ -163,7 +163,7 @@ namespace Game.DataStorage
public byte RangeIndex;
public byte MinLevel;
public byte MaxLevel;
public ushort MapID;
public uint MapID;
// helpers
public BattlegroundBracketId GetBracketId()
+1 -1
View File
@@ -441,7 +441,7 @@ namespace Game.DataStorage
public SpellProcsPerMinuteModType Type;
public ushort Param;
public float Coeff;
public ushort SpellProcsPerMinuteID;
public uint SpellProcsPerMinuteID;
}
public sealed class SpellRadiusRecord
+1 -1
View File
@@ -65,7 +65,7 @@ namespace Game.DataStorage
public uint Id;
public int PhaseID;
public int UiMapArtID;
public int UiMapID;
public uint UiMapID;
}
public sealed class UnitPowerBarRecord