Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.DoorOpeningHelper Class Reference

Classes

class  CommonDoorOpeningInfoProvider
 
interface  DoorAutoHandler
 
struct  DoorOpenCloseTogglingInfo
 
struct  PlayerInfoForClosingDoors
 
struct  PlayerInfoForOpeningDoors
 
class  TallGateOpeningInfoProvider
 

Public Types

enum  DoorAutoOpeningPreference { Disabled , EnabledForGamepadOnly , EnabledForEverything }
 

Public Member Functions

void AllowOpeningDoorsByVelocityAloneForATime (int timeInFramesToAllow)
 
void Update (Player player)
 
void LookForDoorsToClose (Player player)
 
void LookForDoorsToOpen (Player player)
 

Static Public Member Functions

static void CyclePreferences ()
 

Static Public Attributes

static DoorAutoOpeningPreference PreferenceSettings = DoorAutoOpeningPreference.EnabledForEverything
 

Private Types

enum  DoorCloseAttemptResult { StillInDoorArea , ClosedDoor , FailedToCloseDoor , DoorIsInvalidated }
 

Private Member Functions

bool ShouldTryOpeningDoors ()
 
PlayerInfoForClosingDoors GetPlayerInfoForClosingDoor (Player player)
 
PlayerInfoForOpeningDoors GetPlayerInfoForOpeningDoor (Player player)
 
void TryAutoOpeningDoor (Point tileCoords, PlayerInfoForOpeningDoors playerInfo)
 
bool TryGetHandler (Point tileCoords, out DoorAutoHandler infoProvider)
 

Private Attributes

Dictionary< int, DoorAutoHandler_handlerByTileType
 
List< DoorOpenCloseTogglingInfo_ongoingOpenDoors = new List<DoorOpenCloseTogglingInfo>()
 
int _timeWeCanOpenDoorsUsingVelocityAlone
 

Detailed Description

Definition at line 8 of file DoorOpeningHelper.cs.


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