MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / VerifySerialKey

Method VerifySerialKey

apps/cwr/Game/GameApplication.cpp:1609–1626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1607}
1608
1609void GameApplication::VerifySerialKey()
1610{
1611#if _VERIFY_KEY
1612 m_keyVerified = true;
1613#else
1614 m_keyVerified = true;
1615#endif
1616
1617#if _VERIFY_KEY_EXT
1618 m_keyVerified = true;
1619#endif
1620
1621 if (!m_keyVerified)
1622 {
1623 Poseidon::Foundation::ErrorMessage("Bad serial number given in Setup");
1624 exit(1);
1625 }
1626}
1627
1628void GameApplication::StartGameMode()
1629{

Callers

nothing calls this directly

Calls 1

ErrorMessageFunction · 0.85

Tested by

no test coverage detected