PocketRadio class
PocketRadio
Inheritance
Base: IScriptable
Derived
None.
Properties
| Property | Type | |
|---|---|---|
player | WeakHandle<PlayerPuppet> | scripted |
station | int | scripted |
selectedStation | int | scripted |
toggledStation | int | scripted |
restrictions | List | scripted |
isConditionRestricted | bool | scripted |
isUnlockDelayRestricted | bool | scripted |
isRestrictionOverwritten | bool | scripted |
isOn | bool | scripted |
questContentLockListener | PocketRadioQuestContentLockListener? | scripted |
radioPressTime | float | scripted |
isInMetro | bool | scripted |
settings | RadioportSettingsListener? | scripted |
Functions
void InitializeRestrictions()RTTIvoid OnPlayerAttach(PlayerPuppet player)RTTIvoid OnPlayerDetach(PlayerPuppet player)RTTIbool IsMutedByVolumeSetting()RTTIbool ShouldIgnoreEvents()RTTIvoid TurnOn(bool playSFX)RTTIvoid TurnOff(bool playSFX)RTTIvoid UpdateConditionRestricted()RTTIbool IsRestricted()RTTIbool IsRestrictionOverwritten()RTTIvoid HandleRestrictionStateChanged()RTTIvoid HandleRestriction(PocketRadioRestrictions restriction, bool restricted)RTTIvoid HandleStatusEffectApplied(CName[] gameplayTags, CName tag, PocketRadioRestrictions type)RTTIvoid OnStatusEffectApplied(game.events.ApplyStatusEffectEvent evt, CName[] gameplayTags)RTTIvoid HandleStatusEffectRemoved(CName[] gameplayTags, CName tag, PocketRadioRestrictions type)RTTIvoid OnStatusEffectRemoved(game.events.RemoveStatusEffect evt, CName[] gameplayTags)RTTIvoid HandleVehicleRadioEvent(VehicleRadioEvent evt)RTTIvoid HandleRadioToggleEvent(RadioToggleEvent evt)RTTIvoid HandleVehicleRadioStationChanged(vehicle.RadioStationChanged evt)RTTIvoid HandleVehicleMounted(WeakHandle<vehicle.BaseObject> vehicle)RTTIvoid HandleVehicleUnmounted(WeakHandle<vehicle.BaseObject> vehicle)RTTIvoid HandleInputAction(game.input.ScriptListenerAction action)RTTIvoid HandleUIUpdate()RTTIbool IsActive()RTTIint GetStation()RTTICName GetStationName()RTTICName GetTrackName()RTTIstatic bool ConfigEnablePocketRadio()staticRTTI global