public LoginScene( ZoneClientNetPeer zoneClientNetPeer, WindowService windowService) : base(windowService) { this.zoneClientNetPeer = zoneClientNetPeer; this.windowService = windowService; }
public GameCore( ZoneClientNetPeer zoneClientNetPeer, IncomingMessageProcessor incomingMessageProcessor, IServiceProvider serviceProvider) : base(windowTitle: "Sinalia") { this.zoneClientNetPeer = zoneClientNetPeer; this.incomingMessageProcessor = incomingMessageProcessor; this.serviceProvider = serviceProvider; }
public ZoneClient( IServiceProvider serviceProvider, IncomingMessageProcessor incomingMessageProcessor, ILoggingService loggingService, ZoneClientNetPeer zoneClientNetPeer) { this.serviceProvider = serviceProvider; this.incomingMessageProcessor = incomingMessageProcessor; this.loggingService = loggingService; this.zoneClientNetPeer = zoneClientNetPeer; }
public LoginWindow( WindowService windowService, ZoneClientNetPeer zoneClientNetPeer) { this.windowService = windowService; this.zoneClientNetPeer = zoneClientNetPeer; SetWidth(200); SetMovable(false); var skin = GameSettings.Skin; var table = new Table(); table.Center(); var emailLbl = new Label("Email adress"); emailLbl.SetFontColor(Color.Black); emailTf = new TextField("Cypgain", skin.Get <TextFieldStyle>("Textbox")); var passwordLbl = new Label("Password"); passwordLbl.SetFontColor(Color.Black); passwordTf = new TextField("test", skin.Get <TextFieldStyle>("Textbox")); passwordTf.SetPasswordMode(true); var loginBtn = new TextButton("Login", skin.Get <TextButtonStyle>("Button")); loginBtn.OnClicked += LoginButton_OnClicked; table.Add(emailLbl); table.Row(); table.Add(emailTf).SetPadBottom(10); table.Row(); table.Add(passwordLbl); table.Row(); table.Add(passwordTf).SetPadBottom(10); table.Row(); table.Add(loginBtn).SetFillX().SetExpandX(); Add(table); }
public PlayerLoginSuccessMessageHandler(ZoneClientNetPeer zoneClientNetPeer) { this.zoneClientNetPeer = zoneClientNetPeer; }