14 #include <CigiBaseVariableSizePckt.h>
131 virtual int Pack(CigiBasePacket *
Base, Cigi_uint8 * Buff,
void *Spec)
const;
143 virtual int Unpack(Cigi_uint8 * Buff,
bool Swap,
void *Spec);
153 {
return(PacketSize + refPacket.GetVariableDataSize()); }
171 myEntityID = EntityIDIn;
172 return(CIGI_SUCCESS);
195 myPostureEn = PostureEnIn;
196 return(CIGI_SUCCESS);
218 int SetPosture(
const PostureGrp PostureIn,
bool bndchk=
true);
242 myWeaponStateEn = WeaponStateEnIn;
243 return(CIGI_SUCCESS);
263 int SetWeaponState(
const WeaponStateGrp WeaponStateIn,
bool bndchk=
true);
285 myAnimationStateEn = AnimationStateEnIn;
286 return(CIGI_SUCCESS);
306 int SetAnimationState(
const AnimationStateGrp AnimationStateIn,
bool bndchk=
true);
328 myHealthStateEn = HealthStateEnIn;
329 return(CIGI_SUCCESS);
349 int SetHealthState(
const HealthStateGrp HealthStateIn,
bool bndchk=
true);
371 myAnimationSpeedEn = AnimationSpeedEnIn;
372 return(CIGI_SUCCESS);
389 int SetAnimationSpeed(
const double AnimationSpeedIn,
bool bndchk=
true);
401 int SetAnimation(
const std::string &AnimationIn,
bool bndchk=
true);
433 static const int MaxCharCnt = 224;
bool GetAnimationSpeedEn(void) const
Gets the AnimationSpeedEn value.
Definition: DtCigiDiGuyCtrl.h:378
std::string myAnimation
Definition: DtCigiDiGuyCtrl.h:417
AnimationStateGrp myAnimationState
Definition: DtCigiDiGuyCtrl.h:419
double myAnimationSpeed
Definition: DtCigiDiGuyCtrl.h:418
bool GetHealthStateEn(void) const
Gets the HealthStateEn value.
Definition: DtCigiDiGuyCtrl.h:335
PostureGrp myPosture
Definition: DtCigiDiGuyCtrl.h:415
The base class for all packets.
Definition: DtCigiDiGuyCtrl.h:54
bool myPostureEn
Definition: DtCigiDiGuyCtrl.h:422
double GetAnimationSpeed(void) const
Gets the AnimationSpeed.
Definition: DtCigiDiGuyCtrl.h:395
Cigi_uint16 GetEntityID(void) const
Gets the Entity ID value.
Definition: DtCigiDiGuyCtrl.h:181
Contains DLL export macros.
bool myHealthStateEn
Definition: DtCigiDiGuyCtrl.h:426
AnimationStateGrp GetAnimationState(void) const
Gets the AnimationState value.
Definition: DtCigiDiGuyCtrl.h:314
HealthStateGrp
The enumeration for the Health flag.
Definition: DtCigiDiGuyCtrl.h:90
bool myAnimationStateEn
Definition: DtCigiDiGuyCtrl.h:424
const int CIGI_DI_GUY_CTRL_PACKET_SIZE
Definition: DtCigiDiGuyCtrl.h:49
WeaponStateGrp myWeaponState
Definition: DtCigiDiGuyCtrl.h:416
WeaponStateGrp GetWeaponState(void) const
Gets the WeaponState value.
Definition: DtCigiDiGuyCtrl.h:271
const int CIGI_DI_GUY_CTRL_PACKET_ID
Definition: DtCigiDiGuyCtrl.h:46
int SetPostureEn(const bool PostureEnIn, bool bndchk=true)
Sets the PostureEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:193
int SetWeaponStateEn(const bool WeaponStateEnIn, bool bndchk=true)
Sets the WeaponStateEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:240
bool myAnimationSpeedEn
Definition: DtCigiDiGuyCtrl.h:425
PostureGrp
The enumeration for the Posture flags.
Definition: DtCigiDiGuyCtrl.h:79
bool GetAnimationStateEn(void) const
Gets the AnimationStateEn value.
Definition: DtCigiDiGuyCtrl.h:292
Cigi_uint16 myEntityID
Definition: DtCigiDiGuyCtrl.h:414
bool myWeaponStateEn
Definition: DtCigiDiGuyCtrl.h:423
HealthStateGrp myHealthState
Definition: DtCigiDiGuyCtrl.h:420
const std::string & GetAnimation(void) const
Gets the Animation (Action) string.
Definition: DtCigiDiGuyCtrl.h:410
bool GetWeaponStateEn(void) const
Gets the WeaponStateEn value.
Definition: DtCigiDiGuyCtrl.h:249
virtual int GetTruePacketSize(CigiBaseVariableSizePckt &refPacket)
A virtual function to determine the size that the packet will take up when packed.
Definition: DtCigiDiGuyCtrl.h:152
int SetAnimationStateEn(const bool AnimationStateEnIn, bool bndchk=true)
Sets the AnimationStateEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:283
int SetAnimationSpeedEn(const bool AnimationSpeedEnIn, bool bndchk=true)
Sets the AnimationSpeedEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:369
#define DT_DLL_MAKCIGIEXTENSIONS
Definition: makCigiExtensions.h:17
HealthStateGrp GetHealthState(void) const
Gets the HealthState value.
Definition: DtCigiDiGuyCtrl.h:357
int GetAnimationSize(void) const
Definition: DtCigiDiGuyCtrl.h:405
bool GetPostureEn(void) const
Gets the PostureEn value.
Definition: DtCigiDiGuyCtrl.h:202
WeaponStateGrp
The enumeration for the Weapon State flag.
Definition: DtCigiDiGuyCtrl.h:70
int SetHealthStateEn(const bool HealthStateEnIn, bool bndchk=true)
Sets the HealthStateEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:326
int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
Sets the Entity ID with bound checking control.
Definition: DtCigiDiGuyCtrl.h:169
PostureGrp GetPosture(void) const
Gets the Posture value.
Definition: DtCigiDiGuyCtrl.h:228
AnimationStateGrp
The enumeration for the Animation Paused/Not Paused flag.
Definition: DtCigiDiGuyCtrl.h:61