summaryrefslogtreecommitdiff
path: root/Assembly_Firstpass/Steamworks/SteamNetworkingConfigValue_t.cs
blob: c172f315eafbef261446e7886b863d955745b1f8 (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
using System;
using System.Runtime.InteropServices;

namespace Steamworks;

[Serializable]
public struct SteamNetworkingConfigValue_t
{
	[StructLayout(LayoutKind.Explicit)]
	public struct OptionValue
	{
		[FieldOffset(0)]
		public int m_int32;

		[FieldOffset(0)]
		public long m_int64;

		[FieldOffset(0)]
		public float m_float;

		[FieldOffset(0)]
		public IntPtr m_string;

		[FieldOffset(0)]
		public IntPtr m_functionPtr;
	}

	public ESteamNetworkingConfigValue m_eValue;

	public ESteamNetworkingConfigDataType m_eDataType;

	public OptionValue m_val;
}