11 #ifndef changeHostilityCommand_h
12 #define changeHostilityCommand_h
47 parentRegistry = 0)
const;
51 virtual void setForceOne(
const DtForceType& force);
52 virtual DtForceType forceOne()
const;
57 virtual void setForceTwo(
const DtForceType& force);
58 virtual DtForceType forceTwo()
const;
63 virtual void setHostile(
bool yesNo);
64 virtual bool hostile()
const;
74 virtual bool setFromNet(
const char* contentBuffer,
75 unsigned contentSize);
virtual bool setToNet()
Calls netRep() to create the network buffer.
DtSimCommand which changes the hostility of two forces.
Definition: changeHostilityCommand.h:22
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
DtRwBoolean myHostile
Definition: changeHostilityCommand.h:86
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand).
const DtSimCommand & operator=(const DtSimCommand &orig)
assignment operator; same as copy constructor
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
Description: A readable, writable DtForceType.
Definition: rwForceType.h:26
virtual DtSimCommand * clone() const
Version of clone that preserves the existing name, and assigns a null parent registry.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwForceType myForceOne
Definition: changeHostilityCommand.h:84
virtual const DtSimCommandMessageType & type() const =0
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
DtRwForceType myForceTwo
Definition: changeHostilityCommand.h:85