コード例 #1
0
        public static EntityMapCacheGroup Allocate(EntityMap entityId2Entity)
        {
            EntityMapCacheGroup cacheGroup = ObjectAllocatorHolder <EntityMapCacheGroup> .Allocate();

            cacheGroup.Initialize(entityId2Entity);
            return(cacheGroup);
        }
コード例 #2
0
 public GameContexts()
 {
     MyEntityMap = EntityMap.Allocate();
     cacheGroup  = EntityMapCacheGroup.Allocate(MyEntityMap);
 }
コード例 #3
0
 public SelfEntityMapReplicationHolder(EntityMapCacheGroup @group) : base(@group)
 {
 }
コード例 #4
0
 public LatestestEntityMapReplicationHolder(EntityMapCacheGroup @group) : base(@group)
 {
 }
コード例 #5
0
 public static void Free(EntityMapCacheGroup cacheGroup)
 {
     ObjectAllocatorHolder <EntityMapCacheGroup> .Free(cacheGroup);
 }