45 return !(*
this == rhs);
78 virtual bool init()
override;
92 virtual void addWeaponSystem(
const DtString& modeName,
DtWeaponSystemType systemType,
const std::list<DtEntityType>& desiredAmmunition);
95 virtual void clearWeaponSystems();
108 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
bool operator!=(const WeaponSystem &rhs) const
Definition: weaponListResponseAdmin.h:43
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
Definition: weaponListResponseAdmin.h:22
Admin content which contains the list of weapon systems on an entity. This is the response to the DtR...
Definition: weaponListResponseAdmin.h:57
virtual int netRepSize() const
bool operator==(const WeaponSystem &rhs) const
Definition: weaponListResponseAdmin.h:34
Definition: weaponListResponseAdmin.h:23
virtual DtAdminContent * clone() const =0
Make a copy of this content. Returns a pointer to a newly created copy of this class. Derived classes must override this function to create and return an instance of the derived type.
DtString myWeaponName
Definition: weaponListResponseAdmin.h:30
Definition: vrfObjectMessageTypeTemplate.h:24
std::list< DtEntityType > myDesiredAmmunition
Definition: weaponListResponseAdmin.h:33
DtWeaponSystemType
This now allows us to query the backend for specific types of weapons.
Definition: weaponListResponseAdmin.h:17
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
Definition: weaponListResponseAdmin.h:20
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
Definition: weaponListResponseAdmin.h:21
std::list< DtSimTaskMessageType > myFireTaskTypes
Definition: weaponListResponseAdmin.h:32
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
std::list< WeaponSystem > DtWeaponList
Definition: weaponListResponseAdmin.h:53
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
DtString myWeaponId
Definition: weaponListResponseAdmin.h:29
Definition: weaponListResponseAdmin.h:24
DtWeaponList myWeaponSystems
The list of weapon system names.
Definition: weaponListResponseAdmin.h:115
Definition: weaponListResponseAdmin.h:27
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
virtual DtString stringRep() const =0
Get a readable string representation of this content. Derived classes must implement this function...
DtWeaponSystemType myWeaponType
Definition: weaponListResponseAdmin.h:31
Definition: weaponListResponseAdmin.h:19