Table of Contents

Class PlayerReputationExtensions

Namespace
Uncreated.Warfare.Players.Extensions
Assembly
Uncreated.Warfare.dll
public static class PlayerReputationExtensions
Inheritance
PlayerReputationExtensions
Inherited Members

Methods

AddReputation(WarfarePlayer, int)

Adds (or subtracts) a certain displayed reputation value to a player.

public static void AddReputation(this WarfarePlayer player, int reputation)

Parameters

player WarfarePlayer
reputation int

Remarks

Thread-safe. This DOES NOT update the value in the database.

SetReputation(WarfarePlayer, int)

Sets the displayed reputation value for a player.

public static void SetReputation(this WarfarePlayer player, int reputation)

Parameters

player WarfarePlayer
reputation int

Remarks

Thread-safe. This DOES NOT update the value in the database.