mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-04 12:40:20 +00:00
moving management of ServerVehicleOverride state to WSA from Vehicle
This commit is contained in:
parent
f4343bbf0d
commit
deb0e670ba
2 changed files with 8 additions and 17 deletions
|
|
@ -47,7 +47,6 @@ class Vehicle(private val vehicleDef : VehicleDefinition) extends PlanetSideServ
|
|||
private var trunkAccess : Option[PlanetSideGUID] = None
|
||||
private var jammered : Boolean = false
|
||||
private var cloaked : Boolean = false
|
||||
private var controlled : Option[Int] = None
|
||||
|
||||
/**
|
||||
* Permissions control who gets to access different parts of the vehicle;
|
||||
|
|
@ -444,15 +443,6 @@ class Vehicle(private val vehicleDef : VehicleDefinition) extends PlanetSideServ
|
|||
*/
|
||||
def TrunkLockState : VehicleLockState.Value = groupPermissions(3)
|
||||
|
||||
def Controlled : Option[Int] = controlled
|
||||
|
||||
def Controlled_=(speed : Int) : Option[Int] = Controlled_=(Some(speed))
|
||||
|
||||
def Controlled_=(speed : Option[Int]) : Option[Int] = {
|
||||
controlled = speed
|
||||
Controlled
|
||||
}
|
||||
|
||||
/**
|
||||
* This is the definition entry that is used to store and unload pertinent information about the `Vehicle`.
|
||||
* @return the vehicle's definition entry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue