设为首页 加入收藏

TOP

DELPHI版传奇引擎学习菜鸟篇(applem2)-02(四)
2017-10-10 12:07:29 】 浏览:11576
Tags:DELPHI 传奇 引擎 学习 菜鸟篇 applem2 -02
nf.ReadInteger(LoginGateSectionName, 'GatePort', g_Config.LoginGate.GatePort); g_Config.LoginGate.GetStart := g_IniConf.ReadBool(LoginGateSectionName, 'GetStart', g_Config.LoginGate.GetStart); g_Config.PlugTop.MainFormX := g_IniConf.ReadInteger(PlugTopSectionName, 'MainFormX', g_Config.PlugTop.MainFormX); g_Config.PlugTop.MainFormY := g_IniConf.ReadInteger(PlugTopSectionName, 'MainFormY', g_Config.PlugTop.MainFormY); g_Config.PlugTop.GetStart := g_IniConf.ReadBool(PlugTopSectionName, 'GetStart', g_Config.PlugTop.GetStart); end; procedure SaveConfig(); //保存配置信息 begin //没什么可注释的,写入INI g_IniConf.WriteString(BasicSectionName, 'GameDirectory', g_sGameDirectory); g_IniConf.WriteString(BasicSectionName, 'HeroDBName', g_sHeroDBName); g_IniConf.WriteString(BasicSectionName, 'GameName', g_sGameName); g_IniConf.WriteString(BasicSectionName, 'ExtIPaddr', g_sExtIPaddr); g_IniConf.WriteString(BasicSectionName, 'ExtIPaddr2', g_sExtIPaddr2); g_IniConf.WriteBool(BasicSectionName, 'AutoRunBak', g_boAutoRunBak); g_IniConf.WriteBool(BasicSectionName, 'IP2', g_boIP2); g_IniConf.WriteBool(BasicSectionName, 'CloseWuXin', g_boCloseWuXin); g_IniConf.WriteInteger(DBServerSectionName, 'MainFormX', g_Config.DBServer.MainFormX); g_IniConf.WriteInteger(DBServerSectionName, 'MainFormY', g_Config.DBServer.MainFormY); g_IniConf.WriteInteger(DBServerSectionName, 'GatePort', g_Config.DBServer.GatePort); g_IniConf.WriteInteger(DBServerSectionName, 'ServerPort', g_Config.DBServer.ServerPort); g_IniConf.WriteBool(DBServerSectionName, 'GetStart', g_Config.DBServer.GetStart); g_IniConf.WriteInteger(LoginSrvSectionName, 'MainFormX', g_Config.LoginSrv.MainFormX); g_IniConf.WriteInteger(LoginSrvSectionName, 'MainFormY', g_Config.LoginSrv.MainFormY); g_IniConf.WriteInteger(LoginSrvSectionName, 'GatePort', g_Config.LoginSrv.GatePort); g_IniConf.WriteInteger(LoginSrvSectionName, 'ServerPort', g_Config.LoginSrv.ServerPort); g_IniConf.WriteInteger(LoginSrvSectionName, 'MonPort', g_Config.LoginSrv.MonPort); g_IniConf.WriteBool(LoginSrvSectionName, 'GetStart', g_Config.LoginSrv.GetStart); g_IniConf.WriteInteger(M2ServerSectionName, 'MainFormX', g_Config.M2Server.MainFormX); g_IniConf.WriteInteger(M2ServerSectionName, 'MainFormY', g_Config.M2Server.MainFormY); g_IniConf.WriteInteger(M2ServerSectionName, 'GatePort', g_Config.M2Server.GatePort); g_IniConf.WriteInteger(M2ServerSectionName, 'MsgSrvPort', g_Config.M2Server.MsgSrvPort); g_IniConf.WriteBool(M2ServerSectionName, 'GetStart', g_Config.M2Server.GetStart); g_IniConf.WriteInteger(LogServerSectionName, 'MainFormX', g_Config.LogServer.MainFormX); g_IniConf.WriteInteger(LogServerSectionName, 'MainFormY', g_Config.LogServer.MainFormY); g_IniConf.WriteInteger(LogServerSectionName, 'Port', g_Config.LogServer.Port); g_IniConf.WriteBool(LogServerSectionName, 'GetStart', g_Config.LogServer.GetStart); g_IniConf.WriteInteger(RunGateSectionName, 'MainFormX', g_Config.RunGate.MainFormX); g_IniConf.WriteInteger(RunGateSectionName, 'MainFormY', g_Config.RunGate.MainFormY); g_IniConf.W
首页 上一页 1 2 3 4 5 6 下一页 尾页 4/6/6
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇WinExec 使用手记 下一篇DELPHI版传奇引擎学习菜鸟篇(appl..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目