private static unsafe void OnContextInit(CSteamApiContext *c_contextPointer) { c_contextPointer->Clear(); if (GetHSteamPipe() != 0) { c_contextPointer->Init(); } }
private static unsafe CSteamApiContext *GetSteamApiContext() { if (m_steamApiContext != null) { return(m_steamApiContext); } var a_callbackCounterAndContext = CallbackCounterAndContext(); m_steamApiContext = ContextInit(a_callbackCounterAndContext); return(m_steamApiContext); }