Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
snail committed Jul 7, 2015
1 parent 87998d3 commit f88c129
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Server/Server/Main/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,14 @@ int32_t main(int32_t argc, CHAR* argv[])

FLString<128> fString("Hello World");

Ini ConfigFile("GameConfig.ini");
int32_t interval = ConfigFile.ReadInt("Login", "PlayerSaveInterval");
int32_t isopenAdvertisement = ConfigFile.ReadInt("Advertisement", "AdvertisementFirstTime");

fString += f32;

fString = f64;
fString += 0xffffff;

TIME64_t now = TimeUtil::Now();
TIME64_t nextNow = TimeUtil::Add(now, 1000);
Expand All @@ -117,6 +122,7 @@ int32_t main(int32_t argc, CHAR* argv[])

int32_t i = 9;
int32_t div = i / 9999999;
Assert(div);
int32_t val = i / div;

g_Server.Loop();
Expand Down

0 comments on commit f88c129

Please sign in to comment.