blob: 86621157fa5950bb1650709625fd3493c0e8c616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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);
}
}
|