tModLoader v2024.10
A mod to make and play Terraria mods
|
Public Member Functions | |
void | GetSittingOffsetInfo (Player player, out Vector2 posOffset, out float seatAdjustment) |
void | SitDown (Player player, int x, int y) |
void | SitUp (Player player, bool multiplayerBroadcast=true) |
bool | TryGetSittingBlock (Player player, out Tile tile) |
void | UpdateSitting (Player player) |
Static Public Member Functions | |
static bool | GetSittingTargetInfo (Player player, int x, int y, out int targetDirection, out Vector2 playerSittingPosition, out Vector2 seatDownOffset, out ExtraSeatInfo extraInfo) |
Public Attributes | |
ExtraSeatInfo | details |
bool | isSitting |
Vector2 | offsetForSeat |
int | sittingIndex |
Static Public Attributes | |
const int | ChairSittingMaxDistance = 40 |