Exemple #1
0
 public SynchronizedSpaceEngineers(ISpaceEngineers se, MethodCallContext methodCallContext)
 {
     Character = new GameLoopDynamicProxy <ICharacterController>(se.Character, methodCallContext)
                 .ActLike <ICharacterController>();
     Session = new GameLoopDynamicProxy <ISessionController>(se.Session, methodCallContext)
               .ActLike <ISessionController>();
     Items       = new GameLoopDynamicProxy <IItems>(se.Items, methodCallContext).ActLike <IItems>();
     Observer    = new GameLoopDynamicProxy <IObserver>(se.Observer, methodCallContext).ActLike <IObserver>();
     Definitions = new GameLoopDynamicProxy <IDefinitions>(se.Definitions, methodCallContext)
                   .ActLike <IDefinitions>();
     Blocks = new GameLoopDynamicProxy <IBlocks>(se.Blocks, methodCallContext).ActLike <IBlocks>();
     Admin  = new GameLoopDynamicProxy <ISpaceEngineersAdmin>(se.Admin, methodCallContext)
              .ActLike <ISpaceEngineersAdmin>();
     Screens = new GameLoopDynamicProxy <IScreens>(se.Screens, methodCallContext).ActLike <IScreens>();
 }
 public GameLoopDynamicProxy(TType instance, MethodCallContext methodCallContext)
 {
     m_instance          = instance;
     m_methodCallContext = methodCallContext;
 }