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
ZoneMaplevel. Produces environmental constants such asTerminalobjects andDoorobjects.ZoneMapis the expected position where this class is defined. WithinZone.Initis where this class is expected to be fully executed. The former is a blueprint which provides as many emitted entities based on how manyZoneobjects utilize it.constructoris required to have the form(Int, ActorContext) => Aby the point where it executes due to invocation of theBuildmethod. For that reason, it must exist in anActorwhich has anActorContextto lend, hence theZone'sActor. Furthermore, the requirement of aNumberPoolHubmeans 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), wherefunctionis a(Int,Context)=>Aany object that extends from PlanetSideServerObject that will be produced by this class; can be inferred from the output of
constructorZone.InitZoneMap