Steamworks.SteamGameServerInventory.CheckResultSteamID C# (CSharp) Method

CheckResultSteamID() public static method

Returns true if the result belongs to the target steam ID, false if the

result does not. This is important when using DeserializeResult, to verify

that a remote player is not pretending to have a different user's inventory.

public static CheckResultSteamID ( SteamInventoryResult_t resultHandle, CSteamID steamIDExpected ) : bool
resultHandle SteamInventoryResult_t
steamIDExpected CSteamID
return bool
		public static bool CheckResultSteamID(SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) {
			InteropHelp.TestIfAvailableGameServer();
			return NativeMethods.ISteamGameServerInventory_CheckResultSteamID(resultHandle, steamIDExpected);
		}