REDNODE / GAME API

ApartmentScreenControllerPS

classscriptedClasssavable

extends LcdScreenControllerPS › ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable

Properties 14

NameTypeFlags
allowAutomaticRentStatusChangeBoolscriptedprivate
currentOverdueInt32scriptedprivatepersistent
currentRentStatusERentStatusscriptedprivatepersistent
evictionMessageRecordIDTweakDBIDscriptedprivate
initialOverdueInt32scriptedprivate
initialRentStatusERentStatusscriptedprivate
isInitialRentStateSetBoolscriptedprivatepersistent
lastStatusChangeDayInt32scriptedprivatepersistent
maxDaysInt32scriptedprivate
overdueMessageRecordIDTweakDBIDscriptedprivate
paidMessageRecordIDTweakDBIDscriptedprivate
paymentScheduleEPaymentSchedulescriptedprivate
randomizeInitialOverdueBoolscriptedprivate
showOverdueValueBoolscriptedprivate

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