Steamworks.SteamController.GetActionSetHandle C# (CSharp) Method

GetActionSetHandle() public static method

ACTION SETS

Lookup the handle for an Action Set. Best to do this once on startup, and store the handles for all future API calls.

public static GetActionSetHandle ( string pszActionSetName ) : ControllerActionSetHandle_t
pszActionSetName string
return ControllerActionSetHandle_t
		public static ControllerActionSetHandle_t GetActionSetHandle(string pszActionSetName) {
			InteropHelp.TestIfAvailableClient();
			using (var pszActionSetName2 = new InteropHelp.UTF8StringHandle(pszActionSetName)) {
				return (ControllerActionSetHandle_t)NativeMethods.ISteamController_GetActionSetHandle(pszActionSetName2);
			}
		}