Exemplo n.º 1
0
 public void Cancel()
 {
     if (hserverPing != 0)
     {
         ServerList.Base.Internal.CancelServerQuery(hserverPing);
     }
     hserverPing = 0;
 }
Exemplo n.º 2
0
 public void Cancel()
 {
     if (hserverRules != 0)
     {
         ServerList.Base.Internal.CancelServerQuery(hserverRules);
     }
     hserverRules = 0;
 }
Exemplo n.º 3
0
 public void HQueryPing(IPAddress ip, int port)
 {
     hserverPing = ServerList.Base.Internal.PingServer(ip.IpToInt32(), (ushort)port, (IntPtr)this);
 }
Exemplo n.º 4
0
        private void InternalOnPlayersRefreshComplete(IntPtr thisptr)
        {
            hserverRules = 0;

            m_PlayersRefreshComplete();
        }
Exemplo n.º 5
0
        private void InternalOnPlayersFailedToRespond(IntPtr thisptr)
        {
            hserverRules = 0;

            m_PlayersFailedToRespond();
        }
Exemplo n.º 6
0
        private void InternalOnAddPlayerToList(IntPtr thisptr, IntPtr pchName, int nScore, float flTimePlayed)
        {
            hserverRules = 0;

            m_AddPlayerToList(Utf8StringPointer.ConvertPtrToString(pchName), nScore, flTimePlayed);
        }
Exemplo n.º 7
0
 public void HQueryServerRules(IPAddress ip, int queryPort)
 {
     hserverRules = ServerList.Base.Internal.ServerRules(ip.IpToInt32(), (ushort)queryPort, (IntPtr)this);
 }
Exemplo n.º 8
0
        private void InternalOnServerFailedToRespond(IntPtr thisptr)
        {
            hserverPing = 0;

            m_ServerFailedToRespond();
        }
Exemplo n.º 9
0
        private void InternalOnServerResponded(IntPtr thisptr, Steamworks.Data.gameserveritem_t server)
        {
            hserverPing = 0;

            m_ServerResponded(Steamworks.Data.ServerInfo.From(server));
        }