|
terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Collaboration diagram for Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker: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 |
Properties | |
| bool | RespawnAttemptLocked [get, set] |
| int | UniqueID [get, set] |
Private Member Functions | |
| int | CalculateExpirationTime (int gameCacheTime, int coinValue) |
Static Private Member Functions | |
| static | RevengeMarker () |
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 |
| static readonly int | _expirationCompCopper |
| static readonly int | _expirationCompSilver |
| static readonly int | _expirationCompGold |
| static readonly int | _expirationCompPlat |
| const int | ONE_MINUTE = 3600 |
| const int | ENEMY_BOX_WIDTH = 2160 |
| const int | ENEMY_BOX_HEIGHT = 1440 |
Definition at line 439 of file CoinLossRevengeSystem.cs.