本文整理汇总了C++中UpdateManager类的典型用法代码示例。如果您正苦于以下问题:C++ UpdateManager类的具体用法?C++ UpdateManager怎么用?C++ UpdateManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UpdateManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: main
int main(int argc, char ** argv)
{
bool uiversion = true;
for(int i=0; i < argc ; i++)
{
if(std::string(argv[i]) == "--no-ui")
{
uiversion = false;
}
}
if(uiversion)
{
QApplication app(argc, argv);
UpdateManager mainWindow;
mainWindow.show();
return app.exec();
}
else
{
QCoreApplication app(argc, argv);
VersionManager manager;
return app.exec();
}
}
开发者ID:Jeromnimo,项目名称:wowmodelviewer,代码行数:25,代码来源:main.cpp
示例2: version0018
void version0018()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 18
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Zone.inf 1374");
pUpdate->setParam(1,"Data/Info/Zone.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Creature.inf 12254");
pUpdate->setParam(1,"Data/Info/Creature.inf");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:28,代码来源:info.cpp
示例3: version15
void version15()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 15;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Updater2.exe 950272");
pUpdate->setParam(1,"Updater2.exe");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"UpdateClient.inf 94");
pUpdate->setParam(1,"Data\\Info\\UpdateClient.inf");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:28,代码来源:p21.cpp
示例4: version0012
void version0012()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 12
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:12,代码来源:info.cpp
示例5: version1
void version1()
{
UpdateManager updateManager;
int version = 1;
//--------------------------------------------------------------------------------
// save
//--------------------------------------------------------------------------------
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR,version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:13,代码来源:update2.cpp
示例6: LOGV
void Engine::onResume() {
LOGV("onResume");
mGLESLayer->enableRender();
gles::GLESLayer *glLayer = mGLESLayer;
UpdateManager* updateManager = mUpdateManager;
mGLThread->addRecurringTask([updateManager, glLayer]() {
updateManager->update();
glLayer->render();
bool repeat = glLayer->renderEnabled();
return repeat;
});
}
开发者ID:zerksud,项目名称:projectz-ndk,代码行数:16,代码来源:Engine.cpp
示例7: Initialize
void RenderTaskList::Initialize( UpdateManager& updateManager )
{
// This should only be called once, with no existing scene-object
DALI_ASSERT_DEBUG( NULL == mSceneObject );
// Get raw-pointer to render task list
mSceneObject = updateManager.GetRenderTaskList( mIsSystemLevel );
}
开发者ID:Tarnyko,项目名称:dali-core,代码行数:8,代码来源:render-task-list-impl.cpp
示例8: Initialize
void RenderTaskList::Initialize( UpdateManager& updateManager )
{
// This should only be called once, with no existing scene-object
DALI_ASSERT_DEBUG( NULL == mSceneObject );
// Get raw-pointer to render task list
mSceneObject = updateManager.GetRenderTaskList( mIsSystemLevel );
// set the callback to call us back when tasks are completed
mSceneObject->SetCompleteNotificationInterface( this );
}
开发者ID:mettalla,项目名称:dali,代码行数:10,代码来源:render-task-list-impl.cpp
示例9: version13
void version13()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 13;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"InventoryBackColor.spk 122642");
pUpdate->setParam(1,"Data\\UI\\spk\\InventoryBackColor.spk");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:20,代码来源:p21.cpp
示例10: version0016
void version0016()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 16
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"bamp00.map 238828");
pUpdate->setParam(1,"Data/Map/bamp00.map");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:20,代码来源:info.cpp
示例11: version0006
void version0006()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 6
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"itemTile.ifpk 866");
pUpdate->setParam(1,"Data/Image/itemTile.ifpk");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:20,代码来源:info.cpp
示例12: version0015
void version0015()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 15
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"ex2.spr 66564");
pUpdate->setParam(1,"Data/Image/ex2.spr");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:20,代码来源:info.cpp
示例13: version8
void version8()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 8;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Event_Fanfare.wav 746540");
pUpdate->setParam(1,"Data\\Sound\\Event_Fanfare.wav");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:20,代码来源:p21.cpp
示例14: version12
void version12()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 12;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_APPEND_SPRITE_PACK);
pUpdate->setParam(0,"New12Effect.aspk 4199002");
pUpdate->setParam(1,"Data\\Image\\Effect.aspk");
pUpdate->setParam(2,"New12Effect.aspki 1014");
pUpdate->setParam(3,"Data\\Image\\Effect.aspki");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"DomainExp.inf 11236");
pUpdate->setParam(1,"Data\\Info\\DomainExp.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"INTExp.inf 1204");
pUpdate->setParam(1,"Data\\Info\\INTExp.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"STRExp.inf 1204");
pUpdate->setParam(1,"Data\\Info\\STRExp.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"DEXExp.inf 1204");
pUpdate->setParam(1,"Data\\Info\\DEXExp.inf");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:54,代码来源:p21.cpp
示例15: version16
void version16()
{
UpdateManager updateManager;
Update * pUpdate;
int version = 16;
//--------------------------------------------------------------------------------
// save
//--------------------------------------------------------------------------------
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"DarkEden.exe 3796992");
pUpdate->setParam(1,"DarkEden.exe");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Item.inf 20496");
pUpdate->setParam(1,"Data\\Info\\Item.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"bamp00.map 238828");
pUpdate->setParam(1,"Data\\Image\\bamp00.map");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR,version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:37,代码来源:semiup.cpp
示例16: version0019
void version0019()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 19
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Progress.spk 3878880");
pUpdate->setParam(1,"Data/UI/SPK/Progress.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"String.inf 2252");
pUpdate->setParam(1,"Data/Info/String.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Chat.inf 10659");
pUpdate->setParam(1,"Data/Info/Chat.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"DarkEden.exe 3874816");
pUpdate->setParam(1,"DarkEden.exe");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:44,代码来源:info.cpp
示例17: version4
void version4()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 4;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"limbo_dungeon.mip 299");
pUpdate->setParam(1,"Data\\Map\\limbo_dungeon.mip");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"UI.spk 73662");
pUpdate->setParam(1,"Data\\Image\\UI.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"UI.spki 14");
pUpdate->setParam(1,"Data\\Image\\UI.spki");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"guild_knight_2F.mip 160");
pUpdate->setParam(1,"Data\\Map\\guild_knight_2F.mip");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"VampireSkillView.spk 375782");
pUpdate->setParam(1,"Data\\UI\\spk\\VampireSkillView.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"eslania_dungeon.mip 320");
pUpdate->setParam(1,"Data\\Map\\eslania_dungeon.mip");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Book.rpk 20349");
pUpdate->setParam(1,"Data\\UI\\txt\\Book.rpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"TutorialEtc.rpk 3452");
pUpdate->setParam(1,"Data\\UI\\txt\\TutorialEtc.rpk");
updateManager.push_back(pUpdate);
char filename[256];
sprintf(filename,"%s/v%05d/index.dat",PATCH_DIR, version);
remove(filename);
updateManager.save(filename);
}
开发者ID:hillwah,项目名称:darkeden,代码行数:76,代码来源:p21.cpp
示例18: version0014
void version0014()
{
UpdateManager updateManager;
Update* pUpdate:
int version = 14
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Exit-01.map 541650");
pUpdate->setParam(1,"Data/Map/Exit-01.map");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Skill.inf 4626");
pUpdate->setParam(1,"Data/Info/Skill.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"gb1.spr 47226");
pUpdate->setParam(1,"Data/Image/gb1.spr");
updateManager.push_back(pUpdate);
// [Error] Not Exist Info. --> NewTile.spk
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Exit-02.map 699632");
pUpdate->setParam(1,"Data/Map/Exit-02.map");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"ItemBroken.afpk 982");
pUpdate->setParam(1,"Data/Image/ItemBroken.afpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"guild-B1.map 36636");
pUpdate->setParam(1,"Data/Map/guild-B1.map");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_APPEND_SPRITE_PACK);
pUpdate->setParam(0,"NewImageObject.spk 2133494");
pUpdate->setParam(1,"Data/Image/ImageObject.spk");
pUpdate->setParam(2,"NewImageObject.spki 314");
pUpdate->setParam(3,"Data/Image/ImageObject.spki");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_APPEND_SPRITE_PACK);
pUpdate->setParam(0,"NewImageObject.sspk 5946");
pUpdate->setParam(1,"Data/Image/ImageObject.sspk");
pUpdate->setParam(2,"NewImageObject.sspki 314");
pUpdate->setParam(3,"Data/Image/ImageObject.sspki");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"bg00.spr 49234");
pUpdate->setParam(1,"Data/Image/bg00.spr");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"ItemOption.inf 2684");
pUpdate->setParam(1,"Data/Info/ItemOption.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"ItemBroken.spk 35130");
pUpdate->setParam(1,"Data/Image/ItemBroken.spk");
updateManager.push_back(pUpdate);
//.........这里部分代码省略.........
开发者ID:hillwah,项目名称:darkeden,代码行数:101,代码来源:info.cpp
示例19: version20
void version20()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 20;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Effect.efpk 123088");
pUpdate->setParam(1,"Data\\Image\\Effect.efpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Creature.inf 27443");
pUpdate->setParam(1,"Data\\Info\\Creature.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"VD_drained.wav 179244");
pUpdate->setParam(1,"Data\\Sound\\VD_drained.wav");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"VD_damage.wav 16428");
pUpdate->setParam(1,"Data\\Sound\\VD_damage.wav");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Help.rpk 10740");
pUpdate->setParam(1,"Data\\UI\\txt\\Help.rpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"CreatureSprite.inf 1246");
pUpdate->setParam(1,"Data\\Info\\CreatureSprite.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"VD_die.wav 116780");
pUpdate->setParam(1,"Data\\Sound\\VD_die.wav");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"UICreature.cfpk 1578");
pUpdate->setParam(1,"Data\\UI\\frame\\UICreature.cfpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"guild_knight_3F.map 40710");
pUpdate->setParam(1,"Data\\Map\\guild_knight_3F.map");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"ShopTemplate.inf 1204");
pUpdate->setParam(1,"Data\\Info\\ShopTemplate.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Slayer_blade_TS.wav 69292");
pUpdate->setParam(1,"Data\\Sound\\Slayer_blade_TS.wav");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"BF_drain.wav 225580");
pUpdate->setParam(1,"Data\\Sound\\BF_drain.wav");
updateManager.push_back(pUpdate);
//.........这里部分代码省略.........
开发者ID:hillwah,项目名称:darkeden,代码行数:101,代码来源:p21.cpp
示例20: version2
void version2()
{
UpdateManager updateManager;
Update* pUpdate;
int version = 2;
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"common_button.spk 22184");
pUpdate->setParam(1,"Data\\UI\\spk\\common_button.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"AddonShadow.cfpk 1413570");
pUpdate->setParam(1,"Data\\Image\\AddonShadow.cfpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"MousePointer.spk 16350");
pUpdate->setParam(1,"Data\\UI\\spk\\MousePointer.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"AssembleMessageBoxCommon.spk 123968");
pUpdate->setParam(1,"Data\\UI\\spk\\AssembleMessageBoxCommon.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"VampireGameMenu.spk 142870");
pUpdate->setParam(1,"Data\\UI\\spk\\VampireGameMenu.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"AssembleMessageBox.spk 120510");
pUpdate->setParam(1,"Data\\UI\\spk\\AssembleMessageBox.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"ClientConfig.inf 263");
pUpdate->setParam(1,"Data\\Info\\ClientConfig.inf");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"AssembleMessageBoxButton.spk 41814");
pUpdate->setParam(1,"Data\\UI\\spk\\AssembleMessageBoxButton.spk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"tutorial_heliport.mip 61");
pUpdate->setParam(1,"Data\\Map\\tutorial_heliport.mip");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Addon.cfpk 1413570");
pUpdate->setParam(1,"Data\\Image\\Addon.cfpk");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"tutorial_bokdo.mip 110");
pUpdate->setParam(1,"Data\\Map\\tutorial_bokdo.mip");
updateManager.push_back(pUpdate);
pUpdate = new Update();
pUpdate->setVersion(version);
pUpdate->setUpdateType(UPDATETYPE_CREATE_FILE);
pUpdate->setParam(0,"Tutorial_Book.spk 563728");
pUpdate->setParam(1,"Data\\UI\\spk\\Tutorial_Book.spk");
//.........这里部分代码省略.........
开发者ID:hillwah,项目名称:darkeden,代码行数:101,代码来源:p21.cpp
注:本文中的UpdateManager类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论