Steamworks.SteamGameServer.BUpdateUserData C# (CSharp) Method

BUpdateUserData() public static method

Update the data to be displayed in the server browser and matchmaking interfaces for a user

currently connected to the server. For regular users you must call this after you receive a

GSUserValidationSuccess callback.

Return Value: true if successful, false if failure (ie, steamIDUser wasn't for an active player)

public static BUpdateUserData ( CSteamID steamIDUser, string pchPlayerName, uint uScore ) : bool
steamIDUser CSteamID
pchPlayerName string
uScore uint
return bool
		public static bool BUpdateUserData(CSteamID steamIDUser, string pchPlayerName, uint uScore) {
			InteropHelp.TestIfAvailableGameServer();
			using (var pchPlayerName2 = new InteropHelp.UTF8StringHandle(pchPlayerName)) {
				return NativeMethods.ISteamGameServer_BUpdateUserData(steamIDUser, pchPlayerName2, uScore);
			}
		}