blob: 32d0f91a3fd1b8978f5fb5944108597b1156693a (
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
64
65
|
using System;
namespace Steamworks;
[Serializable]
public struct HTTPCookieContainerHandle : IEquatable<HTTPCookieContainerHandle>, IComparable<HTTPCookieContainerHandle>
{
public static readonly HTTPCookieContainerHandle Invalid = new HTTPCookieContainerHandle(0u);
public uint m_HTTPCookieContainerHandle;
public HTTPCookieContainerHandle(uint value)
{
m_HTTPCookieContainerHandle = value;
}
public override string ToString()
{
return m_HTTPCookieContainerHandle.ToString();
}
public override bool Equals(object other)
{
if (other is HTTPCookieContainerHandle)
{
return this == (HTTPCookieContainerHandle)other;
}
return false;
}
public override int GetHashCode()
{
return m_HTTPCookieContainerHandle.GetHashCode();
}
public static bool operator ==(HTTPCookieContainerHandle x, HTTPCookieContainerHandle y)
{
return x.m_HTTPCookieContainerHandle == y.m_HTTPCookieContainerHandle;
}
public static bool operator !=(HTTPCookieContainerHandle x, HTTPCookieContainerHandle y)
{
return !(x == y);
}
public static explicit operator HTTPCookieContainerHandle(uint value)
{
return new HTTPCookieContainerHandle(value);
}
public static explicit operator uint(HTTPCookieContainerHandle that)
{
return that.m_HTTPCookieContainerHandle;
}
public bool Equals(HTTPCookieContainerHandle other)
{
return m_HTTPCookieContainerHandle == other.m_HTTPCookieContainerHandle;
}
public int CompareTo(HTTPCookieContainerHandle other)
{
return m_HTTPCookieContainerHandle.CompareTo(other.m_HTTPCookieContainerHandle);
}
}
|