self.color = SettingsApp.get_color(config.get('section0','key01'))ifconfig.get('section1','key10') =="Single": self.is_multiplayer =Falseelse: self.is_multiplayer =Trueself.match = config.get('section1','key11') self.rows = config.getint('section2','key20') self.columns = con...
ServerStartupFailed =false; }catch(Exception e) { Logger.LogExceptionToFile(e,"Server"); StopServer(); message ="Could not start local iSpy server - please select a different LAN port in settings. The port specified is in use. See the log file for more information."; ServerStartupFailed...
{ bcfg << QString("escript Scripts/Multiplayer/%1.lua").arg(Scripts->itemData(Scripts->currentIndex(), GameStyleModel::ScriptRole).toString()).toUtf8(); } QString currentMap = pMapContainer->getCurrentMap();if(currentMap.size() >0) { bcfg << QString("emap "+ currentMap).toUtf8(...
开发者ID:DarkSlim,项目名称:IVMultiplayer-1,代码行数:16,代码来源:NatPunchthroughClient.cpp 示例3: OnNewConnection ▲点赞 5▼ // Implemented event callback from base class PluginInterface2virtualvoidOnNewConnection(constSystemAddress &systemAddress, RakNetGUID rakNetGUID,boolisIncoming){// Call dow...
示例7: StandaloneSetup ▲點讚 1▼ boolStandaloneSetup(){timer(0, g_cur_fractal_specific->calctype);returnfalse;// effectively disable solid-guessing} 開發者ID:LegalizeAdulthood,項目名稱:iterated-dynamics,代碼行數:6,代碼來源:frasetup.cpp ...
serve.log.get_factory().configure(config) self.base_path = base_path self.config = config self.config_path = config_path resource_path = os.path.join(base_path,'resources') config.put('*resources', resource_path)defactivate(self, shell):config = self.config ...
importnet.kyori.text.serializer.ComponentSerializers;//导入依赖的package包/类@TestpublicvoidtestSerializeTranslatable(){finalTranslatableComponent component = TranslatableComponent.of("multiplayer.player.left", TextComponent.builder("kashike") .clickEvent(newClickEvent(ClickEvent.Action.SUGGEST_COMMAND,"/msg...
示例4: run ▲点赞 1▼ defrun(self):pygame.init() self.load() self.gameinput = {"singleplayer": input.playerSplitScreen,"multiplayer": input.playerOnline} self.loadMenu() gfx.menu.draw()whileself.running:ifandroid:ifandroid.check_pause(): ...
server.childPipeline(factory); server.group(std::make_shared<IOThreadPoolExecutor>(4),nullptr); server.bind(0); SocketAddress address; server.getSockets()[0]->getAddress(&address);TestClientclient; client.connect(address); EventBaseManager::get()->getEventBase()->loop(); ...
MultiplayerView =newMultiplayerView(this); SingleplayerView =newSingleplayerView(this); InteractionBox =newVBox();using(varstream = Assembly.GetExecutingAssembly().GetManifestResourceStream("TrueCraft.Launcher.Content.truecraft_logo.svg")) TrueCraftLogoImage =newImageView(Image.FromStream(stream)); ...