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]
  2. -
    [highlight=c]
    const Index: {
    FALLOUT3 = 0x00000001,
    NEWVEGAS = 0x00000010,
    FALLOUT_GAMES = FALLOUT3 | NEWVEGAS,
    ALL_GAMES = FALLOUT_GAMES,

    MAX_PLAYER_NAME = 16,
    MAX_PASSWORD_SIZE = 16,
    MAX_MESSAGE_LENGTH = 64,
    MAX_CHAT_LENGTH = 128,
    }
    [/highlight]
  3.  
    [highlight=cpp]
  4. -
    enum _CPP(class) Index _CPP(: uint8_t)
  5. +
    enum VAULTCPP(class) Index VAULTCPP(: uint8_t)
  6.  
    {
  7. -
    FALLOUT3 = 0x01,
    NEWVEGAS = FALLOUT3 << 1,
    FALLOUT_GAMES = FALLOUT3 | NEWVEGAS,
    ALL_GAMES = FALLOUT_GAMES,

  8.  
    MAX_PLAYER_NAME = 16,
    MAX_PASSWORD_SIZE = 16,
    MAX_MESSAGE_LENGTH = 64,
    MAX_CHAT_LENGTH = 128,
    };
  9. +
    [/highlight]
    [highlight=c]
    typedef uint8_t Index;
    [/highlight]
    [highlight=c]
    const Index: {
    MAX_PLAYER_NAME = 16,
    MAX_PASSWORD_SIZE = 16,
    MAX_MESSAGE_LENGTH = 64,
    MAX_CHAT_LENGTH = 128,
    }
  10.  
    [/highlight]
    [category]VaultMP interface[/category]
    [category]Types[/category]