terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.GameContent.PlayerSleepingHelper Struct Reference

Public Member Functions

void GetSleepingOffsetInfo (Player player, [Out] Vector2 posOffset)
 
void SetIsSleepingAndAdjustPlayerRotation (Player player, bool state)
 
void UpdateState (Player player)
 
void StopSleeping (Player player, bool multiplayerBroadcast=true)
 
void StartSleeping (Player player, int x, int y)
 

Static Public Member Functions

static bool GetSleepingTargetInfo (int x, int y, [Out] int targetDirection, [Out] Vector2 anchorPosition, [Out] Vector2 visualoffset)
 

Public Attributes

bool isSleeping
 
int sleepingIndex
 
int timeSleeping
 
Vector2 visualOffsetOfBedBase
 

Static Public Attributes

const int BedSleepingMaxDistance = 96
 
const int TimeToFullyFallAsleep = 120
 

Properties

bool FullyFallenAsleep [get]
 

Private Member Functions

bool DoesPlayerHaveReasonToActUpInBed (Player player)
 

Static Private Member Functions

static Vector2 SetOffsetbyBed (int bedStyle)
 

Detailed Description

Definition at line 9 of file PlayerSleepingHelper.cs.


The documentation for this struct was generated from the following file: