tModLoader v2023.01
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) |
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) |
Public Attributes | |
bool | isSitting |
Vector2 | offsetForSeat |
int | sittingIndex |
Static Public Attributes | |
const int | ChairSittingMaxDistance = 40 |