本文整理汇总了C++中Character::GetSkinColor方法的典型用法代码示例。如果您正苦于以下问题:C++ Character::GetSkinColor方法的具体用法?C++ Character::GetSkinColor怎么用?C++ Character::GetSkinColor使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Character
的用法示例。
在下文中一共展示了Character::GetSkinColor方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: SendUpdateObject
void WorldSession::SendUpdateObject()
{
Character* character = GetCharacter();
if (!character)
return;
WorldPacket data(SMSG_UPDATE_OBJECT);
data << quint8(0);
data << quint8(1);
data << quint8(0);
data << character->GetGuid();
data.StartBlock<quint16>();
{
data << quint8(7);
data << character->GetGuid();
data << quint8(0);
data << GetAccountInfos().id;
data.WriteString(character->GetName(), true);
data << character->GetBreed();
data << character->GetPositionX();
data << character->GetPositionY();
data << character->GetPositionZ();
data << character->GetInstanceId();
data << character->GetDirection();
// *** Skin
data << character->GetGender();
data << character->GetSkinColor();
data << character->GetHairColor();
data << character->GetPupilColor();
data << character->GetSkinColorFactor();
data << character->GetHairColorFactor();
data << character->GetClothIndex();
data << character->GetFaceIndex();
data << qint16(-1); // Titles
// PUBLIC_CHARACTERISTICS
data << quint16(0); // size
// FIGHT_PROPERTIES
data << quint8(0); // hasProperties
// FIGHT
data << qint32(-1); // currentFightId
data << quint8(0); // isKo
data << quint8(0); // isDead
data << quint8(0); // isSummonned
data << quint8(0); // isFleeing
data << qint8(-1); // obstacleId
data << quint8(0); // hasSummon
// EQUIPMENT_APPEARANCE
data << quint16(0); // Views size
// RUNNING_EFFECTS
data << quint8(0); // hasInFightData
data << quint8(0); // hasOutFightData
// CURRENT_MOVEMENT_PATH
data << quint8(0); // hasCurrentPath
// WORLD_PROPERTIES
data << quint8(0); // hasProperties
// GROUP
data << quint64(0); // partyId
// TEMPLATE
data << quint16(0); // sightRadius
data << quint16(0); // aggroRadius
// COLLECT
data << quint16(0); // unavailableActions size
// OCCUPATION
data << quint8(0); // hasOccupation
// XP
data << character->GetXP();
// XP_CHARACTERISTICS
data << character->GetXPFreePoints();
data << quint16(0); // xpBonusPoints size
data << quint16(0); // characteristicBonusPoints size
data << character->GetXPGauge(); // Should be named WakfuGauge...
// CITIZEN_POINT
data << quint16(0); // nationCitizenScores
data << quint16(0); // offendedNations
// GUILD_REMOTE_INFO
data << character->GetGuildId();
data << quint64(0); // Blazon
data << quint16(0); // Level
data << quint16(0); // GuildName
//.........这里部分代码省略.........