Skip to content

Instantly share code, notes, and snippets.

ID Status
2 In Progress
3 Needs Review
4 Ready to Record
5 In Studio
6 Recorded
Formatted Name Exported Name Type Notes
WWFParticulateVolumeComponent
Particulate particulate ?
Enable WMO Occlusion enableWMOCollision bool Added 26175
Enable Liquid Occlusion enableLiquidCollision bool Added 26175
Enable Terrain Occlusion enableTerrainCollision bool Added 26175
Opacity opacity float
Override Particulate Opacity shouldOverrideOpacity bool
Particulate Count Particulate Count int
char CGGameObject_C::IsValidOpenAction(CGGameObject_C *this, int action)
{
const uint32_t GO_FLAG_LOCKED = 0x2;
CGGameObjectData gameObject = this->m_gameObj;
GOState state = this->m_gameObj->m_state;
if ( action == 4 )
return ( state == GO_STATE_ACTIVE_ALTERNATIVE ? 1 : 0 );
enum CREATURE_STATIC_FLAGS
{
CREATURE_STATIC_FLAGS_MOUNTABLE = 0x000001,
CREATURE_STATIC_FLAGS_NO_XP = 0x000002,
CREATURE_STATIC_FLAGS_NO_LOOT = 0x000004,
CREATURE_STATIC_FLAGS_UNKILLABLE = 0x000008,
CREATURE_STATIC_FLAGS_TAMEABLE = 0x000010,
CREATURE_STATIC_FLAGS_IMMUNEPC = 0x000020,
CREATURE_STATIC_FLAGS_IMMUNENPC = 0x000040,
CREATURE_STATIC_FLAGS_CANWIELDLOOT = 0x000080,
enum ITEM_STATIC_FLAGS
{
ITEM_STATIC_FLAGS_NO_PICKUP = 0x0001,
ITEM_STATIC_FLAGS_CONJURED = 0x0002,
ITEM_STATIC_FLAGS_HAS_LOOT_TABLE = 0x0004,
ITEM_STATIC_FLAGS_EXOTIC = 0x0008,
ITEM_STATIC_FLAGS_DEPRECATED = 0x0010,
ITEM_STATIC_FLAGS_OBSOLETE = 0x0020,
ITEM_STATIC_FLAGS_PLAYER_CAST = 0x0040,
ITEM_STATIC_FLAGS_NO_EQUIP_COOLDOWN = 0x0080,
const int CHARACTER_POINTS_PER_LEVEL[2] = { 10, 1 };
const int CHARACTER_POINTS_PER_BONUS[2] = { 0, 1 };
const int LEVELS_PER_CHARACTER_POINT_BONUS[2] = { 1, 5 };
const int CHARACTER_POINT_LEVEL_THRESHOLDS[2] = { 10, 1 };
const int CHARACTER_POINT_BONUS_PER_THRESHOLD[2] = { 5, 0 };
CGPlayer_C player = ClntObjMgrObjectPtr(ClntObjMgrGetActivePlayer());
if ( player )
{
bool ishuman = player->m_unit->race == 1;
{
"placeHolder":0,
"geometryType":"Quads",
"renderMode":"CameraBillboard",
"particleCount":50000,
"strength":1.0,
"enableEmissionGraph":false,
"graphNodes":[
{
"x":1.0,
struct CGDynamicObjectData
{
ulong m_caster;
DYNAMIC_OBJECT_TYPE m_type;
DYNAMIC_OBJECT_TYPE_FLAGS m_typeFlags;
byte m_padding[2];
int m_spellID;
float m_radius;
C3Vector m_position;
float m_facing;
@barncastle
barncastle / combo_converter.py
Created July 19, 2018 18:42
Quick and dirty encode/decode script for SpellChainEffects' m_Combo field
import argparse
import struct
import array
'''
Quick and dirty encode/decode script for SpellChainEffects' m_Combo field (https://wowdev.wiki/DB/SpellChainEffects)
To decode: set -m to 1 and use the m_Combo value from the DB as the value for -d e.g.
combo_converter.py -m 1 -d "y3y3c3c3c3c3"
MPBV Count: 0069
MPBP Count: 0467
MPBI Count: 1920
MPBG Count: 0916
# MPBV
Start 0000
Count 0001
# MPBP
-Start 0000