Class
EnvironmentManager
: NetworkSingleton`1 : NetworkBehaviour : MonoBehaviour : Behaviour : Component : Object : Objectimplements IEnvironmentManager
0x00x02A8
Members 59
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | UpdateWeatherEntitiesTickRate | float | PrivateStatic+1 flags | 1056964608 |
| 0x08 | _playerObj | Transform | Private | — | |
| 0x08 | _dayNightController | DayNightController | Private | — | |
| 0x08 | _maskController | MaskController | Private | — | |
| 0x08 | _weatherVolumePrefab | WeatherVolume | Private | — | |
| 0x08 | _weatherBoundsAnchor | Transform | Private | — | |
| 0x08 | _weatherVolumeContainer | Transform | Private | — | |
| 0x08 | _weatherSequences | List<ScheduleOne.Core.Weather.WeatherSequence> | Private | — | |
| 0x08 | _dailyWeatherSequences | List<ScheduleOne.Core.Weather.WeightedWeatherSequence> | Private | — | |
| 0x08 | _weatherProfiles | List<ScheduleOne.Core.Weather.WeatherProfile> | Private | — | |
| 0x04 | _defaultWeatherVolumeMoveSpeed | float | Private | — | |
| 0x04 | _weatherVolumeCount | int | Private | — | |
| 0x0C | _weatherBounds | Vector3 | Private | — | |
| 0x04 | _weatherVolumeBlendSize | float | Private | — | |
| 0x08 | _blendCurve | AnimationCurve | Private | — | |
| 0x08 | _lensFlareSettings | LensFlareSettings | Private | — | |
| 0x04 | _windChangeSpeed | float | Private | — | |
| 0x08 | _minMaxWindChangeInterval | Vector2Int | Private | — | |
| 0x04 | _windChangeAngle | float | Private | — | |
| 0x08 | _minMaxWindShiftInterval | Vector2Int | Private | — | |
| 0x04 | _windShiftAngle | float | Private | — | |
| 0x01AC | 0x04 | padding / unreflected | |||
| 0x08 | _rendererData | UniversalRendererData | Private | — | |
| 0x01 | _debugControlWeatherSpeedWithSlider | bool | Private | — | |
| 0x01B9 | 0x03 | padding / unreflected | |||
| 0x04 | _debugWeatherSliderValue | float | Private | — | |
| 0x08 | _weatherEnclosures | List<ScheduleOne.Core.Weather.WeatherEnclosure> | Private | — | |
| 0x08 | _overrideEnclosures | List<ScheduleOne.Core.Weather.SkyOverrideEnclosure> | Private | — | |
| 0x08 | _activeWeatherVolumes | SyncList<ScheduleOne.Weather.WeatherVolume> | Private+1 flags | — | |
| 0x08 | _currentWeatherSequence | WeatherSequence | Private | — | |
| 0x08 | _targetWeatherVolume | WeatherVolume | Private | — | |
| 0x0C | _weatherVolumeBounds | Vector3 | Private | — | |
| 0x0C | _weatherBoundsCenter | Vector3 | Private | — | |
| 0x08 | _skyOverrideSettings | SkySettings | Private | — | |
| 0x04 | _blendAmount | float | Private | — | |
| 0x04 | _skyOverrideBlendValue | float | Private | — | |
| 0x01 | _doWeatherBlending | bool | Private | — | |
| 0x01 | _hasWeatherVolumeNeighbour | bool | Private | — | |
| 0x01 | _withinBounds | bool | Private | — | |
| 0x0213 | 0x01 | padding / unreflected | |||
| 0x04 | _targetWeatherVolumeIndex | int | Private | — | |
| 0x04 | _neighbourWeatherVolumeIndex | int | Private | — | |
| 0x04 | _targetWeatherBlendValue | float | Private | — | |
| 0x04 | _weatherVolumeMoveSpeed | float | Private | — | |
| 0x04 | _neighbourWeatherBlendValue | float | Private | — | |
| 0x08 | _closestPointInTargetVolume | Vector2 | Private | — | |
| 0x08 | _closestPointInNeighbourVolume | Vector2 | Private | — | |
| 0x04 | _sequenceVolumeStartIndex | int | Private | — | |
| 0x023C | 0x04 | padding / unreflected | |||
| 0x08 | _weatherVolumePositions | Vector3[] | Private | — | |
| 0x0C | _windVelocity | Vector3 | Private | — | |
| 0x0C | _targetWindDirection | Vector3 | Private | — | |
| 0x0C | _currentWindDirection | Vector3 | Private | — | |
| 0x04 | _windChangeTime | float | Private | — | |
| 0x04 | _windShiftTime | float | Private | — | |
| 0x04 | _windShiftTimer | float | Private | — | |
| 0x04 | _windChangeTimer | float | Private | — | |
| 0x027C | 0x04 | padding / unreflected | |||
| 0x08 | _currentWeatherConditions | WeatherConditions | Private | — | |
| 0x08 | _currentSkyState | SkyState | Private | — | |
| 0x08 | _fogFeature | ScheduleOneFogFeature | 1 flags | — | |
| 0x08 | _registeredWeatherEntities | List<ScheduleOne.Core.Weather.IWeatherEntity> | Private | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.Weather.EnvironmentManagerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.Weather.EnvironmentManagerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x02A2 | 0x06 | unreflected bytes to end of EnvironmentManager | |||
Inherited from NetworkSingleton`1 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | instance | EnvironmentManager | PrivateStatic | — | |
| 0x0008 | 0x110 | padding / unreflected | |||
| 0x01 | Destroyed | bool | 1 flags | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.DevUtilities.NetworkSingleton`1Assembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.DevUtilities.NetworkSingleton`1Assembly-CSharp.dll_Excuted | bool | Private | — | |
Inherited from NetworkBehaviour 41
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | <OnStartServerCalled>k__BackingField | bool | Private | — | |
| 0x01 | <OnStartClientCalled>k__BackingField | bool | Private | — | |
| 0x01 | _onStartNetworkCalled | bool | Private | — | |
| 0x01 | _onStopNetworkCalled | bool | Private | — | |
| 0x01 | _componentIndexCache | byte | Private | — | |
| 0x0025 | 0x03 | padding / unreflected | |||
| 0x08 | _transportManagerCache | TransportManager | Private | — | |
| 0x08 | _networkObjectCache | NetworkObject | Private | — | |
| 0x01 | _initializedOnceServer | bool | Private | — | |
| 0x01 | _initializedOnceClient | bool | Private | — | |
| 0x01 | ClientHasReconcileData | bool | 1 flags | — | |
| 0x003B | 0x01 | padding / unreflected | |||
| 0x04 | _lastReplicateTick | uint | Private | — | |
| 0x01 | <IsReconciling>k__BackingField | bool | Private | — | |
| 0x0041 | 0x07 | padding / unreflected | |||
| 0x08 | _replicateRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x08 | _reconcileRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x01 | _predictionInitialized | bool | Private | — | |
| 0x0059 | 0x07 | padding / unreflected | |||
| 0x08 | _predictionRigidbody | Rigidbody | Private | — | |
| 0x08 | _predictionRigidbody2d | Rigidbody2D | Private | — | |
| 0x0C | _lastMayChangePosition | Vector3 | Private | — | |
| 0x10 | _lastMayChangeRotation | Quaternion | Private | — | |
| 0x0C | _lastMayChangeScale | Vector3 | Private | — | |
| 0x04 | _remainingResends | int | Private | — | |
| 0x04 | _lastSentReplicateTick | uint | Private | — | |
| 0x04 | _lastReceivedReplicateTick | uint | Private | — | |
| 0x04 | _lastReceivedReconcileTick | uint | Private | — | |
| 0x04 | _lastReconcileTick | uint | Private | — | |
| 0x00AC | 0x04 | padding / unreflected | |||
| 0x08 | _rpcLinks | Dictionary<System.UInt32 | Private | — | |
| 0x08 | _serverRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x08 | _observersRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x08 | _targetRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x04 | _rpcMethodCount | uint | Private | — | |
| 0x01 | _rpcHashSize | byte | Private | — | |
| 0x00D5 | 0x03 | padding / unreflected | |||
| 0x08 | _bufferedRpcs | Dictionary<System.UInt32 | Private | — | |
| 0x08 | _networkConnectionCache | HashSet<FishNet.Connection.NetworkConnection> | Private | — | |
| — | 0x04 | MAXIMUM_RPC_HEADER_SIZE | int | PrivateStatic+1 flags | 0 |
| 0x08 | _syncTypeWriters | SyncTypeWriter[] | Private | — | |
| 0x08 | _syncVars | Dictionary<System.UInt32 | Private | — | |
| 0x01 | SyncVarDirty | bool | 1 flags | — | |
| 0x00F9 | 0x07 | padding / unreflected | |||
| 0x08 | _syncObjects | Dictionary<System.UInt32 | Private | — | |
| 0x01 | SyncObjectDirty | bool | 1 flags | — | |
| 0x08 | _readPermissions | ReadPermission[] | PrivateStatic | — | |
| 0x0109 | 0x07 | padding / unreflected | |||
| 0x08 | _syncVarReadDelegates | List<FishNet.Object.Delegating.SyncVarReadDelegate> | Private | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 64
| Signature | Flags | Native | Params |
|---|---|---|---|
| Transform get_Player() | 2 flags | 0x08 | |
| SkyState ScheduleOne.Core.Weather.IEnvironmentManager.get_SkyState() | PrivateFinal+3 flags | 0x08 | |
| List<ScheduleOne.Core.Weather.WeatherSequence> get_WeatherSequences() | Public+1 flags | 0x08 | |
| void Awake() | Public+1 flags | 0x00 | |
| void Start() | 2 flags | 0x00 | |
| void OnStartServer() | Public+1 flags | 0x00 | |
| void SetupHandler() | Private | 0x00 | |
| void InitialiseFog() | Private | 0x00 | |
| void InitialiseSky() | Private | 0x00 | |
| void InitialiseWind() | Private | 0x00 | |
| void InitialiseWeather() | Private | 0x00 | |
| void InitialiseGlobalVariables() | Private | 0x00 | |
| void SetupEvents() | Private | 0x00 | |
| void InitialiseControllers() | Private | 0x00 | |
| void Update() | Private | 0x00 | |
| void CreateWeatherVolumesAtStartIndex(int sequenceVolumeIndex) | Private | 0x04 | |
| void CreateVolume(WeatherProfile profile, const Vector3& position, int insertIndex) | Private | 0x0C | |
| void DetermineWeatherVolumeWithTarget() | Private | 0x00 | |
| void CalculateWeatherBlendsFromVolumes() | Private | 0x00 | |
| void BlendWeatherProfiles() | Private | 0x00 | |
| void CreateWeatherVolumes() | Private | 0x00 | |
| void MoveWeatherVolumes() | Private | 0x00 | |
| void UpdateWind() | Private | 0x00 | |
| void ChangeWindDirection() | Private | 0x00 | |
| void ShiftWindDirection() | Private | 0x00 | |
| Vector3 GetNewWindDirection(float changeAngle, const Vector3& currentDirection) | Public | 0x0C | |
| void UpdateVolumes() | Private | 0x00 | |
| void UpdateWeather() | Private | 0x00 | |
| void UpdateWeatherEntities() | Private | 0x00 | |
| void SetLensFlare(LensFlareDataSRP flare, float intensity) | Private | 0x08 | |
| void ClearWeather() | Private | 0x00 | |
| void SetRandomWeatherSequence() | Private | 0x00 | |
| WeatherProfile GetWeatherProfileFromPosition(const Vector3& position) | 1 flags | 0x0C | |
| WeatherConditions GetActiveWeatherConditionsFromPosition(const Vector3& position) | Private | 0x0C | |
| Vector3 GetWeatherVolumeBounds() | Private | 0x0C | |
| Vector3 GetWeatherVolumeInitialPosition() | Private | 0x0C | |
| Vector3 GetWeatherBoundsCenter() | Private | 0x0C | |
| Transform GetWeatherAnchor() | Private | 0x08 | |
| Transform GetPlayer() | Private | 0x08 | |
| bool IsPositionUnderCover(const Vector3& position) | Private | 0x0C | |
| int GetWrappedIndex(int index, int change, int size) | Private | 0x04 | |
| WeatherProfile GetWeatherProfile(const string& id) | Public | 0x08 | |
| void OnMinutePass() | Private | 0x00 | |
| void OnTick() | Private | 0x00 | |
| void OnTimeSet() | Private | 0x00 | |
| void OnSleepEnd() | Private | 0x00 | |
| void SetWeather(const string& type) | PublicFinal+2 flags | 0x08 | |
| void OnWeatherEntityRegistered(IWeatherEntity entity) | Public | 0x08 | |
| void OnWeatherEntityUnregistered(IWeatherEntity entity) | Public | 0x08 | |
| void OnEnclosureRegistered(WorldEnclosure enclosure) | Public | 0x08 | |
| void RegisterEnclosure(WorldEnclosure enclosure) | Private | 0x08 | |
| void RegisterWeatherEnclosure(WeatherEnclosure enclosure) | Private | 0x08 | |
| void RegisterOverrideEnclosure(SkyOverrideEnclosure enclosure) | Private | 0x08 | |
| void OnDestroy() | 2 flags | 0x00 | |
| void SetWeatherSequence(const string& sequenceId) | Private | 0x08 | |
| void TriggerLightningEvent() | PublicFinal+2 flags | 0x00 | |
| void TriggerTargetedLightningEvent(const Vector3& target) | PublicFinal+2 flags | 0x0C | |
| void TriggerDistantThunder() | PublicFinal+2 flags | 0x00 | |
| ThunderController GetActiveThunderController() | Private | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void NetworkInitialize___Early() | Public+1 flags | 0x00 | |
| void NetworkInitialize__Late() | Public+1 flags | 0x00 | |
| void NetworkInitializeIfDisabled() | Public+1 flags | 0x00 | |
| void Awake_UserLogic_ScheduleOne.Weather.EnvironmentManager_Assembly-CSharp.dll() | 2 flags | 0x00 |