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