![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
Inherits CreativePowers.APerPlayerSliderPower, and 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) |
![]() | |
void | DebugCall () |
void | DeserializeNetMessage (BinaryReader reader, int userId) |
abstract bool | GetIsUnlocked () |
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) |
abstract UIElement | ProvideSlider () |
void | PushChangeAndSetSlider (float value) |
abstract float | RemapSliderValueToPowerValue (float sliderValue) |
virtual void | Reset () |
virtual void | ResetForPlayer (int playerIndex) |
void | DeserializeNetMessage (BinaryReader reader, int userId) |
bool | GetIsUnlocked () |
void | ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements) |
void | OnPlayerJoining (int playerIndex) |
UIElement | ProvideSlider () |
GroupOptionButton< int > | GetOptionButton (CreativePowerUIElementRequestInfo info, int optionIndex, int currentOptionIndex) |
![]() | |
void | ApplyLoadedDataToOutOfPlayerFields (Player player) |
void | Load (Player player, BinaryReader reader, int gameVersionSaveWasMadeOn) |
void | Reset () |
void | ResetDataForNewPlayer (Player player) |
void | Save (Player player, BinaryWriter writer) |
Properties | |
float | StrengthMultiplierToGiveNPCs [get] |
![]() | |
PowerPermissionLevel | CurrentPermissionLevel [get, set] |
PowerPermissionLevel | DefaultPermissionLevel [get, set] |
ushort | PowerId [get, set] |
string | ServerConfigName [get, set] |
![]() | |
PowerPermissionLevel | CurrentPermissionLevel [get, set] |
PowerPermissionLevel | DefaultPermissionLevel [get, set] |
ushort | PowerId [get, set] |
string | ServerConfigName [get, set] |
void CreativePowers.SpawnRateSliderPerPlayerPower.ApplyLoadedDataToOutOfPlayerFields | ( | Player | player | ) |
Implements IPersistentPerPlayerContent.
|
virtual |
Implements CreativePowers.APerPlayerSliderPower.
void CreativePowers.SpawnRateSliderPerPlayerPower.Load | ( | Player | player, |
BinaryReader | reader, | ||
int | gameVersionSaveWasMadeOn | ||
) |
Implements IPersistentPerPlayerContent.
|
virtual |
Implements CreativePowers.APerPlayerSliderPower.
|
virtual |
Implements CreativePowers.APerPlayerSliderPower.
void CreativePowers.SpawnRateSliderPerPlayerPower.ResetDataForNewPlayer | ( | Player | player | ) |
Implements IPersistentPerPlayerContent.
void CreativePowers.SpawnRateSliderPerPlayerPower.Save | ( | Player | player, |
BinaryWriter | writer | ||
) |
Implements IPersistentPerPlayerContent.