Example #1
0
 public static void GetServerRules(uint ip, ushort port, ServerRulesResponse completedAction, Action failedAction)
 {
     if (EnsureGameService())
     {
         m_gameServiceCache.GetServerRules(ip, port, completedAction, failedAction);
     }
 }
Example #2
0
        // public void PingServerResponded(GameServerItem serverItem)
        // {
        //     this.OnPingServerResponded(serverItem);
        // }

        // public void PingServerFailedToRespond()
        // {
        //     this.OnPingServerFailedToRespond();
        // }

         public unsafe void GetServerRules(uint unIP, ushort unPort, ServerRulesResponse completedAction, Action failedAction)
         {
             // TODO [vicent] current stub implementation
             return;

             //MatchmakingRulesResponse* this2 = <Module>.@new(32uL);
             //MatchmakingRulesResponse* unPort2;
             //try
             //{
             //    if (this2 != null)
             //    {
             //        unPort2 = <Module>.MatchmakingRulesResponse.{ctor}(this2, completedAction, failedAction);
             //    }
             //    else
             //    {
             //        unPort2 = 0L;
             //    }
             //}
             //catch
             //{
             //    <Module>.delete((void*)this2);
             //    throw;
             //}
             //ISteamMatchmakingServers* unIP2 = <Module>.SteamMatchmakingServers();
             //object arg_3A_0 = calli(System.Int32 modopt(System.Runtime.CompilerServices.CallConvCdecl)(System.IntPtr,System.UInt32,System.UInt16,ISteamMatchmakingRulesResponse*), unIP2, unIP, unPort, unPort2, *(*(long*)unIP2 + 120L));
         }