Class PropertyToken
- Namespace
- S1API.Properties.Tokens
- Assembly
- S1API.dll
Base token that represents a product property without referencing runtime game types.
public abstract class PropertyToken : PropertyBase
- Inheritance
-
PropertyToken
- Derived
- Inherited Members
- Extension Methods
Constructors
PropertyToken(string, string, string, string, int, float)
protected PropertyToken(string id, string unityName = null, string displayName = null, string description = null, int tier = 1, float addictiveness = 0)
Parameters
Properties
Addictiveness
How addictive this property makes the product (0-1).
public override float Addictiveness { get; }
Property Value
Description
The description of what this property does.
public override string Description { get; }
Property Value
ID
The unique identifier for this property.
public override string ID { get; }
Property Value
Name
The display name of this property.
public override string Name { get; }
Property Value
Tier
The tier/level of this property (1-5).
public override int Tier { get; }
Property Value
name
The Unity name of this property (lowercase for compatibility). This corresponds to the Unity ScriptableObject.name property.
public override string name { get; }