Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
SpawnRateSliderPerPlayerPower () | |
bool | GetShouldDisableSpawnsFor (int playerIndex) |
override float | RemapSliderValueToPowerValue (float sliderValue) |
override UIElement | ProvideSlider () |
override bool | GetIsUnlocked () |
void | Save (Player player, BinaryWriter writer) |
void | ResetDataForNewPlayer (Player player) |
void | Load (Player player, BinaryReader reader, int gameVersionSaveWasMadeOn) |
void | ApplyLoadedDataToOutOfPlayerFields (Player player) |
bool | GetRemappedSliderValueFor (int playerIndex, out float value) |
void | DeserializeNetMessage (BinaryReader reader, int userId) |
void | ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements) |
void | DebugCall () |
void | PushChangeAndSetSlider (float value) |
GroupOptionButton< int > | GetOptionButton (CreativePowerUIElementRequestInfo info, int optionIndex, int currentOptionIndex) |
virtual void | Reset () |
virtual void | ResetForPlayer (int playerIndex) |
void | OnPlayerJoining (int playerIndex) |
void | Reset () |
Package Functions | |
override void | UpdateInfoFromSliderValueCache () |
float | GetSliderValue () |
void | SetValueKeyboard (float value) |
void | SetValueGamepad () |
void | PushChange (float newSliderValue) |
Package Attributes | |
Point | _iconLocation |
float | _sliderCurrentValueCache |
string | _powerNameKey |
float[] | _cachePerPlayer = new float[256] |
float | _sliderDefaultValue |
Properties | |
float | StrengthMultiplierToGiveNPCs [get, private set] |
ushort | PowerId [get, set] |
string | ServerConfigName [get, set] |
PowerPermissionLevel | CurrentPermissionLevel [get, set] |
PowerPermissionLevel | DefaultPermissionLevel [get, set] |
Private Attributes | |
float | _currentTargetValue |
bool | _needsToCommitChange |
DateTime | _nextTimeWeCanPush = DateTime.UtcNow |
Definition at line 1553 of file CreativePowers.cs.