Example #1
0
 protected override void OnSystemLoaded(NeoSystem system)
 {
     if (system.Settings.Network != Settings.Default.Network)
     {
         return;
     }
     System = system;
     Store  = System.ActorSystem.ActorOf(StateStore.Props(this, string.Format(Settings.Default.Path, system.Settings.Network.ToString("X8"))));
     System.ServiceAdded += NeoSystem_ServiceAdded;
     RpcServerPlugin.RegisterMethods(this, Settings.Default.Network);
 }
Example #2
0
 protected override void OnPluginsLoaded()
 {
     store = System.ActorSystem.ActorOf(StateStore.Props(System, Settings.Default.Path));
 }