net.psforever.objects.serverobject
the unique id that will be assigned to this entity
the logic that initializes the emitted entity
Instantiate and configure the given server object.
Instantiate and configure the given server object.
Specific configuration should have been handled by curried parameters into constructor
, i.e.,
constructor(foo : Bar) => constructor(Int, ActorContext) => A
.
The main activity performed locally registers the created object to the provided number space.
a context to allow the object to properly set up ActorSystem
functionality;
defaults to null
the local globally unique identifier system to complete the process of object introduction;
defaults to null
the object that was created and integrated into the Zone
Customizable native entity instantiation logic at the
ZoneMap
level. Produces environmental constants such asTerminal
objects andDoor
objects.ZoneMap
is the expected position where this class is defined. WithinZone.Init
is where this class is expected to be fully executed. The former is a blueprint which provides as many emitted entities based on how manyZone
objects utilize it.constructor
is required to have the form(Int, ActorContext) => A
by the point where it executes due to invocation of theBuild
method. For that reason, it must exist in anActor
which has anActorContext
to lend, hence theZone
'sActor
. Furthermore, the requirement of aNumberPoolHub
means the region is accessible to and defined by a closed number space, which is also theZone
. It utilizes those qualities of the enclosing region to construct the entity within that region.Example:
ServerObjectBuilder(n, function)
Example:
new ServerBuilderObject[A](n, function)
, wherefunction
is a(Int,Context)=>A
any object that extends from PlanetSideServerObject that will be produced by this class; can be inferred from the output of
constructor
Zone.Init
ZoneMap