本文整理汇总了C++中Store::append方法的典型用法代码示例。如果您正苦于以下问题:C++ Store::append方法的具体用法?C++ Store::append怎么用?C++ Store::append使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Store
的用法示例。
在下文中一共展示了Store::append方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: BuildSocialData
void PlayerData::BuildSocialData(Store db)
{
if (mFriendsData.empty())
return;
db.append(mFriendsData.data(), mFriendsData.size());
}
示例2: BuildBlobData
void PlayerData::BuildBlobData(Store db)
{
if (mBlobData.empty())
return;
db.append(mBlobData.data(), mBlobData.size());
}
示例3: BuildDialData
void PlayerData::BuildDialData(Store db)
{
if(mDialData.empty())
return;
BuildDataType (db, PlayerDataType_Dial);
db.append(mDialData.data(), mDialData.size());
}
示例4: BuildTreasureData
void PlayerData::BuildTreasureData(Store db)
{
if (mTreasureData.empty())
return;
BuildDataType (db, PlayerDataType_Treasure);
db.append(mTreasureData.data(), mTreasureData.size());
}
示例5: BuildActivityData
void PlayerData::BuildActivityData(Store db)
{
if (mActivityData.empty())
return;
BuildDataType (db, PlayerDataType_Activity);
db.append(mActivityData.data(), mActivityData.size());
}
示例6: BuildEventData
void PlayerData::BuildEventData(Store db)
{
if (mEventData.empty())
return;
BuildDataType (db, PlayerDataType_Event);
db.append(mEventData.data(), mEventData.size());
}
示例7: BuildRechargeData
void PlayerData::BuildRechargeData(Store db)
{
db.append(mRechargeData.data(), mRechargeData.size());
}
示例8: BuildBasePropData
void PlayerData::BuildBasePropData(Store db)
{
BuildDataType (db, PlayerDataType_BaseData);
db.append(&baseProps, sizeof(baseProps));
}