public static EntityMapCacheGroup Allocate(EntityMap entityId2Entity) { EntityMapCacheGroup cacheGroup = ObjectAllocatorHolder <EntityMapCacheGroup> .Allocate(); cacheGroup.Initialize(entityId2Entity); return(cacheGroup); }
public GameContexts() { MyEntityMap = EntityMap.Allocate(); cacheGroup = EntityMapCacheGroup.Allocate(MyEntityMap); }
public SelfEntityMapReplicationHolder(EntityMapCacheGroup @group) : base(@group) { }
public LatestestEntityMapReplicationHolder(EntityMapCacheGroup @group) : base(@group) { }
public static void Free(EntityMapCacheGroup cacheGroup) { ObjectAllocatorHolder <EntityMapCacheGroup> .Free(cacheGroup); }