MCPcopy Create free account
hub / github.com/crossuo/crossuo / LoadAutoLoginNames

Method LoadAutoLoginNames

src/CrossUO.cpp:868–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868void CGame::LoadAutoLoginNames()
869{
870 TextFileParser file(g_App.UOFilesPath("autologinnames.cfg"), "", "#;", "");
871
872 auto names = g_PacketManager.AutoLoginNames + "|";
873
874 while (!file.IsEOF())
875 {
876 auto strings = file.ReadTokens(false);
877
878 if (static_cast<unsigned int>(!strings.empty()) != 0u)
879 {
880 names += strings[0] + "|";
881 }
882 }
883
884 g_PacketManager.AutoLoginNames = names;
885}
886
887void CGame::ProcessDelayedClicks()
888{

Callers

nothing calls this directly

Calls 4

UOFilesPathMethod · 0.80
ReadTokensMethod · 0.80
IsEOFMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected