AgentServer() public static method

public static AgentServer ( ) : byte[]
return byte[]
示例#1
0
 /////////////////////////////////////////////////////////////////////////////////
 // Loading game packets
 /////////////////////////////////////////////////////////////////////////////////
 #region Send Load Packets
 public void Patch()
 {
     //Wrap our function inside a catcher
     try
     {
         //Send packets (Needs to be more specified).
         client.Send(Packet.AgentServer());
         client.Send(Packet.LoadGame_1());
         client.Send(Packet.LoadGame_2());
         client.Send(Packet.LoadGame_3());
         client.Send(Packet.LoadGame_4());
         client.Send(Packet.LoadGame_5());
         client.Send(Packet.LoadGame_6());
     }
     catch (Exception ex)
     {
         Console.WriteLine("Patch error Send load packets {0}", ex);
         Systems.Debugger.Write(ex);
     }
 }