Template:Type/foreign key mask
Jump to navigation
Jump to search
- note: this is the same as Template:Type/foreign_key, but with _mask added to denote the reference is not a straight reference but a set of ids using a bit mask
- 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)
{{Type/foreign_key_mask|type=uint8_t|table=ChrRaces|column=m_unknown}}
foreign_key_maskⁱ<uint8_t, &ChrRacesRec::m_unknown>{{Type/foreign_key_mask|table=ChrRaces}}
foreign_key_maskⁱ<uint32_t, &ChrRacesRec::m_ID>- also supports .db2:
{{Type/foreign_key_mask|table=Item}}
foreign_key_maskⁱ<uint32_t, &ItemRec::m_ID>