summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/InputActionSetHandle_t.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assembly_Firstpass/Steamworks/InputActionSetHandle_t.cs')
-rw-r--r--Assembly_Firstpass/Steamworks/InputActionSetHandle_t.cs63
1 files changed, 63 insertions, 0 deletions
diff --git a/Assembly_Firstpass/Steamworks/InputActionSetHandle_t.cs b/Assembly_Firstpass/Steamworks/InputActionSetHandle_t.cs
new file mode 100644
index 0000000..a01161e
--- /dev/null
+++ b/Assembly_Firstpass/Steamworks/InputActionSetHandle_t.cs
@@ -0,0 +1,63 @@
+using System;
+
+namespace Steamworks;
+
+[Serializable]
+public struct InputActionSetHandle_t : IEquatable<InputActionSetHandle_t>, IComparable<InputActionSetHandle_t>
+{
+ public ulong m_InputActionSetHandle;
+
+ public InputActionSetHandle_t(ulong value)
+ {
+ m_InputActionSetHandle = value;
+ }
+
+ public override string ToString()
+ {
+ return m_InputActionSetHandle.ToString();
+ }
+
+ public override bool Equals(object other)
+ {
+ if (other is InputActionSetHandle_t)
+ {
+ return this == (InputActionSetHandle_t)other;
+ }
+ return false;
+ }
+
+ public override int GetHashCode()
+ {
+ return m_InputActionSetHandle.GetHashCode();
+ }
+
+ public static bool operator ==(InputActionSetHandle_t x, InputActionSetHandle_t y)
+ {
+ return x.m_InputActionSetHandle == y.m_InputActionSetHandle;
+ }
+
+ public static bool operator !=(InputActionSetHandle_t x, InputActionSetHandle_t y)
+ {
+ return !(x == y);
+ }
+
+ public static explicit operator InputActionSetHandle_t(ulong value)
+ {
+ return new InputActionSetHandle_t(value);
+ }
+
+ public static explicit operator ulong(InputActionSetHandle_t that)
+ {
+ return that.m_InputActionSetHandle;
+ }
+
+ public bool Equals(InputActionSetHandle_t other)
+ {
+ return m_InputActionSetHandle == other.m_InputActionSetHandle;
+ }
+
+ public int CompareTo(InputActionSetHandle_t other)
+ {
+ return m_InputActionSetHandle.CompareTo(other.m_InputActionSetHandle);
+ }
+}