|
Terraria v1.4.4.9
Terraria source code documentation
|
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 |
Definition at line 8 of file DoorOpeningHelper.cs.