ApartmentScreenControllerPS
classscriptedClasssavable
extends LcdScreenControllerPS › ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable
Properties 14
| Name | Type | Flags |
|---|---|---|
allowAutomaticRentStatusChange | Bool | scriptedprivate |
currentOverdue | Int32 | scriptedprivatepersistent |
currentRentStatus | ERentStatus | scriptedprivatepersistent |
evictionMessageRecordID | TweakDBID | scriptedprivate |
initialOverdue | Int32 | scriptedprivate |
initialRentStatus | ERentStatus | scriptedprivate |
isInitialRentStateSet | Bool | scriptedprivatepersistent |
lastStatusChangeDay | Int32 | scriptedprivatepersistent |
maxDays | Int32 | scriptedprivate |
overdueMessageRecordID | TweakDBID | scriptedprivate |
paidMessageRecordID | TweakDBID | scriptedprivate |
paymentSchedule | EPaymentSchedule | scriptedprivate |
randomizeInitialOverdue | Bool | scriptedprivate |
showOverdueValue | Bool | scriptedprivate |
Methods 19
protected func GameAttached()scripted
private final func GetCurrentDay() -> Int32scripted
public final const func GetCurrentOverdueValue() -> Int32scripted
public final const func GetCurrentRentStatus() -> ERentStatusscripted
private final func GetDaysPassed() -> Int32scripted
private final func GetGameTime() -> GameTimescripted
private final func GetInitialOverdueValue() -> Int32scripted
public final const func GetPaymentScheduleValue() -> Int32scripted
public func GetQuestActions(out outActions: array<ref<DeviceAction>>, context: script_ref<GetActionsContext>)scripted
private final func GetStateChangeProbabilityValue() -> Int32scripted
private final func InitializeRentState()scripted
protected cb func OnInstantiated() -> Boolscripted
private final func OnSetApartmentScreenMessageEvent(evt: ref<SetApartmentScreenMessageEvent>) -> EntityNotificationTypescripted
private final func OnSetApartmentScreenStatusEvent(evt: ref<SetApartmentScreenStatusEvent>) -> EntityNotificationTypescripted
private final func ReEvaluateRentStatus()scripted
private final func SetCurrentRentStatus(status: ERentStatus)scripted
public final const func ShouldShowOverdueValue() -> Boolscripted
private final func UpdateCurrentOverdue()scripted
public final func UpdateRentState()scripted