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