|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| bool | IsEnabledForPlayer (int playerIndex) |
| void | DeserializeNetMessage (BinaryReader reader, int userId) |
| void | SetEnabledState (int playerIndex, bool state) |
| void | DebugCall () |
| void | Reset () |
| void | OnPlayerJoining (int playerIndex) |
| void | ProvidePowerButtons (CreativePowerUIElementRequestInfo info, List< UIElement > elements) |
| bool | GetIsUnlocked () |
Package Functions | |
| void | RequestUse () |
Package Attributes | |
| string | _powerNameKey |
| Point | _iconLocation |
| bool | _defaultToggleState |
Properties | |
| ushort | PowerId [get, set] |
| string | ServerConfigName [get, set] |
| PowerPermissionLevel | CurrentPermissionLevel [get, set] |
| PowerPermissionLevel | DefaultPermissionLevel [get, set] |
Private Types | |
| enum | SubMessageType : byte { SyncEveryone , SyncOnePlayer } |
Private Member Functions | |
| void | Deserialize_SyncEveryone (BinaryReader reader, int userId) |
| void | button_OnUpdate (UIElement affectedElement) |
| void | button_OnClick (UIMouseEvent evt, UIElement listeningElement) |
Private Attributes | |
| bool[] | _perPlayerIsEnabled = new bool[255] |
Definition at line 20 of file CreativePowers.cs.