Barotrauma Client Doc
Barotrauma.KarmaManager Class Reference
Inheritance diagram for Barotrauma.KarmaManager:
Barotrauma.ISerializableEntity Barotrauma.ISerializableEntity

Public Member Functions

 KarmaManager ()
 
void SelectPreset (string presetName)
 
void SaveCustomPreset ()
 
void Save ()
 
void CreateSettingsFrame (GUIComponent parent)
 

Public Attributes

Dictionary< string, XElement > Presets = new Dictionary<string, XElement>()
 

Static Public Attributes

static readonly string ConfigFile = "Data" + Path.DirectorySeparatorChar + "karmasettings.xml"
 

Properties

string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
bool ResetKarmaBetweenRounds [get, set]
 
float KarmaDecay [get, set]
 
float KarmaDecayThreshold [get, set]
 
float KarmaIncrease [get, set]
 
float KarmaIncreaseThreshold [get, set]
 
float StructureRepairKarmaIncrease [get, set]
 
float StructureDamageKarmaDecrease [get, set]
 
float MaxStructureDamageKarmaDecreasePerSecond [get, set]
 
float ItemRepairKarmaIncrease [get, set]
 
float ReactorOverheatKarmaDecrease [get, set]
 
float ReactorMeltdownKarmaDecrease [get, set]
 
float DamageEnemyKarmaIncrease [get, set]
 
float HealFriendlyKarmaIncrease [get, set]
 
float DamageFriendlyKarmaDecrease [get, set]
 
float StunFriendlyKarmaDecrease [get, set]
 
float StunFriendlyKarmaDecreaseThreshold [get, set]
 
float ExtinguishFireKarmaIncrease [get, set]
 
float DangerousItemStealKarmaDecrease [get, set]
 
bool DangerousItemStealBots [get, set]
 
float BallastFloraKarmaIncrease [get, set]
 
int AllowedWireDisconnectionsPerMinute [get, set]
 
float WireDisconnectionKarmaDecrease [get, set]
 
float SteerSubKarmaIncrease [get, set]
 
float SpamFilterKarmaDecrease [get, set]
 
float HerpesThreshold [get, set]
 
float KickBanThreshold [get, set]
 
int KicksBeforeBan [get, set]
 
float KarmaNotificationInterval [get, set]
 
float AllowedRetaliationTime [get, set]
 
float DangerousItemContainKarmaDecrease [get, set]
 
bool IsDangerousItemContainKarmaDecreaseIncremental [get, set]
 
float MaxDangerousItemContainKarmaDecrease [get, set]
 
- Properties inherited from Barotrauma.ISerializableEntity
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ KarmaManager()

Barotrauma.KarmaManager.KarmaManager ( )

Member Function Documentation

◆ CreateSettingsFrame()

void Barotrauma.KarmaManager.CreateSettingsFrame ( GUIComponent  parent)

◆ Save()

void Barotrauma.KarmaManager.Save ( )

◆ SaveCustomPreset()

void Barotrauma.KarmaManager.SaveCustomPreset ( )

◆ SelectPreset()

void Barotrauma.KarmaManager.SelectPreset ( string  presetName)

Member Data Documentation

◆ ConfigFile

readonly string Barotrauma.KarmaManager.ConfigFile = "Data" + Path.DirectorySeparatorChar + "karmasettings.xml"
static

◆ Presets

Dictionary<string, XElement> Barotrauma.KarmaManager.Presets = new Dictionary<string, XElement>()

Property Documentation

◆ AllowedRetaliationTime

float Barotrauma.KarmaManager.AllowedRetaliationTime
getset

◆ AllowedWireDisconnectionsPerMinute

int Barotrauma.KarmaManager.AllowedWireDisconnectionsPerMinute
getset

◆ BallastFloraKarmaIncrease

float Barotrauma.KarmaManager.BallastFloraKarmaIncrease
getset

◆ DamageEnemyKarmaIncrease

