|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Used when an entity interacts with a tile.
Used by vanilla when players activate mechanisms like cannons and fireworks.
More...
Inheritance diagram for Terraria.DataStructures.EntitySource_TileInteraction:
Collaboration diagram for Terraria.DataStructures.EntitySource_TileInteraction:Public Member Functions | |
| EntitySource_TileInteraction (Entity entity, int tileCoordsX, int tileCoordsY, string? context=null) | |
Static Package Functions | |
| static ? IEntitySource | GetGoreFallback () |
| static FallbackSourceRef | PushFallback (IEntitySource source) |
Properties | |
| Entity | Entity [get] |
| The entity interacting with the tile. Normally a T:Terraria.Player | |
| Point | TileCoords [get] |
| string? | Context [get] |
| Additional context identifier, particularly useful for set bonuses or accessory affects. See T:Terraria.ID.ItemSourceID and T:Terraria.ID.ProjectileSourceID for vanilla uses. | |
Static Private Attributes | |
| static ? IEntitySource | _goreFallback |
Used when an entity interacts with a tile.
Used by vanilla when players activate mechanisms like cannons and fireworks.
Definition at line 7 of file EntitySource_TileInteraction.cs.