MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setLastError

Method setLastError

Engine/source/sim/netConnection.cpp:677–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675String NetConnection::mErrorBuffer;
676
677void NetConnection::setLastError(const char *fmt, ...)
678{
679 va_list argptr;
680 va_start(argptr, fmt);
681 mErrorBuffer = String::ToString(fmt, argptr);
682 va_end(argptr);
683
684#ifdef TORQUE_DEBUG_NET
685 // setLastErrors assert in net_debug builds
686 AssertFatal(false, mErrorBuffer.c_str());
687#endif
688
689}
690
691//--------------------------------------------------------------------
692

Callers 9

unpackUpdateMethod · 0.45
unpackMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45
unpackMethod · 0.45
unpackUpdateMethod · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected