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()); }
169 int SetEntityID(
const Cigi_uint16 EntityIDIn,
bool bndchk=
true)
171 myEntityID = EntityIDIn;
172 return(CIGI_SUCCESS);
193 int SetPostureEn(
const bool PostureEnIn,
bool bndchk=
true)
195 myPostureEn = PostureEnIn;
196 return(CIGI_SUCCESS);
218 int SetPosture(
const PostureGrp PostureIn,
bool bndchk=
true);
240 int SetWeaponStateEn(
const bool WeaponStateEnIn,
bool bndchk=
true)
242 myWeaponStateEn = WeaponStateEnIn;
243 return(CIGI_SUCCESS);
263 int SetWeaponState(
const WeaponStateGrp WeaponStateIn,
bool bndchk=
true);
283 int SetAnimationStateEn(
const bool AnimationStateEnIn,
bool bndchk=
true)
285 myAnimationStateEn = AnimationStateEnIn;
286 return(CIGI_SUCCESS);
306 int SetAnimationState(
const AnimationStateGrp AnimationStateIn,
bool bndchk=
true);
326 int SetHealthStateEn(
const bool HealthStateEnIn,
bool bndchk=
true)
328 myHealthStateEn = HealthStateEnIn;
329 return(CIGI_SUCCESS);
349 int SetHealthState(
const HealthStateGrp HealthStateIn,
bool bndchk=
true);
369 int SetAnimationSpeedEn(
const bool AnimationSpeedEnIn,
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;