18 Vector2 vector = reader.ReadVector2();
65 int width = npc.
width;
78 int netID = npc.
netID;
149 object syncRoot =
markers2._syncRoot;
311 if (npcTypeAgainstDiscouragement2 == 0)
372 if (!spawnedFromStatue)
390 string text =
"Spawned " + text2;
637 return x.IsInvalid();
643 return x.IsInvalid();
class f__AnonymousType0<< Count > j__TPar
static void Exit(object obj)
static void Enter(object obj)
bool RespawnAttemptLocked
static readonly int _expirationCompPlat
bool IsExpired(int gameTime)
bool WouldNPCBeDiscouraged(Player playerTarget)
static readonly int _expirationCompSilver
static readonly int _expirationCompCopper
bool DrawMapIcon(SpriteBatch spriteBatch, Vector2 mapTopLeft, Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, int gameTime)
static readonly Vector2 EnemyBoxSize
const int ENEMY_BOX_WIDTH
bool Intersects(Rectangle rectInner, Rectangle rectOuter)
void WriteSelfTo(BinaryWriter writer)
static int _uniqueIDCounter
readonly float _baseValue
int CalculateExpirationTime(int gameCacheTime, int coinValue)
readonly int _npcAIStyleAgainstDiscouragement
readonly int _npcTypeAgainstDiscouragement
readonly int _expirationTime
const int ENEMY_BOX_HEIGHT
readonly float _npcHPPercent
readonly Rectangle _hitbox
readonly bool _spawnedFromStatue
void UseMouseOver(SpriteBatch spriteBatch, string mouseTextString, float drawScale=1f)
void SetRespawnAttemptLock(bool state)
static readonly int _expirationCompGold
readonly Vector2 _location
RevengeMarker(Vector2 coords, int npcNetId, float npcHPPercent, int npcType, int npcAiStyle, int coinValue, float baseValue, bool spawnedFromStatue, int gameTime, int uniqueID=-1)
bool< RemoveExpiredOrInvalidMarkers > b__20_3(CoinLossRevengeSystem.RevengeMarker x)
static int MinimumCoinsForCaching
static CoinLossRevengeSystem()
const int PLAYER_BOX_WIDTH_INNER
const int PLAYER_BOX_HEIGHT_OUTER
readonly object _markersLock
const int PLAYER_BOX_HEIGHT_INNER
bool< RemoveExpiredOrInvalidMarkers > b__20_0(CoinLossRevengeSystem.RevengeMarker x)
static readonly Vector2 _playerBoxSizeInner
void RemoveExpiredOrInvalidMarkers()
void AddMarker(CoinLossRevengeSystem.RevengeMarker marker)
void AddMarkerFromReader(BinaryReader reader)
List< CoinLossRevengeSystem.RevengeMarker > _markers
void DestroyMarker(int markerUniqueID)
void SendAllMarkersToPlayer(int plr)
CoinLossRevengeSystem.RevengeMarker DrawMapIcons(SpriteBatch spriteBatch, Vector2 mapTopLeft, Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string unused)
static bool DisplayCaching
const int PLAYER_BOX_WIDTH_OUTER
static readonly Vector2 _playerBoxSizeOuter
static int buyPrice(int platinum=0, int gold=0, int silver=0, int copper=0)
static void NewText(string newText, byte R=255, byte G=255, byte B=255)
static Microsoft.Xna.Framework.Vector2 MouseScreen
static int GetNPCInvasionGroup(int npcID)