0x00x0098
Members 15
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | Shop | ShopInterface | Public | — | |
| 0x08 | CartEntryContainer | RectTransform | Public | — | |
| 0x08 | ProblemText | TextMeshProUGUI | Public | — | |
| 0x08 | WarningText | TextMeshProUGUI | Public | — | |
| 0x08 | CartContainer | RectTransform | Public | — | |
| 0x08 | CartArea | Image | Public | — | |
| 0x08 | TotalText | TextMeshProUGUI | Public | — | |
| 0x08 | LoadVehicleToggle | Toggle | Public | — | |
| 0x08 | buyButton | Button | Private | — | |
| 0x08 | EntryPrefab | CartEntry | Public | — | |
| 0x08 | cartDictionary | Dictionary<ScheduleOne.UI.Shop.ShopListing | Public | — | |
| 0x08 | cartEntries | List<ScheduleOne.UI.Shop.CartEntry> | Private | — | |
| 0x08 | cartPanel | UIContentPanel | Private | — | |
| 0x08 | buyTrigger | UITrigger | Private | — | |
| 0x08 | _onRemoveListing | Action | Private | — |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 23
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Update() | 3 flags | 0x00 | |
| void SetItemQuantity(ShopListing listing, int quantity) | Public | 0x08 | |
| void AddItem(ShopListing listing, int quantity) | Public | 0x08 | |
| void RemoveItem(ShopListing listing, int quantity) | Public | 0x08 | |
| void RemoveListing(ShopListing listing) | Private | 0x08 | |
| void ClearCart() | Public | 0x00 | |
| int GetCartCount(ShopListing listing) | Public | 0x08 | |
| bool CanPlayerAffordCart() | Public | 0x01 | |
| void Buy() | Public | 0x00 | |
| void UpdateEntries() | Private | 0x00 | |
| void UpdateTotal() | Private | 0x00 | |
| void UpdateProblem() | Private | 0x00 | |
| bool CanCheckout(ref string& reason) | Private | 0x08 | |
| bool GetWarning(ref string& warning) | Private | 0x08 | |
| void UpdateLoadVehicleToggle() | Private | 0x00 | |
| int GetItemSum() | Private | 0x04 | |
| float GetPriceSum() | Private | 0x04 | |
| CartEntry GetEntry(ShopListing listing) | Private | 0x08 | |
| bool IsMouseOverMenuArea() | Private | 0x01 | |
| int GetTotalSlotRequirement() | Public | 0x04 | |
| void SubscribeToOnRemoveListing(Action callback) | Public | 0x08 | |
| void UnsubscribeFromOnRemoveListing(Action callback) | Public | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 |