public override void stateOperation() { GameState.Instance.State = ClientState.Ready; Networking.SetIsReadyAsync(true); }
static void Main(string[] args) { Console.Title = "Client"; Networking net = new Networking(IPAddress.Loopback.ToString(), 100); }
public override void stateOperation() { GameState.Instance.State = ClientState.Connecting; Networking.ConnectAsync(); }
public virtual void FullConnect(EndPoint addr) { NetChannel = Networking.CreateChannel(_socket, "CLIENT", addr, this); SetSignonState(ESignonState.Connected); }
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { Networking.SetLevelTypeAsync((LevelType)comboBox1.SelectedItem); }