public bool Close() { if (SteamNetworkingSockets.Internal.IsValid) { SteamNetworkingSockets.Internal.DestroyPollGroup(pollGroup); Socket.Close(); } pollGroup = 0; Socket = 0; return(true); }
public static int ReceiveMessagesOnPollGroup(HSteamNetPollGroup hPollGroup, IntPtr[] ppOutMessages, int nMaxMessages) { InteropHelp.TestIfAvailableGameServer(); return(NativeMethods.ISteamNetworkingSockets_ReceiveMessagesOnPollGroup(CSteamGameServerAPIContext.GetSteamNetworkingSockets(), hPollGroup, ppOutMessages, nMaxMessages)); }
public static bool SetConnectionPollGroup(HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) { InteropHelp.TestIfAvailableGameServer(); return(NativeMethods.ISteamNetworkingSockets_SetConnectionPollGroup(CSteamGameServerAPIContext.GetSteamNetworkingSockets(), hConn, hPollGroup)); }
internal int ReceiveMessagesOnPollGroup(HSteamNetPollGroup hPollGroup, IntPtr ppOutMessages, int nMaxMessages) { var returnValue = _ReceiveMessagesOnPollGroup(Self, hPollGroup, ppOutMessages, nMaxMessages); return(returnValue); }
internal void Initialize() { pollGroup = SteamNetworkingSockets.Internal.CreatePollGroup(); }
internal bool SetConnectionPollGroup(Connection hConn, HSteamNetPollGroup hPollGroup) { var returnValue = _SetConnectionPollGroup(Self, hConn, hPollGroup); return(returnValue); }
private static extern int _ReceiveMessagesOnPollGroup(IntPtr self, HSteamNetPollGroup hPollGroup, IntPtr ppOutMessages, int nMaxMessages);
internal bool DestroyPollGroup(HSteamNetPollGroup hPollGroup) { var returnValue = _DestroyPollGroup(Self, hPollGroup); return(returnValue); }
private static extern bool _SetConnectionPollGroup(IntPtr self, Connection hConn, HSteamNetPollGroup hPollGroup);
private static extern bool _DestroyPollGroup(IntPtr self, HSteamNetPollGroup hPollGroup);
public bool Equals(HSteamNetPollGroup other) => default; // 0x0000000180016320-0x0000000180016330 public int CompareTo(HSteamNetPollGroup other) => default; // 0x000000018002CB20-0x000000018002CB30
public static explicit operator uint(HSteamNetPollGroup that) => default; // 0x0000000180322710-0x00000001803232A0 public bool Equals(HSteamNetPollGroup other) => default; // 0x0000000180016320-0x0000000180016330
} // 0x00000001800163C0-0x00000001800163D0 static HSteamNetPollGroup() { Invalid = default; } // 0x00000001807CDA50-0x00000001807CDA90
public static bool DestroyPollGroup(HSteamNetPollGroup hPollGroup) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamNetworkingSockets_DestroyPollGroup(CSteamAPIContext.GetSteamNetworkingSockets(), hPollGroup); }