|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Types | |
| enum | LogicCheckType { None , Day , Night , PlayerAbove , Water , Lava , Honey , Liquid } |
Public Member Functions | |
| override void | RegisterTileEntityID (int assignedID) |
| override void | NetPlaceEntityAttempt (int x, int y) |
| override bool | IsTileValidForEntity (int x, int y) |
| override TileEntity | GenerateInstance () |
| override void | Update () |
| void | ChangeState (bool onState, bool TripWire) |
| TELogicSensor () | |
| void | FigureCheckState () |
| override void | WriteExtraData (BinaryWriter writer, bool networkSend) |
| override void | ReadExtraData (BinaryReader reader, bool networkSend) |
| override string | ToString () |
| virtual void | OnPlayerUpdate (Player player) |
| virtual void | OnInventoryDraw (Player player, SpriteBatch spriteBatch) |
| virtual string | GetItemGamepadInstructions (int slot=0) |
| virtual bool | TryGetItemGamepadOverrideInstructions (Item[] inv, int context, int slot, out string instruction) |
| virtual bool | OverrideItemSlotHover (Item[] inv, int context=0, int slot=0) |
| virtual bool | OverrideItemSlotLeftClick (Item[] inv, int context=0, int slot=0) |
Static Public Member Functions | |
| static void | NetPlaceEntity (int x, int y) |
| static bool | ValidTile (int x, int y) |
| static LogicCheckType | FigureCheckType (int x, int y, out bool on) |
| static bool | GetState (int x, int y, LogicCheckType type, TELogicSensor instance=null) |
| static void | GetFrame (int x, int y, LogicCheckType type, bool on) |
| static bool | SanityCheck (int x, int y) |
| static int | Place (int x, int y) |
| static int | Hook_AfterPlacement (int x, int y, int type=423, int style=0, int direction=1, int alternate=0) |
| static void | Kill (int x, int y) |
| static int | Find (int x, int y) |
| static int | AssignNewID () |
| static void | Clear () |
| static void | UpdateStart () |
| static void | UpdateEnd () |
| static void | InitializeAll () |
| static void | PlaceEntityNet (int x, int y, int type) |
| static void | Write (BinaryWriter writer, TileEntity ent, bool networkSend=false) |
| static TileEntity | Read (BinaryReader reader, bool networkSend=false) |
| static bool | IsOccupied (int id, out int interactingPlayer) |
| static void | BasicOpenCloseInteraction (Player player, int x, int y, int id) |
| static void | SetInteractionAnchor (Player player, int x, int y, int id) |
Public Attributes | |
| LogicCheckType | logicCheck |
| bool | On |
| int | CountedData |
| int | ID |
| Point16 | Position |
| byte | type |
Static Public Attributes | |
| static TileEntitiesManager | manager |
| const int | MaxEntitiesPerChunk = 1000 |
| static object | EntityCreationLock = new object() |
| static Dictionary< int, TileEntity > | ByID = new Dictionary<int, TileEntity>() |
| static Dictionary< Point16, TileEntity > | ByPosition = new Dictionary<Point16, TileEntity>() |
| static int | TileEntitiesNextID |
Events | |
| static Action | _UpdateStart |
| static Action | _UpdateEnd |
Private Member Functions | |
| void | WriteInner (BinaryWriter writer, bool networkSend) |
| void | ReadInner (BinaryReader reader, bool networkSend) |
Static Private Member Functions | |
| static void | UpdateStartInternal () |
| static void | FillPlayerHitboxes () |
| static void | UpdateEndInternal () |
Static Private Attributes | |
| static byte | _myEntityID |
| static Dictionary< int, Rectangle > | playerBox = new Dictionary<int, Rectangle>() |
| static List< Tuple< Point16, bool > > | tripPoints = new List<Tuple<Point16, bool>>() |
| static List< int > | markedIDsForRemoval = new List<int>() |
| static bool | inUpdateLoop |
| static bool | playerBoxFilled |
Definition at line 9 of file TELogicSensor.cs.