DocFX + Singulink = ♥

Struct RepOverride

Represents the initial reputation of the player with a community.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: SlugBase.DataTypes
Assembly: SlugBase.dll
Syntax
public struct RepOverride

Constructors

View Source

RepOverride(JsonAny)

Creates a new RepOverride from JSON.

Declaration
public RepOverride(JsonAny json)
Parameters
Type Name Description
JsonAny json

The JSON to load.

View Source

RepOverride(float, float, bool)

Creates a new RepOverride.

Declaration
public RepOverride(float target, float strength = 1, bool locked = false)
Parameters
Type Name Description
float target

The target like value of the player.

float strength

The amount to lerp reputation towards target when loaded.

bool locked

If true, the like of the player will be locked to target after it is set.

Fields

View Source

Locked

If true, the like of the player will be locked to Target after it is set.

Declaration
public bool Locked
Field Value
Type Description
bool
View Source

Strength

The amount to lerp reputation towards Target when loaded.

Declaration
public float Strength
Field Value
Type Description
float
View Source

Target

The target like value of the player.

Declaration
public float Target
Field Value
Type Description
float