Class PropertyBase
- Namespace
- S1API.Properties.Interfaces
- Assembly
- S1API.dll
Runtime-agnostic base class for product properties. Provides a consistent API regardless of whether running on Mono or IL2CPP. Uses concrete class instead of interface to avoid IL2CPP TypeLoadException issues.
public abstract class PropertyBase
- Inheritance
-
PropertyBase
- Derived
- Inherited Members
- Extension Methods
Constructors
PropertyBase()
protected PropertyBase()
Properties
Addictiveness
How addictive this property makes the product (0-1).
public abstract float Addictiveness { get; }
Property Value
Description
The description of what this property does.
public abstract string Description { get; }
Property Value
ID
The unique identifier for this property.
public abstract string ID { get; }
Property Value
Name
The display name of this property.
public abstract string Name { get; }
Property Value
Tier
The tier/level of this property (1-5).
public abstract int Tier { get; }
Property Value
name
The Unity name of this property (lowercase for compatibility). This corresponds to the Unity ScriptableObject.name property.
public abstract string name { get; }