# PSF-LoginServer - master - net.psforever.objects.zones.blockmap
PSF - LoginServer - master - net.psforever.objects.zones.blockmap
Keywords: PSF LoginServer master net.psforever.objects.zones.blockmap

PSF-LoginServer - master < Back


# Packages

-  package root
  Definition Classes
    root
-  package net
  Definition Classes
    root
-  package psforever
  Definition Classes
    net
-  package objects
  Definition Classes
    psforever
-  package zones
  Definition Classes
    objects
-  package blockmap
  Definition Classes
    zones
- BlockMap
- BlockMapEntity
- BlockMapEntry
- Sector
- SectorGroup
- SectorListOf
- SectorPopulation
- SectorTraits

p

net.psforever.objects.zones

# blockmap

#### package blockmap


Ordering

1. Alphabetic

Visibility

1. Public
2. Protected

### Type Members

1.  class BlockMap extends AnyRef

   A data structure which divides coordinate space into buckets or coordinate spans.

   A data structure which divides coordinate space into buckets or coordinate spans. The function of the blockmap is to organize the instantiated game objects (entities) that can be represented in coordinate space into a bucket each or into multiple buckets each that reflect their locality with other game objects in the same coordinate space. Polling based on either positions or on entities should be able to recover a lists of entities that are considered neighbors in the context of that position and a rectangular distance around the position. The purpose of the blockmap is to improve targeting when making such locality determinations.
   The coordinate space of a PlanetSide zone may contain 65535 entities, one of which is the same target entity. A bucket on the blockmap should contain only a small fraction of the full zone's entities.

2.  trait BlockMapEntity extends WorldEntity

   An game object that can be represented on a blockmap.

   An game object that can be represented on a blockmap. The only requirement is that the entity can position itself in a zone's coordinate space.

   See also

     `BlockMap`

     `WorldEntity`

3.  sealed case class BlockMapEntry (coords: Vector3, range: Float, sectors: Set[Int]) extends Product with Serializable
4.  class Sector extends SectorPopulation

   The bucket of a blockmap structure that contains lists of entities that, within a given span of coordinate distance, are considered neighbors.

   The bucket of a blockmap structure that contains lists of entities that, within a given span of coordinate distance, are considered neighbors. While the coordinate space that supports a blockmap (?) may be any combination of two dimensions, the sectors are always square.

5.  class SectorGroup extends SectorPopulation

   The specific datastructure that is mentioned when using the term "sector conglomerate".

   The specific datastructure that is mentioned when using the term "sector conglomerate". Typically used to compose the lists of entities from various individual sectors.

6.  class SectorListOf [A] extends AnyRef

   Custom lists of entities for sector buckets.

   Custom lists of entities for sector buckets.

   A

     the type of object that will be the entities stored in the list

7.  trait SectorPopulation extends AnyRef

   The collections of entities in a sector conglomerate.

8.  trait SectorTraits extends AnyRef

   Information about the sector.

### Value Members

1.  object BlockMap
2.  object BlockMapEntity
3.  object SectorGroup

### Ungrouped