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

Death

(Difference between revisions)
Return to current revision
  1.  
    [h="2"] Definition [/h]
    [highlight=cpp]
    enum _CPP(class) Death _CPP(: int8_t)
    {
    None = -1,
    Explosion = 0,
    Gun = 2,
    BluntWeapon = 3,
    HandToHand = 4,
    ObjectImpact = 5,
    Poison = 6,
    Radiation = 7,
    };
  2. +
    [/highlight]
    [highlight=c]
    typedef int8_t Death;
  3.  
    [/highlight]
    [highlight=c]
    const Death: {
    None = -1,
    Explosion = 0,
    Gun = 2,
    BluntWeapon = 3,
    HandToHand = 4,
    ObjectImpact = 5,
    Poison = 6,
    Radiation = 7,
    }
    [/highlight]
    [category]VaultMP interface[/category]
    [category]Types[/category]