Class
ThunderController
: WeatherEffectController : EffectController : NetworkBehaviour : MonoBehaviour : Behaviour : Component : Object : Object0x00x0218
Members 17
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | _npcLightningStrikeDistanceFromPlayer | float | PrivateStatic+1 flags | 1109393408 |
| 0x04 | _maxThunderDelay | float | Private | — | |
| 0x08 | _timeBetweenThunders | Vector2 | Private | — | |
| 0x04 | _chanceForLightingStrike | float | Private | — | |
| 0x04 | _chanceForLightingToHitPlayer | float | Private | — | |
| 0x04 | _chanceForLightingToHitNPC | float | Private | — | |
| 0x04 | _sqrDistanceToPlayer | float | Private | — | |
| 0x04 | _thundertimer | float | Private | — | |
| 0x04 | _timeUntilNextThunder | float | Private | — | |
| 0x04 | _effectNormalisedDistanceToPlayer | float | Private | — | |
| 0x08 | _thunderAudio | RandomizedAudioSourceController | Private | — | |
| 0x08 | _lightningAudio | RandomizedAudioSourceController | Private | — | |
| 0x08 | _lightningEffect | VFXEffectHandler | Private | — | |
| 0x08 | _thunderEffect | VFXEffectHandler | Private | — | |
| 0x0C | _debugThunderLocation | Vector3 | Private | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.Weather.ThunderControllerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.Weather.ThunderControllerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x0216 | 0x02 | unreflected bytes to end of ThunderController | |||
Inherited from WeatherEffectController 17
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | particleEffects | List<ScheduleOne.Weather.ParticleEffectHandler> | 1 flags | — | |
| 0x08 | visualEffects | List<ScheduleOne.Effects.VFXEffectHandler> | 1 flags | — | |
| 0x08 | shaderEffects | List<ScheduleOne.Weather.ShaderEffectHandler> | 1 flags | — | |
| 0x08 | _audioSources | List<ScheduleOne.Audio.AudioSourceController> | 1 flags | — | |
| 0x08 | _controllerId | string | 1 flags | — | |
| 0x01 | _showGizmos | bool | 1 flags | — | |
| 0x0171 | 0x03 | padding / unreflected | |||
| 0x08 | _minMaxDistanceToPlayer | Vector2 | 1 flags | — | |
| 0x017C | 0x04 | padding / unreflected | |||
| 0x08 | _distanceCurve | AnimationCurve | 1 flags | — | |
| 0x08 | _enclosureCurve | AnimationCurve | 1 flags | — | |
| 0x08 | _effectSettings | List<ScheduleOne.Core.Effects.EffectSettings> | 1 flags | — | |
| 0x08 | _audioSettings | List<ScheduleOne.Core.Audio.AudioSettings> | 1 flags | — | |
| 0x04 | _weatherBlend | float | 1 flags | — | |
| 0x01A4 | 0x04 | padding / unreflected | |||
| 0x08 | _mainVolume | WeatherVolume | 1 flags | — | |
| 0x08 | _neighbourVolume | WeatherVolume | 1 flags | — | |
| 0x01 | _audioRequiresUpdate | bool | 1 flags | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.Weather.WeatherEffectControllerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.Weather.WeatherEffectControllerAssembly-CSharp.dll_Excuted | bool | Private | — | |
Inherited from EffectController 8
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | <IsActive>k__BackingField | bool | Private | — | |
| 0x0119 | 0x03 | padding / unreflected | |||
| 0x04 | _distanceToPlayerNormalised | float | 1 flags | — | |
| 0x04 | _enclosureBlend | float | 1 flags | — | |
| 0x04 | _enclosurePan | float | 1 flags | — | |
| 0x0C | _playerPosition | Vector3 | 1 flags | — | |
| 0x0C | _anchoredPosition | Vector3 | 1 flags | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.Effects.EffectControllerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.Effects.EffectControllerAssembly-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 36
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Awake() | Public+1 flags | 0x00 | |
| void Start() | Private | 0x00 | |
| void Initialise(WeatherVolume mainVolume, ThunderSettings thunderSettings) | Public | 0x08 | |
| void Update() | 2 flags | 0x00 | |
| void TriggerThunder() | Private | 0x00 | |
| void TriggerRandomLightningStrike() | Public | 0x00 | |
| void TriggerRandomPlayerLightningStrike() | Public | 0x00 | |
| void TriggerEntityLightningStrike(const Vector3& position) | Public | 0x0C | |
| void TriggerRandomNPCLightningStrike() | Public | 0x00 | |
| void TriggerLightningStrike_Server(const Vector3& position) | Private | 0x0C | |
| void TriggerLightningStrike_Client(const Vector3& position) | Private | 0x0C | |
| void TriggerDistantThunder() | Public | 0x00 | |
| void TriggerDistantThunder_Client(const Vector3& location) | Private | 0x0C | |
| void RandomiseThunderTimer() | Private | 0x00 | |
| bool UpdateAudio() | Public+1 flags | 0x01 | |
| Vector3 GetRandomPointInVolume() | Private | 0x0C | |
| bool UpdateAudio(AudioSourceController audioSource, bool useEffectDistance) | Private | 0x08 | |
| void UpdateProperties(const Vector3& anchorPosition, const Vector3& playerPosition, float sqrDistanceToPlayer, float enclosureBlend, float enclosurePan) | Public+1 flags | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 | |
| bool <TriggerRandomPlayerLightningStrike>g__CanBeStruck|21_1(Player player) | Static+1 flags | 0x08 | |
| bool <TriggerRandomNPCLightningStrike>g__CanBeStruck|23_1(NPC npc) | Static+1 flags | 0x08 | |
| void <TriggerLightningStrike_Client>b__25_0() | Private | 0x00 | |
| void <TriggerDistantThunder_Client>b__27_0() | Private | 0x00 | |
| void NetworkInitialize___Early() | Public+1 flags | 0x00 | |
| void NetworkInitialize__Late() | Public+1 flags | 0x00 | |
| void NetworkInitializeIfDisabled() | Public+1 flags | 0x00 | |
| void RpcWriter___Server_TriggerLightningStrike_Server_4276783012(const Vector3& position) | Private | 0x0C | |
| void RpcLogic___TriggerLightningStrike_Server_4276783012(const Vector3& position) | Private | 0x0C | |
| void RpcReader___Server_TriggerLightningStrike_Server_4276783012(PooledReader PooledReader0, const Channel& channel, NetworkConnection conn) | Private | 0x08 | |
| void RpcWriter___Observers_TriggerLightningStrike_Client_4276783012(const Vector3& position) | Private | 0x0C | |
| void RpcLogic___TriggerLightningStrike_Client_4276783012(const Vector3& position) | Private | 0x0C | |
| void RpcReader___Observers_TriggerLightningStrike_Client_4276783012(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Observers_TriggerDistantThunder_Client_4276783012(const Vector3& location) | Private | 0x0C | |
| void RpcLogic___TriggerDistantThunder_Client_4276783012(const Vector3& location) | Private | 0x0C | |
| void RpcReader___Observers_TriggerDistantThunder_Client_4276783012(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void Awake_UserLogic_ScheduleOne.Weather.ThunderController_Assembly-CSharp.dll() | 2 flags | 0x00 |