implements ITickable
0x00x0118
Members 32
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_inputService | IInputService | Private | — | |
| 0x08 | m_gameplayService | IGameplayService | Private | — | |
| 0x08 | m_versusMode | VersusMode | Private | — | |
| — | 0x08 | k_player1BankKey | string | PrivateStatic+1 flags | 2006161570192 |
| — | 0x08 | k_player2BankKey | string | PrivateStatic+1 flags | 2006076911360 |
| — | 0x08 | k_player1SunCountKey | string | PrivateStatic+1 flags | 2006161570144 |
| — | 0x08 | k_player2SunCountKey | string | PrivateStatic+1 flags | 2006076911296 |
| 0x08 | m_quickPlayButtonModel | ButtonModel | Private | — | |
| 0x08 | m_randomButtonModel | ButtonModel | Private | — | |
| 0x08 | m_customButtonModel | ButtonModel | Private | — | |
| 0x08 | m_customAllButtonModel | ButtonModel | Private | — | |
| 0x08 | m_plantsModel | StringValueModel | Private | — | |
| 0x08 | m_zombiesModel | StringValueModel | Private | — | |
| 0x08 | m_plantBankModel | StringValueModel | Private | — | |
| 0x08 | m_zombieBankModel | StringValueModel | Private | — | |
| 0x08 | m_plantSunCountModel | StringValueModel | Private | — | |
| 0x08 | m_zombieSunCountModel | StringValueModel | Private | — | |
| 0x08 | m_plantScreenPositionModel | NumberValueModel | Private | — | |
| 0x08 | m_zombieScreenPositionModel | NumberValueModel | Private | — | |
| 0x08 | m_player1Model | VersusPlayerModel | Private | — | |
| 0x08 | m_player2Model | VersusPlayerModel | Private | — | |
| 0x08 | m_sidesChosenModel | BoolValueModel | Private | — | |
| 0x08 | m_inGameplayModel | BoolValueModel | Private | — | |
| 0x08 | m_inSuddenDeathModel | BoolValueModel | Private | — | |
| 0x08 | m_plantsWonModel | BoolValueModel | Private | — | |
| 0x08 | m_zombiesWonModel | BoolValueModel | Private | — | |
| 0x08 | m_swapModel | BoolValueModel | Private | — | |
| 0x08 | m_zombieLifeModel | ObjectModel | Private | — | |
| 0x08 | m_zombieLife0Model | BoolValueModel | Private | — | |
| 0x08 | m_zombieLife1Model | BoolValueModel | Private | — | |
| 0x08 | m_zombieLife2Model | BoolValueModel | Private | — | |
| 0x04 | m_lastPhase | VersusPhase | Private | — | |
| 0x0114 | 0x04 | unreflected bytes to end of VersusDataModel | |||
Inherited from DisposableObjectModel 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_disposables | Disposables | 2 flags | — |
Inherited from ObjectModel 3
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_modified | Triggerable<Tekly.DataModels.Models.ObjectModel> | Private+1 flags | — | |
| 0x08 | m_models | List<Tekly.DataModels.Models.ModelReference> | Private+1 flags | — | |
| 0x01 | <DisableModifiedTrigger>k__BackingField | bool | Private | — |
Inherited from ModelBase 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | m_isDisposed | bool | Private | — |
Functions 13
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor(IInputService inputService, IGameplayService gameplayService) | Public+1 flags | 0x08 | |
| void OnTick() | 2 flags | 0x00 | |
| void UpdateVersusMode(VersusMode versusMode) | Public | 0x08 | |
| VersusPhase GetVersusModePhase() | Public | 0x04 | |
| bool UpdatePlantsPlayer(const string& plantsPlayer, const string& inputName, int inputIndex) | Public | 0x08 | |
| bool UpdateZombiesPlayer(const string& zombiesPlayer, const string& inputName, int inputIndex) | Public | 0x08 | |
| bool HasPlayerWon(bool isPlants) | Public | 0x01 | |
| void UpdatePlantBankKey(int index) | Private | 0x04 | |
| void UpdateZombieBankKey(int index) | Private | 0x04 | |
| void <.ctor>b__32_0(ButtonModel x) | Private | 0x08 | |
| void <.ctor>b__32_1(ButtonModel x) | Private | 0x08 | |
| void <.ctor>b__32_2(ButtonModel x) | Private | 0x08 | |
| void <.ctor>b__32_3(ButtonModel x) | Private | 0x08 |