コード例 #1
0
ファイル: noSign.cpp プロジェクト: Ribosom/s25client
void noSign::Serialize_noSign(SerializedGameData& sgd) const
{
    Serialize_noDisappearingEnvObject(sgd);

    sgd.PushUnsignedChar(type);
    sgd.PushUnsignedChar(quantity);
}
コード例 #2
0
void noDisappearingMapEnvObject::Serialize_noDisappearingMapEnvObject(SerializedGameData* sgd) const
{
    Serialize_noDisappearingEnvObject(sgd);

    sgd->PushUnsignedShort(map_id);
}