terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.PlayerSleepingHelper Struct Reference
+ Collaboration diagram for Terraria.GameContent.PlayerSleepingHelper:

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, set]
 

Private Member Functions

bool DoesPlayerHaveReasonToActUpInBed (Player player)
 

Static Private Member Functions

static Vector2 SetOffsetbyBed (int bedStyle)
 

Detailed Description

Definition at line 13 of file PlayerSleepingHelper.cs.


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