|
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
|
Collaboration diagram for Terraria.GameContent.Ambience.AmbienceServer:Classes | |
| struct | AmbienceSpawnInfo |
Public Member Functions | |
| AmbienceServer () | |
| void | Update () |
| void | ResetSpawnTime () |
| void | ForceEntitySpawn (AmbienceServer.AmbienceSpawnInfo info) |
Private Member Functions | |
| bool | IsPlayerAtRightHeightForType (SkyEntityType type, Player plr) |
| void | SpawnForcedEntities () |
| void | SpawnForPlayer (Player player, SkyEntityType type) |
Static Private Member Functions | |
| static bool | IsSunnyDay () |
| static bool | IsSunset () |
| static bool | IsCalmNight () |
| static void | FindPlayerThatCanSeeBackgroundAmbience (out Player player) |
| static bool | IsPlayerInAPlaceWhereTheyCanSeeAmbience (Player plr) |
| static bool | IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky (Player plr) |
| static bool | IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell (Player plr) |
Private Attributes | |
| readonly Dictionary< SkyEntityType, Func< bool > > | _spawnConditions |
| readonly Dictionary< SkyEntityType, Func< Player, bool > > | _secondarySpawnConditionsPerPlayer |
| int | _updatesUntilNextAttempt |
| List< AmbienceServer.AmbienceSpawnInfo > | _forcedSpawns |
Static Private Attributes | |
| const int | MINIMUM_SECONDS_BETWEEN_SPAWNS = 10 |
| const int | MAXIMUM_SECONDS_BETWEEN_SPAWNS = 120 |
Definition at line 15 of file AmbienceServer.cs.