9 #include <vlutil/vlNetTypes.h>
55 virtual void setEntity(
const DtUUID&);
59 virtual DtUUID entity()
const;
63 virtual void setTarget(
const DtUUID &);
67 virtual DtUUID target()
const;
70 virtual void setLocation(
const DtVector & location);
71 virtual DtVector location()
const;
73 virtual bool targetPointIsObject()
const;
83 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual int netRepSize() const override
Returns the size of the full network representation padded to an 8-byte boundary. ...
DtRwLocationReference myTarget
Definition: fireForEffectOnTargetTask.h:92
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Fills in the task from the network buffer.
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
Definition: readerWriterRegistry.h:39
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task. Returns a newly allocated instance of a DtSimTask. Override this member fun...
const DtFireForEffectTask & operator=(const DtFireForEffectTask &orig)
assignment operator
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
DtFireForEffectOnTargetTask represents an artillery task to fire for effect on the specified entity...
Definition: fireForEffectOnTargetTask.h:18
virtual DtString stringRep() const =0
Returns a human-readable string representation of the task. This string representation is used to dis...
virtual const DtSimTaskMessageType & type() const =0
What kind of task am I? Returns a string indicating the kind of task (for example, “move-to”, “follow-entity”). Derived classes must implement this member function to return a unique string representing the type of task. The set of standard task types supplied with VR-Forces is in taskTypes.h.
File: fireForEff.h.
Definition: fireForEffectTask.h:32
virtual bool setToNet() override
Fills in the network buffer (created by base class simTask) with the task contents.