2016-11-22 20:43:16 +00:00
|
|
|
#include "CWeaponMode.hpp"
|
2017-01-27 02:58:21 +00:00
|
|
|
#include "DataSpec/DNACommon/Tweaks/ITweakPlayerGun.hpp"
|
2016-11-22 20:43:16 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2017-01-27 02:58:21 +00:00
|
|
|
CWeaponMode::CWeaponMode(EWeaponType type, bool charged, bool comboed, bool instaKill)
|
2017-08-29 13:17:52 +00:00
|
|
|
: x0_weaponType(type), x4_24_charged(charged), x4_25_comboed(comboed), x4_26_instantKill(instaKill)
|
2016-11-22 20:43:16 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
EWeaponType CWeaponMode::GetType() const { return x0_weaponType; }
|
2016-12-22 19:57:21 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Invalid() { return CWeaponMode(EWeaponType::None); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Phazon() { return CWeaponMode(EWeaponType::Phazon); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Plasma() { return CWeaponMode(EWeaponType::Plasma); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Wave() { return CWeaponMode(EWeaponType::Wave); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::BoostBall() { return CWeaponMode(EWeaponType::BoostBall); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Ice() { return CWeaponMode(EWeaponType::Ice); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Power() { return CWeaponMode(EWeaponType::Power); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::Bomb() { return CWeaponMode(EWeaponType::Bomb); }
|
2016-11-22 20:43:16 +00:00
|
|
|
|
2017-08-29 13:17:52 +00:00
|
|
|
CWeaponMode CWeaponMode::PowerBomb() { return CWeaponMode(EWeaponType::PowerBomb); }
|
2016-11-22 20:43:16 +00:00
|
|
|
}
|