Table of Contents

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

id string
unityName string
displayName string
description string
tier int
addictiveness float

Properties

Addictiveness

How addictive this property makes the product (0-1).

public override float Addictiveness { get; }

Property Value

float

Description

The description of what this property does.

public override string Description { get; }

Property Value

string

ID

The unique identifier for this property.

public override string ID { get; }

Property Value

string

Name

The display name of this property.

public override string Name { get; }

Property Value

string

Tier

The tier/level of this property (1-5).

public override int Tier { get; }

Property Value

int

name

The Unity name of this property (lowercase for compatibility). This corresponds to the Unity ScriptableObject.name property.

public override string name { get; }

Property Value

string