Class
ProductDefinition
: PropertyItemDefinition : StorableItemDefinition : ItemDefinition : BaseItemDefinition : ScriptableObject : Object : Objectimplements ISaveable
0x00x0120
Members 14
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | DrugTypes | List<ScheduleOne.Product.DrugTypeContainer> | Public | — | |
| 0x04 | LawIntensityChange | float | Public | — | |
| 0x04 | BasePrice | float | Public | — | |
| 0x04 | MarketValue | float | Public | — | |
| 0x00D4 | 0x04 | padding / unreflected | |||
| 0x08 | FunctionalProduct | FunctionalProduct | Public | — | |
| 0x04 | NPCEffectDuration | int | Public | — | |
| 0x04 | PlayerEffectDuration | int | Public | — | |
| 0x04 | BaseAddictiveness | float | Public | — | |
| 0x00EC | 0x04 | padding / unreflected | |||
| 0x08 | ValidPackaging | PackagingDefinition[] | Public | — | |
| 0x08 | ConsumeAnimation | ProductConsumeAnimation | Public | — | |
| 0x08 | <Recipes>k__BackingField | List<ScheduleOne.StationFramework.StationRecipe> | Private | — | |
| 0x08 | <LocalExtraFolders>k__BackingField | List<System.String> | Private | — | |
| 0x08 | <LocalExtraFiles>k__BackingField | List<System.String> | Private | — | |
| 0x01 | <HasChanged>k__BackingField | bool | Private | — | |
| 0x0119 | 0x07 | unreflected bytes to end of ProductDefinition | |||
Inherited from PropertyItemDefinition 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | Properties | List<ScheduleOne.Effects.Effect> | Public | — |
Inherited from StorableItemDefinition 9
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | BasePurchasePrice | float | Public | — | |
| 0x007C | 0x04 | padding / unreflected | |||
| 0x08 | ShopCategories | List<ScheduleOne.UI.Shop.ShopListing.CategoryInstance> | Public | — | |
| 0x01 | RequiresLevelToPurchase | bool | Public | — | |
| 0x0089 | 0x03 | padding / unreflected | |||
| 0x08 | RequiredRank | FullRank | Public | — | |
| 0x04 | ResellMultiplier | float | Public | — | |
| 0x08 | StoredItem | StoredItem | Public | — | |
| 0x04 | PickpocketDifficultyMultiplier | float | Public | — | |
| 0x00A4 | 0x04 | padding / unreflected | |||
| 0x08 | StationItem | StationItem | Public | — | |
| 0x04 | CombatUtility | float | Public | — | |
Inherited from ItemDefinition 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | AvailableInDemo | bool | Public | — | |
| 0x0059 | 0x03 | padding / unreflected | |||
| 0x04 | EquipMode | EEquipMode | Public | — | |
| 0x08 | Equippable | Equippable | Public | — | |
| 0x08 | CustomItemUI | ItemUI | Public | — | |
| 0x08 | CustomInfoContent | ItemInfoContent | Public | — | |
Inherited from BaseItemDefinition 10
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | DefaultStackLimit | int | PrivateStatic+1 flags | 10 |
| 0x08 | Name | string | Public | — | |
| 0x08 | ID | string | Public | — | |
| 0x08 | Description | string | Public | — | |
| 0x08 | Icon | Sprite | Public | — | |
| 0x04 | Category | EItemCategory | Public | — | |
| 0x04 | StackLimit | int | Public | — | |
| 0x01 | UsableInFilters | bool | Public | — | |
| 0x0041 | 0x07 | padding / unreflected | |||
| 0x08 | EquippableData | EquippableData | Public | — | |
| 0x04 | legalStatus | ELegalStatus | Public | — | |
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 25
| Signature | Flags | Native | Params |
|---|---|---|---|
| EDrugType get_DrugType() | Public+1 flags | 0x04 | |
| float get_Price() | Public+1 flags | 0x04 | |
| List<ScheduleOne.StationFramework.StationRecipe> get_Recipes() | Public+1 flags | 0x08 | |
| void set_Recipes(List<ScheduleOne.StationFramework.StationRecipe> value) | Private+1 flags | 0x08 | |
| string get_SaveFolderName() | PublicFinal+3 flags | 0x08 | |
| string get_SaveFileName() | PublicFinal+3 flags | 0x08 | |
| Loader get_Loader() | PublicFinal+3 flags | 0x08 | |
| bool get_ShouldSaveUnderFolder() | PublicFinal+3 flags | 0x01 | |
| List<System.String> get_LocalExtraFolders() | PublicFinal+3 flags | 0x08 | |
| void set_LocalExtraFolders(List<System.String> value) | PublicFinal+3 flags | 0x08 | |
| List<System.String> get_LocalExtraFiles() | PublicFinal+3 flags | 0x08 | |
| void set_LocalExtraFiles(List<System.String> value) | PublicFinal+3 flags | 0x08 | |
| bool get_HasChanged() | PublicFinal+3 flags | 0x01 | |
| void set_HasChanged(bool value) | PublicFinal+3 flags | 0x01 | |
| ItemInstance GetDefaultInstance(int quantity) | Public+1 flags | 0x08 | |
| void OnValidate() | Public | 0x00 | |
| void Initialize(List<ScheduleOne.Effects.Effect> properties, List<ScheduleOne.Product.EDrugType> drugTypes) | Public | 0x08 | |
| void InitializeSaveable() | Public+2 flags | 0x00 | |
| float GetAddictiveness() | Public | 0x04 | |
| void CleanRecipes() | Public | 0x00 | |
| void AddRecipe(StationRecipe recipe) | Public | 0x08 | |
| void GenerateAppearanceSettings() | Public+2 flags | 0x00 | |
| ProductData GetSaveData() | Public+2 flags | 0x08 | |
| string GetSaveString() | Public+2 flags | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 |
Subclasses 4
Used by 69
types with a member, parameter or interface of this type<>c<>c<>c<>c__DisplayClass105_0<>c__DisplayClass107_0<>c__DisplayClass109_0<>c__DisplayClass133_0<>c__DisplayClass14_0<>c__DisplayClass17_0<>c__DisplayClass18_0<>c__DisplayClass31_0Action`1Action`3ArraySortHelper`1CartelDealerCartelDealManagerCocaineVisualsSetterComparison`1CounterofferInterfaceCounterOfferProductSelectorCustomerCustomerPreferenceDictionary`2Dictionary`2EntryEntryEnumeratorEqualityComparer`1Equippable_CukeFunc`2Func`2ICollection`1IComparer`1IDictionary`2IDictionary`2IEnumerator`1IEqualityComparer`1IEquatable`1IList`1IReadOnlyDictionary`2IReadOnlyDictionary`2IReadOnlyList`1KeyCollectionKeyCollectionKeyValuePair`2KeyValuePair`2List`1MethVisualsSetterMixingStationMixingStationInterfaceMixOperationMultiTypeVisualsSetterNewMixDiscoveryBoxObjectEqualityComparer`1Predicate`1Product_EquippableProductAppDetailPanelProductDefinition[]ProductEntryProductIconManagerProductItemInstanceProductManagerProductManagerAppProductVisualsSetterReadOnlyCollection`1ShroomVisualsSetterTuple`2Tuple`3WeedVisualsSetter