float Barotrauma.KarmaManager.DamageEnemyKarmaIncrease
getset

◆ DamageFriendlyKarmaDecrease

float Barotrauma.KarmaManager.DamageFriendlyKarmaDecrease
getset

◆ DangerousItemContainKarmaDecrease

float Barotrauma.KarmaManager.DangerousItemContainKarmaDecrease
getset

◆ DangerousItemStealBots

bool Barotrauma.KarmaManager.DangerousItemStealBots
getset

◆ DangerousItemStealKarmaDecrease

float Barotrauma.KarmaManager.DangerousItemStealKarmaDecrease
getset

◆ ExtinguishFireKarmaIncrease

float Barotrauma.KarmaManager.ExtinguishFireKarmaIncrease
getset

◆ HealFriendlyKarmaIncrease

float Barotrauma.KarmaManager.HealFriendlyKarmaIncrease
getset

◆ HerpesThreshold

float Barotrauma.KarmaManager.HerpesThreshold
getset

◆ IsDangerousItemContainKarmaDecreaseIncremental

bool Barotrauma.KarmaManager.IsDangerousItemContainKarmaDecreaseIncremental
getset

◆ ItemRepairKarmaIncrease

float Barotrauma.KarmaManager.ItemRepairKarmaIncrease
getset

◆ KarmaDecay

float Barotrauma.KarmaManager.KarmaDecay
getset

◆ KarmaDecayThreshold

float Barotrauma.KarmaManager.KarmaDecayThreshold
getset

◆ KarmaIncrease

float Barotrauma.KarmaManager.KarmaIncrease
getset

◆ KarmaIncreaseThreshold

float Barotrauma.KarmaManager.KarmaIncreaseThreshold
getset

◆ KarmaNotificationInterval

float Barotrauma.KarmaManager.KarmaNotificationInterval
getset

◆ KickBanThreshold

float Barotrauma.KarmaManager.KickBanThreshold
getset

◆ KicksBeforeBan

int Barotrauma.KarmaManager.KicksBeforeBan
getset

◆ MaxDangerousItemContainKarmaDecrease

float Barotrauma.KarmaManager.MaxDangerousItemContainKarmaDecrease
getset

◆ MaxStructureDamageKarmaDecreasePerSecond

float Barotrauma.KarmaManager.MaxStructureDamageKarmaDecreasePerSecond
getset

◆ Name

string Barotrauma.KarmaManager.Name
get

◆ ReactorMeltdownKarmaDecrease

float Barotrauma.KarmaManager.ReactorMeltdownKarmaDecrease
getset

◆ ReactorOverheatKarmaDecrease

float Barotrauma.KarmaManager.ReactorOverheatKarmaDecrease
getset

◆ ResetKarmaBetweenRounds

bool Barotrauma.KarmaManager.ResetKarmaBetweenRounds
getset

◆ SerializableProperties

Dictionary<Identifier, SerializableProperty> Barotrauma.KarmaManager.SerializableProperties
get

◆ SpamFilterKarmaDecrease

float Barotrauma.KarmaManager.SpamFilterKarmaDecrease
getset

◆ SteerSubKarmaIncrease

float Barotrauma.KarmaManager.SteerSubKarmaIncrease
getset

◆ StructureDamageKarmaDecrease

float Barotrauma.KarmaManager.StructureDamageKarmaDecrease
getset

◆ StructureRepairKarmaIncrease

float Barotrauma.KarmaManager.StructureRepairKarmaIncrease
getset

◆ StunFriendlyKarmaDecrease

float Barotrauma.KarmaManager.StunFriendlyKarmaDecrease
getset

◆ StunFriendlyKarmaDecreaseThreshold

float Barotrauma.KarmaManager.StunFriendlyKarmaDecreaseThreshold
getset

◆ WireDisconnectionKarmaDecrease

float Barotrauma.KarmaManager.WireDisconnectionKarmaDecrease
getset