Example #1
0
        public NetworkDispatch(StarlightClient starlightClient, FormContainer formContainer) : base(typeof(NetworkDispatch).Assembly)
        {
            this.starlightClient = starlightClient;
            this.formContainer   = formContainer;

            Task.Run(ProcessNetworkMessages);
        }
Example #2
0
 public ScreenContext(StarlightGame game, ScreenContainer screenContainer, ResourceCache resourceCache, ResourceLocator resourceLocator, StarlightClient networkClient)
 {
     this.Game            = game;
     this.ScreenContainer = screenContainer;
     this.ResourceCache   = resourceCache;
     this.ResourceLocator = resourceLocator;
     this.NetworkClient   = networkClient;
 }
Example #3
0
        public ScreenContainer(StarlightGame game, ResourceCache resourceCache, ResourceLocator resourceLocator, StarlightClient networkClient, MyraUI.Desktop desktop)
        {
            this.game            = game;
            this.resourceCache   = resourceCache;
            this.resourceLocator = resourceLocator;
            this.networkClient   = networkClient;
            this.desktop         = desktop;

            this.screenStack = new Stack <IScreen>();
        }
Example #4
0
 public RequestContext(int connectionId, StarlightClient networkClient, FormContainer formContainer)
 {
     this.ConnectionId  = connectionId;
     this.NetworkClient = networkClient;
     this.FormContainer = formContainer;
 }
Example #5
0
 public RequestContext(int connectionId, StarlightClient networkClient, ScreenContainer screenContainer)
 {
     this.ConnectionId    = connectionId;
     this.NetworkClient   = networkClient;
     this.ScreenContainer = screenContainer;
 }
Example #6
0
 public NetworkDispatch(StarlightClient networkClient, ScreenContainer screenContainer) : base(typeof(NetworkDispatch).Assembly)
 {
     this.networkClient   = networkClient;
     this.screenContainer = screenContainer;
 }