14 #include <CigiBaseVariableSizePckt.h>
134 virtual int Pack(CigiBasePacket *
Base, Cigi_uint8 * Buff,
void *Spec)
const;
146 virtual int Unpack(Cigi_uint8 * Buff,
bool Swap,
void *Spec);
156 {
return(PacketSize + refPacket.GetVariableDataSize()); }
174 myEntityID = EntityIDIn;
175 return(CIGI_SUCCESS);
198 myPostureEn = PostureEnIn;
199 return(CIGI_SUCCESS);
221 int SetPosture(
const PostureGrp PostureIn,
bool bndchk=
true);
245 myWeaponStateEn = WeaponStateEnIn;
246 return(CIGI_SUCCESS);
266 int SetWeaponState(
const WeaponStateGrp WeaponStateIn,
bool bndchk=
true);
288 myAnimationStateEn = AnimationStateEnIn;
289 return(CIGI_SUCCESS);
309 int SetAnimationState(
const AnimationStateGrp AnimationStateIn,
bool bndchk=
true);
331 myHealthStateEn = HealthStateEnIn;
332 return(CIGI_SUCCESS);
352 int SetHealthState(
const HealthStateGrp HealthStateIn,
bool bndchk=
true);
374 myAnimationSpeedEn = AnimationSpeedEnIn;
375 return(CIGI_SUCCESS);
392 int SetAnimationSpeed(
const double AnimationSpeedIn,
bool bndchk=
true);
404 int SetAnimation(
const std::string &AnimationIn,
bool bndchk=
true);
436 static const int MaxCharCnt = 224;
bool GetAnimationSpeedEn(void) const
Gets the AnimationSpeedEn value.
Definition: DtCigiDiGuyCtrl.h:381
std::string myAnimation
Definition: DtCigiDiGuyCtrl.h:420
AnimationStateGrp myAnimationState
Definition: DtCigiDiGuyCtrl.h:422
double myAnimationSpeed
Definition: DtCigiDiGuyCtrl.h:421
bool GetHealthStateEn(void) const
Gets the HealthStateEn value.
Definition: DtCigiDiGuyCtrl.h:338
PostureGrp myPosture
Definition: DtCigiDiGuyCtrl.h:418
This is the original DiGuy control packet for V3.
Definition: DtCigiDiGuyCtrl.h:57
bool myPostureEn
Definition: DtCigiDiGuyCtrl.h:425
double GetAnimationSpeed(void) const
Gets the AnimationSpeed.
Definition: DtCigiDiGuyCtrl.h:398
Cigi_uint16 GetEntityID(void) const
Gets the Entity ID value.
Definition: DtCigiDiGuyCtrl.h:184
Contains DLL export macros.
bool myHealthStateEn
Definition: DtCigiDiGuyCtrl.h:429
AnimationStateGrp GetAnimationState(void) const
Gets the AnimationState value.
Definition: DtCigiDiGuyCtrl.h:317
HealthStateGrp
The enumeration for the Health flag.
Definition: DtCigiDiGuyCtrl.h:93
bool myAnimationStateEn
Definition: DtCigiDiGuyCtrl.h:427
const int CIGI_DI_GUY_CTRL_PACKET_SIZE
Definition: DtCigiDiGuyCtrl.h:49
WeaponStateGrp myWeaponState
Definition: DtCigiDiGuyCtrl.h:419
WeaponStateGrp GetWeaponState(void) const
Gets the WeaponState value.
Definition: DtCigiDiGuyCtrl.h:274
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:196
int SetWeaponStateEn(const bool WeaponStateEnIn, bool bndchk=true)
Sets the WeaponStateEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:243
bool myAnimationSpeedEn
Definition: DtCigiDiGuyCtrl.h:428
PostureGrp
The enumeration for the Posture flags.
Definition: DtCigiDiGuyCtrl.h:82
bool GetAnimationStateEn(void) const
Gets the AnimationStateEn value.
Definition: DtCigiDiGuyCtrl.h:295
Cigi_uint16 myEntityID
Definition: DtCigiDiGuyCtrl.h:417
bool myWeaponStateEn
Definition: DtCigiDiGuyCtrl.h:426
HealthStateGrp myHealthState
Definition: DtCigiDiGuyCtrl.h:423
const std::string & GetAnimation(void) const
Gets the Animation (Action) string.
Definition: DtCigiDiGuyCtrl.h:413
bool GetWeaponStateEn(void) const
Gets the WeaponStateEn value.
Definition: DtCigiDiGuyCtrl.h:252
virtual int GetTruePacketSize(CigiBaseVariableSizePckt &refPacket)
A virtual function to determine the size that the packet will take up when packed.
Definition: DtCigiDiGuyCtrl.h:155
int SetAnimationStateEn(const bool AnimationStateEnIn, bool bndchk=true)
Sets the AnimationStateEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:286
int SetAnimationSpeedEn(const bool AnimationSpeedEnIn, bool bndchk=true)
Sets the AnimationSpeedEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:372
#define DT_DLL_MAKCIGIEXTENSIONS
Definition: makCigiExtensions.h:17
HealthStateGrp GetHealthState(void) const
Gets the HealthState value.
Definition: DtCigiDiGuyCtrl.h:360
int GetAnimationSize(void) const
Definition: DtCigiDiGuyCtrl.h:408
bool GetPostureEn(void) const
Gets the PostureEn value.
Definition: DtCigiDiGuyCtrl.h:205
WeaponStateGrp
The enumeration for the Weapon State flag.
Definition: DtCigiDiGuyCtrl.h:73
int SetHealthStateEn(const bool HealthStateEnIn, bool bndchk=true)
Sets the HealthStateEn with bound checking control.
Definition: DtCigiDiGuyCtrl.h:329
int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
Sets the Entity ID with bound checking control.
Definition: DtCigiDiGuyCtrl.h:172
PostureGrp GetPosture(void) const
Gets the Posture value.
Definition: DtCigiDiGuyCtrl.h:231
AnimationStateGrp
The enumeration for the Animation Paused/Not Paused flag.
Definition: DtCigiDiGuyCtrl.h:64