44 virtual void setAmmunitionResourceType(
const DtEntityType& type);
45 virtual const DtEntityType& ammunitionResourceType()
const;
49 virtual void setDetonationProximity(DtReal radius);
50 virtual DtReal detonationProximity()
const;
58 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
66 virtual DtString parameterStringRep()
const;
DtReleaseBombTask is the base class for all the other release bomb tasks. It is never used to launch ...
Definition: releaseBombTask.h:19
DtRwResource myAmmunitionResourceType
Definition: releaseBombTask.h:68
DtRwReal myDetonationProximity
Definition: releaseBombTask.h:69
Definition: readerWriterRegistry.h:39
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubtask member from the incoming contentBuffer (cast to type DtNetSimTask). Derived classes should call down to this function first, and then extract their own data starting at the location contentBuffer + DtSimTask::netRepSize().
virtual bool setToNet()
Calls netRep() to create the network buffer. Casts the resulting myNetRep to type DtNetSimTask*...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
const DtSimTask & operator=(const DtSimTask &orig)
assignment operator; same as copy constructor
This class will read in an old resource by name and convert it to the type, or, just read it as type...
Definition: rwResource.h:12
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class. This is the size in bytes of th...