Added enum for WWP points for weapons indices.

This commit is contained in:
Ray Koopa 2017-04-25 20:43:31 +02:00
parent 025637b7aa
commit a965808afe

View File

@ -168,7 +168,8 @@ namespace Syroot.Worms.Gen2.WorldParty
public int UnknownTrainingMissionTime { get; set; }
/// <summary>
/// Gets or sets the 46 weapons which were bought for points.
/// Gets or sets the 46 weapons which were bought for points. Specific weapons can be accessed with the
/// <see cref="TeamWeaponPoints"/> enumeration.
/// </summary>
public byte[] WeaponPoints { get; set; }
@ -303,4 +304,241 @@ namespace Syroot.Worms.Gen2.WorldParty
public int Attempts;
public int Medal;
}
/// <summary>
/// Represents the weapons and utilities being an index into the <see cref="Team.WeaponPoints"/> array to store the
/// amount the team bought.
/// </summary>
public enum TeamWeaponPoints
{
/// <summary>
/// The Bazooka weapon.
/// </summary>
Bazooka,
/// <summary>
/// The Homing Missile weapon.
/// </summary>
HomingMissile,
/// <summary>
/// The Mortar weapon.
/// </summary>
Mortar,
/// <summary>
/// The Grenade weapon.
/// </summary>
Grenade,
/// <summary>
/// The Cluster Bomb weapon.
/// </summary>
ClusterBomb,
/// <summary>
/// The Skunk weapon.
/// </summary>
Skunk,
/// <summary>
/// The Petrol Bomb weapon.
/// </summary>
PetrolBomb,
/// <summary>
/// The Banana Bomb weapon.
/// </summary>
BananaBomb,
/// <summary>
/// The Handgun weapon.
/// </summary>
Handgun,
/// <summary>
/// The Shotgun weapon.
/// </summary>
Shotgun,
/// <summary>
/// The Uzi weapon.
/// </summary>
Uzi,
/// <summary>
/// The Minigun weapon.
/// </summary>
Minigun,
/// <summary>
/// The Longbow weapon.
/// </summary>
Longbow,
/// <summary>
/// The Air Strike weapon.
/// </summary>
AirStrike,
/// <summary>
/// The Napalm Strike weapon.
/// </summary>
NapalmStrike,
/// <summary>
/// The Mine weapon.
/// </summary>
Mine,
/// <summary>
/// The Fire Punch weapon.
/// </summary>
FirePunch,
/// <summary>
/// The Dragon Ball weapon.
/// </summary>
DragonBall,
/// <summary>
/// The Kamikaze weapon.
/// </summary>
Kamikaze,
/// <summary>
/// The Prod weapon.
/// </summary>
Prod,
/// <summary>
/// The Battle Axe weapon.
/// </summary>
BattleAxe,
/// <summary>
/// The Blow Torch weapon.
/// </summary>
BlowTorch,
/// <summary>
/// The Pneumatic Drill weapon.
/// </summary>
PneumaticDrill,
/// <summary>
/// The Girder weapon.
/// </summary>
Girder,
/// <summary>
/// The Ninja Rope weapon.
/// </summary>
NinjaRope,
/// <summary>
/// The Parachute weapon.
/// </summary>
Parachute,
/// <summary>
/// The Bungee weapon.
/// </summary>
Bungee,
/// <summary>
/// The Teleport weapon.
/// </summary>
Teleport,
/// <summary>
/// The Dynamite weapon.
/// </summary>
Dynamite,
/// <summary>
/// The Sheep weapon.
/// </summary>
Sheep,
/// <summary>
/// The Baseball Bat weapon.
/// </summary>
BaseballBat,
/// <summary>
/// The Flame Thrower weapon.
/// </summary>
FlameThrower,
/// <summary>
/// The Homing Pigeon weapon.
/// </summary>
HomingPigeon,
/// <summary>
/// The Mad Cow weapon.
/// </summary>
MadCow,
/// <summary>
/// The Holy Hand Grenade weapon.
/// </summary>
HolyHandGrenade,
/// <summary>
/// The Old Woman weapon.
/// </summary>
OldWoman,
/// <summary>
/// The Sheep Launcher weapon.
/// </summary>
SheepLauncher,
/// <summary>
/// The Super Sheep or Aqua Sheep weapon.
/// </summary>
SuperSheep,
/// <summary>
/// The Mole Bomb weapon.
/// </summary>
MoleBomb,
/// <summary>
/// The Jet Pack utility.
/// </summary>
JetPack,
/// <summary>
/// The Low Gravity utility.
/// </summary>
LowGravity,
/// <summary>
/// The Laser Sight utility.
/// </summary>
LaserSight,
/// <summary>
/// The Fast Walk utility.
/// </summary>
FastWalk,
/// <summary>
/// The Invisibility utility.
/// </summary>
Invisibility,
/// <summary>
/// The Suicide Bomber weapon.
/// </summary>
SuicideBomber,
/// <summary>
/// The Worm Select utility.
/// </summary>
WormSelect
}
}