tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Creative.CreativePowers.SpawnRateSliderPerPlayerPower Class Reference

Inherits Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower, and Terraria.GameContent.IPersistentPerPlayerContent.

Public Member Functions

void ApplyLoadedDataToOutOfPlayerFields (Player player)
 
override bool GetIsUnlocked ()
 
bool GetShouldDisableSpawnsFor (int playerIndex)
 
void Load (Player player, BinaryReader reader, int gameVersionSaveWasMadeOn)
 
override UIElement ProvideSlider ()
 
override float RemapSliderValueToPowerValue (float sliderValue)
 
void ResetDataForNewPlayer (Player player)
 
void Save (Player player, BinaryWriter writer)
 
- Public Member Functions inherited from Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower
void DebugCall ()
 
void DeserializeNetMessage (BinaryReader reader, int userId)
 
GroupOptionButton< int > GetOptionButton (CreativePowerUIElementRequestInfo info, int optionIndex, int currentOptionIndex)
 
bool GetRemappedSliderValueFor (int playerIndex, out float value)
 
void OnPlayerJoining (int playerIndex)
 
void ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements)
 
void PushChangeAndSetSlider (float value)
 
virtual void Reset ()
 
virtual void ResetForPlayer (int playerIndex)
 
- Public Member Functions inherited from Terraria.GameContent.IPersistentPerPlayerContent
void Reset ()
 

Properties

float StrengthMultiplierToGiveNPCs [get]
 
- Properties inherited from Terraria.GameContent.Creative.CreativePowers.APerPlayerSliderPower
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
ushort PowerId [get, set]
 
string ServerConfigName [get, set]
 
- Properties inherited from Terraria.GameContent.Creative.ICreativePower
PowerPermissionLevel CurrentPermissionLevel [get, set]
 
PowerPermissionLevel DefaultPermissionLevel [get, set]
 
ushort PowerId [get, set]
 
string ServerConfigName [get, set]