net.psforever.objects.serverobject.terminals
the ObjectDefinition
that constructs this object and maintains some of its immutable fields
Retrieve a reference to the internal Actor
.
Retrieve a reference to the internal Actor
.
the internal ActorRef
Assign an Actor
to act for this server object.
Assign an Actor
to act for this server object.
This reference is only set once, that is, as long as the internal ActorRef
directs to Actor.noSender
(null
).
the Actor
whose functionality will govern this server object
the current internal ActorRef
Accept a new target for this unit.
Accept a new target for this unit.
the new target
true
, if the entrant has been added and is new to the list;
false
if the entrant is already in the list or can not be added
Set the hack state of this object by recording important information about the player who caused it.
Set the hack state of this object by recording important information about the player who caused it. Set the hack state if there is no current hack state. Override the hack state with a new hack state if the new user has different faction affiliation.
a Player
, or no player
the player hack entry
Reference the object that is in direct association with (is superior to) this one.
Reference the object that is in direct association with (is superior to) this one.
the object associated as this object's "owner"
Set an object to have a direct association with (be superior to) this one.
Set an object to have a direct association with (be superior to) this one.
a validation of the type of object that can be an owner
the object trying to become associated as this object's "owner"
the object associated as this object's "owner"
Amenity.AmenityTarget
Remove an existing target for this unit.
Remove an existing target for this unit.
the target
true
, if the submitted entity was previously in the list but is not longer in the list;
false
, if the submitted entity was never in the list or can not be removed
Process a message (a "request") dispatched by the user.
Process a message (a "request") dispatched by the user. To be accessible, the terminal must be owned by the same faction by the user or must be compromised.
the player
the original packet carrying the request
an actionable message that explains what resulted from interacting with this Terminal
PlanetSideEmpire
FactionAffinity
Confirm whether the entity is a valid target for the effects of this unit.
Confirm whether the entity is a valid target for the effects of this unit. Curried to accept parameters for the tests separately from the entity to be tested. In general, the two requirements beyond the custom validations involve distance (from the unit) and inclusiveness (known to the unit beforehand).
the squared minimum activation distance
the custom tests that the entity must pass to be considered valid; in general, regardless of the type of the target, any of the tests must be passed
the submitted entity
true
, if the entity passes the validation tests;
false
, otherwise
Confirm whether the entity is a valid target for the effects of this unit.
Confirm whether the entity is a valid target for the effects of this unit.
the submitted entity
true
, if the entity passes the validation tests;
false
, otherwise
A server object that is a "terminal" that can be accessed for amenities and services, triggered when a certain distance from the unit itself (proximity-based).
Unlike conventional terminals, this structure is not necessarily structure-owned. For example, the cavern crystals are considered owner-neutral elements that are not attached to a
Building
object.