Template:Type/foreign key

From wowdev
Jump to: navigation, search
  • requires table (plain name (i.e Light, not LightRec or Light.dbc or DB/Light or Light.dbc), can have type (=uint32_t) and column (=m_ID)
  • {{Template:Type/foreign_key|type=uint8_t|table=ChrRaces|column=m_unknown}}
    foreign_key<uint8_t, &ChrRacesRec::m_unknown>
  • {{Template:Type/foreign_key|table=ChrRaces}}
    foreign_key<uint32_t, &ChrRacesRec::m_ID>
  • also supports .db2:
    {{Template:Type/foreign_key|table=Item}}
    foreign_key<uint32_t, &ItemRec::m_ID>