Jump to content

3.3.0a Cache Structures


Guest XTZGZoReX

Recommended Posts

ArenaTeamCache:

#pragma pack(push, 1)
struct ArenaTeamCache
{
 int Id;
 char Name[96];
 int Type;
 int BackgroundCol;
 int EmblemStyle;
 int EmblemColor;
 int BorderStyle;
 int BorderColor;
};
#pragma pack(pop)

PetitionCache:

#pragma pack(push, 1)
struct PetitionCache
{
 int Id;
 int UnkInt0;
 WowGuid OwnerGuid;
 char TeamName[256];
 char UnkString0[4096];
 int Type0;
 int Type1;
 int Type2;
 int UnkInt1;
 int UnkInt2;
 int UnkInt3;
 int UnkInt4;
 __int16 UnkShort;
 int UnkInt6;
 int UnkInt7;
 char UnkString1[10][64];
 int UnkInt8;
 int GuildOrArena;
};
#pragma pack(pop)

PageTextCache:

#pragma pack(push, 1)
struct PageTextCache
{
 int ItemId;
 char *Text;
 int NextPage;
};
#pragma pack(pop)

NpcTextCache:

#pragma pack(push, 1)
struct NpcTextCache
{
 float Probability[8];
 char *Text0[8];
 char *Text1[8];
 int LanguageId[8];
 int EmoteDelay[8][3];
 int EmoteType[8][3];
};
#pragma pack(pop)

ItemNameCache:

#pragma pack(push, 1)
struct ItemNameCache
{
 char *NamePtr;
 int InventoryType;
 char Name[400];
};
#pragma pack(pop)

ItemCache:

#pragma pack(push, 1)
struct ItemCache
{
 int Id;
 int Class;
 int SubClass;
 int UnkInt;
 int DisplayId;
 int Quality;
 int FlagsAndFaction[2];
 int BuyPrice;
 int SellPrice;
 int InvType;
 int AllowClass;
 int AllowRace;
 int ItemLvl;
 int ReqLvl;
 int ReqSkill;
 int ReqSkillRank;
 int ReqSpell;
 int ReqHonor;
 int ReqCityRank;
 int ReqRepFaction;
 int ReqRepRank;
 int MaxCount;
 int Stackable;
 int ContainerSlots;
 int StatsCount;
 int Stats[10][2];
 int ScalingStatDistribution;
 int ScalingStatValue;
 float SSDDmg1[2];
 float SSDDmg2[2];
 int SSDDmgType[2];
 int Resistance[7];
 int Delay;
 int AmmoType;
 float RangedModRange;
 int SpellId[5];
 int SpellTrigger[5];
 int SpellCharges[5];
 int SpellCooldown[5];
 int SpellCategory[5];
 int SpellCatCooldown[5];
 int Bonding;
 char *Description;
 int PageTextId;
 int LanguageId;
 int PageMaterial;
 int StartQuest;
 int LockId;
 int Material;
 int Sheath;
 int RandomProperty;
 int RandomSuffix;
 int Block;
 int ItemSetId;
 int MaxDurability;
 int Area;
 int Map;
 int BagFamily;
 int TotemCategory;
 int SocketColor[3];
 int SocketItem[3];
 int SocketBonus;
 int GemProperties;
 int ReqDisenchantSkill;
 float ArmorDmgMod;
 int Duration;
 int ItemLimitCat;
 int Holiday;
 char Name[4][400];
};
#pragma pack(pop)

GameObjectCache:

#pragma pack(push, 1)
struct GameObjectCache
{
 int Type;
 int DisplayId;
 char *IconNamePtr;
 char *CastBarCaptionPtr;
 char *UnkStringPtr;
 int Data[24];
 float Size;
 int QuestItem[6];
 char Name[4][1024];
 char IconName[1024];
 char CastBarCaption[1024];
 char UnkString[1024];
};
#pragma pack(pop)

CreatureCache:

#pragma pack(push, 1)
struct CreatureCache
{
 int Id;
 char *SubNamePtr;
 char *IconNamePtr;
 int TypeFlags;
 int Type;
 int Family;
 int Rank;
 int KillCredit1;
 int KillCredit2;
 int DisplayId1;
 int DisplayId2;
 int DisplayId3;
 int DisplayId4;
 float HpModifier;
 float MpModifier;
 char RacialLeader[4];
 int QuestItem[6];
 int MovementId;
 char Name[4][1024];
 char SubName[1024];
 char IconName[1024];
};
#pragma pack(pop)

QuestCache:

#pragma pack(push, 1)
struct QuestCache
{
 int Id;
 int Method;
 int Level;
 int RequiredLevel;
 int AreaIdOrSortId;
 int InfoId;
 int SuggestedPlayers;
 int FriendlyFactionID;
 int FriendlyFactionAmount;
 int HostileFactionID;
 int HostileFactionAmount;
 int NextQuestId;
 int XPId;
 int RewardMoney;
 int RewardMoneyInsteadOfXp;
 int RewardSpellId;
 int EffectOnPlayer;
 int RewardHonor;
 float RewardHonorBonus;
 int StartingItemId;
 int Flags;
 int RewardItem[4];
 int RewardItemCount[4];
 int RewardChoiceItem[6];
 int RewardChoiceItemCount[6];
 int PointMapID;
 float PointX;
 float PointY;
 int PointOptional;
 char Name[512];
 char ObjectiveText[3000];
 char Description[3000];
 char EndText[512];
 int ObjectiveId[4];
 int ObjectiveRequiredCount[4];
 int CollectItemId[6];
 int CollectItemCount[6];
 int IntermediateItemId[4];
 int IntermediateItemCount[4];
 char ObjectiveText[4][256];
 int RewardTitleId;
 int RequiredPlayersKilled;
 int RewardTalentPoints;
 int RewardArenaPoints;
 char CompletionText[2048];
 int RewardReputationFaction[5];
 int FactionRewardID[5];
 int RewardReputationOverride[5];
 int Unk17;
};
#pragma pack(pop)

Thanks to TOM_RUS and Apoc for helping in figuring these.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use