예제 #1
0
        protected override void ApplicationStarted()
        {
            var defaultPool = PoolManager.GetPool();

            var buffBlueprint = new BuffedBlueprint(Database);
            var buffedEntity  = defaultPool.CreateEntity(buffBlueprint);
        }
예제 #2
0
        protected override void ApplicationStarted()
        {
            var defaultCollection = EntityDatabase.GetCollection();
            var buffBlueprint     = new BuffedBlueprint(Database);

            defaultCollection.CreateEntity(buffBlueprint);
        }