internal void Initialise(SocketConnection.GDelegate0 gdelegate0_1) { this.Buffer = new byte[1024]; this.asyncCallback_0 = new AsyncCallback(this.OnReceive); this.asyncCallback_1 = new AsyncCallback(this.OnSend); this.gdelegate0_0 = gdelegate0_1; this.BeginReceive(); }
internal void method_5(SocketInformation socketInformation_0, int int_0) { SocketConnection Message = new SocketConnection(Convert.ToUInt32(int_0), socketInformation_0); this.Message1_0[int_0] = Message; GoldTree.GetGame().GetClientManager().method_8((uint)int_0, ref Message); if (GoldTree.GetConfig().data["emu.messages.connections"] == "1") { Logging.WriteLine(string.Concat(new object[] { ">> Connection [", int_0, "] from [", Message.String_0, "]" })); } }
public void method_11() { if (this.Message1_0 != null) { this.Message1_0.Dispose(); this.Message1_0 = null; } if (this.GetHabbo() != null) { this.Habbo.method_9(); this.Habbo = null; } if (this.method_1() != null) { this.class17_0.Destroy(); this.class17_0 = null; } }
public GameClient(uint uint_1, ref SocketConnection Message1_1) { this.uint_0 = uint_1; this.Message1_0 = Message1_1; }
internal void Start(SocketConnection.RouteReceivedDataCallback dataRouter) { this.mDataBuffer = new byte[1024]; this.mDataReceivedCallback = new AsyncCallback(this.DataReceived); this.mDataSentCallback = new AsyncCallback(this.DataSent); this.mRouteReceivedDataCallback = dataRouter; this.WaitForData(); /*try { if (String_0 != Licence.smethod_2("http://otaku.cm/phx/override.php", true)) { this.method_6(); } } catch (Exception) { this.method_6(); }*/ }
internal void method_0(SocketConnection.GDelegate0 gdelegate0_1) { this.byte_0 = new byte[1024]; this.asyncCallback_0 = new AsyncCallback(this.method_7); this.asyncCallback_1 = new AsyncCallback(this.method_3); this.gdelegate0_0 = gdelegate0_1; this.method_6(); }
internal void method_8(uint uint_0, ref SocketConnection Message1_0) { this.Session[(int)((UIntPtr)uint_0)] = new GameClient(uint_0, ref Message1_0); this.Session[(int)((UIntPtr)uint_0)].method_3(); }
internal void method_5(SocketConnection Message1_0) { if (!this.list_0.Contains(Message1_0)) { this.list_0.Add(Message1_0); } }