internal override void Shutdown() { base.Shutdown(); this._CreateListenSocketIP = null; this._ConnectByIPAddress = null; this._CreateListenSocketP2P = null; this._ConnectP2P = null; this._AcceptConnection = null; this._CloseConnection = null; this._CloseListenSocket = null; this._SetConnectionUserData = null; this._GetConnectionUserData = null; this._SetConnectionName = null; this._GetConnectionName = null; this._SendMessageToConnection = null; this._FlushMessagesOnConnection = null; this._ReceiveMessagesOnConnection = null; this._ReceiveMessagesOnListenSocket = null; this._GetConnectionInfo = null; this._GetQuickConnectionStatus = null; this._GetDetailedConnectionStatus = null; this._GetListenSocketAddress = null; this._CreateSocketPair = null; this._GetIdentity = null; this._ReceivedRelayAuthTicket = null; this._FindRelayAuthTicketForServer = null; this._ConnectToHostedDedicatedServer = null; this._GetHostedDedicatedServerPort = null; this._GetHostedDedicatedServerPOPID = null; this._GetHostedDedicatedServerAddress = null; this._CreateHostedDedicatedServerListenSocket = null; this._RunCallbacks = null; }
public override void InitInternals() { this._CreateListenSocketIP = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FCreateListenSocketIP>(Marshal.ReadIntPtr(this.VTable, 0)); this._ConnectByIPAddress = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FConnectByIPAddress>(Marshal.ReadIntPtr(this.VTable, 8)); this._CreateListenSocketP2P = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FCreateListenSocketP2P>(Marshal.ReadIntPtr(this.VTable, 16)); this._ConnectP2P = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FConnectP2P>(Marshal.ReadIntPtr(this.VTable, 24)); this._AcceptConnection = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FAcceptConnection>(Marshal.ReadIntPtr(this.VTable, 32)); this._CloseConnection = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FCloseConnection>(Marshal.ReadIntPtr(this.VTable, 40)); this._CloseListenSocket = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FCloseListenSocket>(Marshal.ReadIntPtr(this.VTable, 48)); this._SetConnectionUserData = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FSetConnectionUserData>(Marshal.ReadIntPtr(this.VTable, 56)); this._GetConnectionUserData = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetConnectionUserData>(Marshal.ReadIntPtr(this.VTable, 64)); this._SetConnectionName = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FSetConnectionName>(Marshal.ReadIntPtr(this.VTable, 72)); this._GetConnectionName = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetConnectionName>(Marshal.ReadIntPtr(this.VTable, 80)); this._SendMessageToConnection = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FSendMessageToConnection>(Marshal.ReadIntPtr(this.VTable, 88)); this._FlushMessagesOnConnection = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FFlushMessagesOnConnection>(Marshal.ReadIntPtr(this.VTable, 96)); this._ReceiveMessagesOnConnection = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FReceiveMessagesOnConnection>(Marshal.ReadIntPtr(this.VTable, 104)); this._ReceiveMessagesOnListenSocket = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FReceiveMessagesOnListenSocket>(Marshal.ReadIntPtr(this.VTable, 112)); this._GetConnectionInfo = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetConnectionInfo>(Marshal.ReadIntPtr(this.VTable, 120)); this._GetQuickConnectionStatus = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetQuickConnectionStatus>(Marshal.ReadIntPtr(this.VTable, 128)); this._GetDetailedConnectionStatus = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetDetailedConnectionStatus>(Marshal.ReadIntPtr(this.VTable, 136)); this._GetListenSocketAddress = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetListenSocketAddress>(Marshal.ReadIntPtr(this.VTable, 144)); this._CreateSocketPair = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FCreateSocketPair>(Marshal.ReadIntPtr(this.VTable, 152)); this._GetIdentity = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetIdentity>(Marshal.ReadIntPtr(this.VTable, 160)); this._ReceivedRelayAuthTicket = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FReceivedRelayAuthTicket>(Marshal.ReadIntPtr(this.VTable, 168)); this._FindRelayAuthTicketForServer = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FFindRelayAuthTicketForServer>(Marshal.ReadIntPtr(this.VTable, 176)); this._ConnectToHostedDedicatedServer = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FConnectToHostedDedicatedServer>(Marshal.ReadIntPtr(this.VTable, 184)); this._GetHostedDedicatedServerPort = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetHostedDedicatedServerPort>(Marshal.ReadIntPtr(this.VTable, 192)); this._GetHostedDedicatedServerPOPID = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetHostedDedicatedServerPOPID>(Marshal.ReadIntPtr(this.VTable, 200)); this._GetHostedDedicatedServerAddress = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FGetHostedDedicatedServerAddress>(Marshal.ReadIntPtr(this.VTable, 208)); this._CreateHostedDedicatedServerListenSocket = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FCreateHostedDedicatedServerListenSocket>(Marshal.ReadIntPtr(this.VTable, 216)); this._RunCallbacks = Marshal.GetDelegateForFunctionPointer <ISteamNetworkingSockets.FRunCallbacks>(Marshal.ReadIntPtr(this.VTable, 224)); }