DB/DeclinedWordCases: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 24: Line 24:
   {{Template:Type/foreign_key|table=DeclinedWord}} m_declinedWordID;
   {{Template:Type/foreign_key|table=DeclinedWord}} m_declinedWordID;
   uint32_t m_caseIndex;
   uint32_t m_caseIndex;
   stringref m_declinedWord;
   {{Template:Type|stringref}} m_declinedWord;
  };
  };
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 12:55, 23 February 2016

You know declension, or?

  • homo (nominative) "[the] man" [as a subject] (e.g., homo ibi stat the man is standing there)
  • hominis (genitive) "of [the] man" [as a possessor](e.g., nomen hominis est Claudius the man's name is Claudius)
  • hominī (dative) "to [the] man" [as an indirect object] (e.g., homini donum dedi I gave a present to the man; homo homini lupus est Man is a wolf to man.)
  • hominem (accusative) "[the] man" [as a direct object] (e.g., ad hominem toward the man, in the sense of argument directed personally; hominem vidi I saw the man)
  • homine (ablative) "[the] man" [in various uses not covered by the above] (e.g., sum altior homine I am taller than the man).

Structure

Column Field Type Notes
1 ID Integer
2 Word iRefID this is the declension of this word
3 Case Integer from 1 to 5. {nominative, genitive, dative, accusative, ablative}
4 DeclinedWord String declined word

6.0.1.18179

struct DeclinedWordCasesRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &DeclinedWordRec::m_ID> m_declinedWordID;
  uint32_t m_caseIndex;
  stringref m_declinedWord;
};