|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | SetToExpire () |
| void | SetRespawnAttemptLock (bool state) |
| RevengeMarker (Vector2 coords, int npcNetId, float npcHPPercent, int npcType, int npcAiStyle, int coinValue, float baseValue, bool spawnedFromStatue, int gameTime, int uniqueID=-1) | |
| bool | IsInvalid () |
| bool | IsExpired (int gameTime) |
| bool | Intersects (Rectangle rectInner, Rectangle rectOuter) |
| void | SpawnEnemy () |
| bool | WouldNPCBeDiscouraged (Player playerTarget) |
| bool | DrawMapIcon (SpriteBatch spriteBatch, Vector2 mapTopLeft, Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, int gameTime) |
| void | UseMouseOver (SpriteBatch spriteBatch, ref string mouseTextString, float drawScale=1f) |
| void | WriteSelfTo (BinaryWriter writer) |
Static Public Attributes | |
| static readonly Vector2 | EnemyBoxSize = new Vector2(2160f, 1440f) |
Properties | |
| bool | RespawnAttemptLocked [get] |
| int | UniqueID [get] |
Private Member Functions | |
| int | CalculateExpirationTime (int gameCacheTime, int coinValue) |
Private Attributes | |
| readonly Vector2 | _location |
| readonly Rectangle | _hitbox |
| readonly int | _npcNetID |
| readonly float | _npcHPPercent |
| readonly float | _baseValue |
| readonly int | _coinsValue |
| readonly int | _npcTypeAgainstDiscouragement |
| readonly int | _npcAIStyleAgainstDiscouragement |
| readonly int | _expirationTime |
| readonly bool | _spawnedFromStatue |
| readonly int | _uniqueID |
| bool | _forceExpire |
| bool | _attemptedRespawn |
Static Private Attributes | |
| static int | _uniqueIDCounter = 0 |
| static readonly int | _expirationCompCopper = Item.buyPrice(0, 0, 0, 1) |
| static readonly int | _expirationCompSilver = Item.buyPrice(0, 0, 1) |
| static readonly int | _expirationCompGold = Item.buyPrice(0, 1) |
| static readonly int | _expirationCompPlat = Item.buyPrice(1) |
| const int | ONE_MINUTE = 3600 |
| const int | ENEMY_BOX_WIDTH = 2160 |
| const int | ENEMY_BOX_HEIGHT = 1440 |
Definition at line 16 of file CoinLossRevengeSystem.cs.