private void OnPolicyResponse(GSPolicyResponse_t pPolicyResponse) { if (SteamGameServer.BSecure()) { Debug.Log("SpaceWarServer is VAC Secure!"); } else { Debug.Log("SpaceWarServer is not VAC Secure!"); } Debug.Log("Game server SteamID:" + SteamGameServer.GetSteamID().ToString()); }
void OnPolicyResponse(GSPolicyResponse_t PolicyResponses) { if (SteamGameServer.BSecure()) { print("VAC is Secure"); } else { print("not VAC is Secure"); } print("SteamID:" + SteamGameServer.GetSteamID().ToString()); }
private void OnGsPolicyResponse(GSPolicyResponse_t callback) { if (callback.m_bSecure != 0) { ((ServerConnection)Connection).IsSecure = true; } else if (((ServerConnection)Connection).IsSecure) { ((ServerConnection)Connection).IsSecure = false; } LogUtils.Debug("OnGsPolicyResponse: IsSecure: " + callback.m_bSecure); }
private void OnPolicyResponse(GSPolicyResponse_t pPolicyResponse) { if (SteamGameServer.BSecure()) { Debug.Log("The Forest Server is VAC Secure!"); } else { Debug.Log("The Forest Server is not VAC Secure!"); } Debug.Log("Game server SteamID:" + SteamGameServer.GetSteamID().ToString()); this.Launch(); }
//----------------------------------------------------------------------------- // Purpose: Callback from Steam when logon is fully completed and VAC secure policy is set //----------------------------------------------------------------------------- void OnPolicyResponse(GSPolicyResponse_t pPolicyResponse) { #if USE_GS_AUTH_API // Check if we were able to go VAC secure or not if (SteamGameServer.BSecure()) { Debug.Log("SpaceWarServer is VAC Secure!"); } else { Debug.Log("SpaceWarServer is not VAC Secure!"); } Debug.Log("Game server SteamID:" + SteamGameServer.GetSteamID().ToString()); #endif }