コード例 #1
0
ファイル: Core.cs プロジェクト: tuita520/Regulus
 void Regulus.Utility.ICore.ObtainController(Regulus.Remoting.ISoulBinder binder)
 {
     binder.Bind <TestNativeGameCore.IMessager>(this);
     binder.BreakEvent += () =>
     {
         binder.Unbind <TestNativeGameCore.IMessager>(this);
     };
 }
コード例 #2
0
ファイル: Service.cs プロジェクト: jiowchern/Regulus
        public Service(Regulus.Remoting.ISoulBinder binder, Storage storage , int account_id)
        {
            // TODO: Complete member initialization
            this._Binder = binder;
            this._Storage = storage;

            _Id = account_id;
        }
コード例 #3
0
ファイル: RealmStage.cs プロジェクト: jiowchern/Regulus
        public RealmStage(Regulus.Remoting.ISoulBinder binder, IScene realm, Regulus.Project.SamebestKeys.Serializable.DBEntityInfomation[] actors, Belongings belongings)
        {
            _Binder = binder;
            this._Scene = realm;

            _Players = (from actor in actors select new Player(actor)).ToArray();

            _Observeds = new List<IObservedAbility>();
            _Belongings = belongings;
            _Updater = new Utility.Updater();
        }
コード例 #4
0
ファイル: Core.cs プロジェクト: jiowchern/Regulus
        public Core(Regulus.Remoting.ISoulBinder binder, IStorage storage, IZone zone )
        {
            _Zone = zone;
            Storage = storage;
            _Binder = binder;

            _StageMachine = new Regulus.Utility.StageMachine();

            binder.BreakEvent += _OnInactive;
            _StatusEvent += (s) => { };
        }
コード例 #5
0
ファイル: Core.cs プロジェクト: jiowchern/KeysCore
        public Core(Regulus.Remoting.ISoulBinder binder, IStorage storage, IMap zone , Battle.IZone battle)
        {
            _Battle = battle;
            _Zone = zone;
            Storage = storage;
            _Binder = binder;
            _Binder.Bind<IUserStatus>(this);
            _StageMachine = new Regulus.Game.StageMachine();

            binder.BreakEvent += _OnInactive;
            _StatusEvent += (s) => { };
        }
コード例 #6
0
ファイル: Verify.cs プロジェクト: jiowchern/Regulus
 public Verify(Regulus.Remoting.ISoulBinder binder , Storage storage)
 {
     _Storage = storage;
     this._Binder = binder;
 }
コード例 #7
0
ファイル: GameStates.cs プロジェクト: kof1016/RegulusTest
 public InGameState(Regulus.Remoting.ISoulBinder provider)
 {
     _Provider = provider;
 }
コード例 #8
0
ファイル: GameStates.cs プロジェクト: kof1016/RegulusTest
 public LoginStates(Regulus.Remoting.ISoulBinder provider)
 {
     _Provider = provider;
 }
コード例 #9
0
ファイル: Service.cs プロジェクト: jiowchern/Regulus
 public Service(Regulus.Remoting.ISoulBinder _Binder, Storage _Storage)
 {
     // TODO: Complete member initialization
     this._Binder = _Binder;
     this._Storage = _Storage;
 }
コード例 #10
0
ファイル: Kerb.cs プロジェクト: jiowchern/Regulus
 public Kerb(Regulus.Remoting.ISoulBinder binder)
 {
     this._Binder = binder;
     _Coroutine = new Regulus.Utility.Coroutine.Coroutine();
 }
コード例 #11
0
ファイル: User.cs プロジェクト: jiowchern/Regulus
 public User(Regulus.Remoting.ISoulBinder binder , Storage storage)
 {
     _Storage = storage;
     _Enable = true;
     this._Binder = binder;
 }
コード例 #12
0
ファイル: User.cs プロジェクト: jiowchern/Regulus
 public User(Regulus.Remoting.ISoulBinder binder)
 {
     this._Binder = binder;
     _Machine = new Regulus.Utility.StageMachine();
 }
コード例 #13
0
ファイル: Verify.cs プロジェクト: jiowchern/Regulus
 public Verify(Regulus.Remoting.ISoulBinder binder)
 {
     this._Binder = binder;
 }