MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / BuildInvalidKeyMsg

Method BuildInvalidKeyMsg

neo/framework/async/AsyncNetwork.cpp:497–509  ·  view source on GitHub ↗

=============== idAsyncNetwork::BuildInvalidKeyMsg =============== */

Source from the content-addressed store, hash-verified

495===============
496*/
497void idAsyncNetwork::BuildInvalidKeyMsg( idStr &msg, bool valid[ 2 ] ) {
498 if ( !valid[ 0 ] ) {
499 msg += common->GetLanguageDict()->GetString( "#str_07194" );
500 }
501 if ( fileSystem->HasD3XP() && !valid[ 1 ] ) {
502 if ( msg.Length() ) {
503 msg += "\n";
504 }
505 msg += common->GetLanguageDict()->GetString( "#str_07195" );
506 }
507 msg += "\n";
508 msg += common->GetLanguageDict()->GetString( "#str_04304" );
509}

Callers

nothing calls this directly

Calls 4

HasD3XPMethod · 0.80
GetStringMethod · 0.45
GetLanguageDictMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected