Emergency 2017 Dokumentation  v3.0.1
em5::weapon Namespace Reference

Classes

struct  WeaponConfiguration
 

Enumerations

enum  Weapon {
  NOFIGHT, FIST, BASEBALLBAT, KNIFE,
  PISTOL, RIFLE, STONE, MOLOTOV,
  TORCH, SWORD, PEPPERSPRAY, STUNGRENADE
}
 
enum  Category { Category::CLOSE_COMBAT, Category::FIREARM, Category::THROWABLE, Category::UNKNOWN }
 

Enumeration Type Documentation

enum em5::weapon::Category
strong
Enumerator
CLOSE_COMBAT 
FIREARM 
THROWABLE 
UNKNOWN 

Definition at line 38 of file Weapon.h.

Enumerator
NOFIGHT 

This is a special case to flag someone as not fighting or defending at all.

FIST 
BASEBALLBAT 
KNIFE 
PISTOL 
RIFLE 
STONE 
MOLOTOV 
TORCH 

Used by medieval units.

SWORD 

Used by Guardsman in medieval maps.

PEPPERSPRAY 

Only used by units.

STUNGRENADE 

Only used by units.

Definition at line 22 of file Weapon.h.