|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| bool | TryGetCausingEntity (out Entity entity) |
| NetworkText | GetDeathText (string deadPlayerName) |
| void | WriteSelfTo (BinaryWriter writer) |
Static Public Member Functions | |
| static PlayerDeathReason | LegacyEmpty () |
| static PlayerDeathReason | LegacyDefault () |
| static PlayerDeathReason | ByNPC (int index) |
| static PlayerDeathReason | ByCustomReason (string reasonInEnglish) |
| static PlayerDeathReason | ByPlayer (int index) |
| static PlayerDeathReason | ByOther (int type) |
| static PlayerDeathReason | ByProjectile (int playerIndex, int projectileIndex) |
| static PlayerDeathReason | FromReader (BinaryReader reader) |
Properties | |
| int? | SourceProjectileType [get] |
Private Attributes | |
| int | _sourcePlayerIndex = -1 |
| int | _sourceNPCIndex = -1 |
| int | _sourceProjectileLocalIndex = -1 |
| int | _sourceOtherIndex = -1 |
| int | _sourceProjectileType |
| int | _sourceItemType |
| int | _sourceItemPrefix |
| string | _sourceCustomReason |
Definition at line 6 of file PlayerDeathReason.cs.