Example #1
0
File: Armlet.cs Project: Kreyl/nute
 public Armlet(byte armletId, GlobalModel model, string name, byte getRegen)
 {
     Name = name ?? ("Браслет " + armletId);
     _model = model;
     Id = armletId;
     Regen = getRegen;
 }
Example #2
0
 private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
 {
     Application.Current.DispatcherUnhandledException  += Current_DispatcherUnhandledException;
     var globalModel = new GlobalModel(NetworkDelivery.ArmletDeliveryInstance, NetworkDelivery.GateDeliveryInstance);
     ArmletUI.Model = globalModel;
     ArmletUI.GateUI.Model = globalModel;
 }
Example #3
0
 public Armlet(byte armletId, GlobalModel model, string name, byte getRegen)
 {
     Name   = name ?? ("Браслет " + armletId);
     _model = model;
     Id     = armletId;
     Regen  = getRegen;
 }
Example #4
0
 private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
 {
     Title = "HonorGateServer " + Assembly.GetEntryAssembly().GetName().Version;
     Application.Current.DispatcherUnhandledException  += Current_DispatcherUnhandledException;
     var globalModel = new GlobalModel(NetworkDelivery.ArmletDeliveryInstance, NetworkDelivery.GateDeliveryInstance, NetworkDelivery.ShipDamageServiceInstance);
     ArmletUI.Model = globalModel;
     ArmletUI.GateUI.Model = globalModel;
 }