This site has been archived and made available for preservation purposes. No edits can be made.

Index

(Difference between revisions)
Return to current revision
  1.  
    [h="2"] Definition [/h]
    [highlight=cpp]
  2. -
    enum class Index : uint8_t
  3. +
    enum VAULTCPP(class) Index VAULTCPP(: uint8_t)
  4.  
    {
  5. -
    FALLOUT3 = 0x01,
    NEWVEGAS = FALLOUT3 << 1,
    FALLOUT_GAMES = FALLOUT3 | NEWVEGAS,
    ALL_GAMES = FALLOUT_GAMES,

  6.  
    MAX_PLAYER_NAME = 16,
    MAX_PASSWORD_SIZE = 16,
    MAX_MESSAGE_LENGTH = 64,
  7. +
    MAX_CHAT_LENGTH = 128,
  8.  
    };
  9. +
    [/highlight]
    [highlight=c]
    typedef uint8_t Index;
  10.  
    [/highlight]
    [highlight=c]
    const Index: {
  11. -
    FALLOUT3 = 0x00000001,
    NEWVEGAS = 0x00000010,
    FALLOUT_GAMES = FALLOUT3 | NEWVEGAS,
    ALL_GAMES = FALLOUT_GAMES,

  12.  
    MAX_PLAYER_NAME = 16,
    MAX_PASSWORD_SIZE = 16,
    MAX_MESSAGE_LENGTH = 64,
  13. +
    MAX_CHAT_LENGTH = 128,
  14.  
    }
    [/highlight]
    [category]VaultMP interface[/category]
  15. -
    [category]Constants[/category]
  16. +
    [category]Types[/category]