Class
ConsumeProductBehaviour
: Behaviour : NetworkBehaviour : MonoBehaviour : Behaviour : Component : Object : Object0x00x01D8
Members 16
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | JointPrefab | AvatarEquippable | Public | — | |
| 0x08 | PipePrefab | AvatarEquippable | Public | — | |
| 0x08 | ShroomPrefab | AvatarEquippable | Public | — | |
| 0x08 | <ConsumedProduct>k__BackingField | ProductItemInstance | Private | — | |
| 0x08 | product | ProductItemInstance | Private | — | |
| 0x08 | consumeRoutine | Coroutine | Private | — | |
| 0x08 | WeedConsumeSound | AudioSourceController | Public | — | |
| 0x08 | MethConsumeSound | AudioSourceController | Public | — | |
| 0x08 | SnortSound | AudioSourceController | Public | — | |
| 0x08 | EatSound | AudioSourceController | Public | — | |
| 0x08 | SmokeExhaleParticles | ParticleSystem | Public | — | |
| 0x08 | onConsumeDone | UnityEvent | Public | — | |
| 0x08 | _effectsCooldownTimer | TimedCallback | Private | — | |
| 0x01 | _removeFromInventoryOnConsume | bool | Private | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.NPCs.Behaviour.ConsumeProductBehaviourAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.NPCs.Behaviour.ConsumeProductBehaviourAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01D3 | 0x05 | unreflected bytes to end of ConsumeProductBehaviour | |||
Inherited from Behaviour 17
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | MAX_CONSECUTIVE_PATHING_FAILURES | int | PublicStatic+1 flags | 5 |
| 0x01 | EnabledOnAwake | bool | Public | — | |
| 0x01 | <Enabled>k__BackingField | bool | Private | — | |
| 0x011A | 0x06 | padding / unreflected | |||
| 0x08 | Name | string | Public | — | |
| 0x04 | Priority | int | Public | — | |
| 0x01 | _canUseUmbrellaDuringBehaviour | bool | Private | — | |
| 0x01 | <Started>k__BackingField | bool | Private | — | |
| 0x01 | <Active>k__BackingField | bool | Private | — | |
| 0x012F | 0x01 | padding / unreflected | |||
| 0x04 | BehaviourIndex | int | Public | — | |
| 0x0134 | 0x04 | padding / unreflected | |||
| 0x08 | <beh>k__BackingField | NPCBehaviour | Private | — | |
| 0x08 | onEnable | UnityEvent | Public | — | |
| 0x08 | onDisable | UnityEvent | Public | — | |
| 0x08 | onBegin | UnityEvent | Public | — | |
| 0x08 | onEnd | UnityEvent | Public | — | |
| 0x04 | consecutivePathingFailures | int | 1 flags | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.NPCs.Behaviour.BehaviourAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.NPCs.Behaviour.BehaviourAssembly-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 41
| Signature | Flags | Native | Params |
|---|---|---|---|
| ProductItemInstance get_ConsumedProduct() | Public+1 flags | 0x08 | |
| void set_ConsumedProduct(ProductItemInstance value) | Private+1 flags | 0x08 | |
| void Start() | 3 flags | 0x00 | |
| void SendProduct(ProductItemInstance _product, bool removeFromInventory) | Public | 0x08 | |
| void SetProduct(ProductItemInstance _product, bool removeFromInventory) | Private | 0x08 | |
| void ClearEffects() | Public | 0x00 | |
| void Activate() | Public+1 flags | 0x00 | |
| void Resume() | Public+1 flags | 0x00 | |
| void TryConsume() | Private | 0x00 | |
| void Disable() | Public+1 flags | 0x00 | |
| void Deactivate() | Public+1 flags | 0x00 | |
| void ConsumeWeed() | Private | 0x00 | |
| void ConsumeMeth() | Private | 0x00 | |
| void ConsumeCocaine() | Private | 0x00 | |
| void ConsumeShrooms() | Private | 0x00 | |
| void ApplyEffects() | Private | 0x00 | |
| void Clear() | Private | 0x00 | |
| void DayPass() | Private | 0x00 | |
| void ConsumeDone() | Private | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 | |
| IEnumerator <ConsumeWeed>g__ConsumeWeedRoutine|26_0() | Private | 0x08 | |
| IEnumerator <ConsumeMeth>g__ConsumeWeedRoutine|27_0() | Private | 0x08 | |
| IEnumerator <ConsumeCocaine>g__ConsumeWeedRoutine|28_0() | Private | 0x08 | |
| IEnumerator <ConsumeShrooms>g__ConsumeRoutine|29_0() | Private | 0x08 | |
| bool <ConsumeDone>b__33_0(ItemSlot x) | Private | 0x08 | |
| void NetworkInitialize___Early() | Public+1 flags | 0x00 | |
| void NetworkInitialize__Late() | Public+1 flags | 0x00 | |
| void NetworkInitializeIfDisabled() | Public+1 flags | 0x00 | |
| void RpcWriter___Server_SendProduct_3964170259(ProductItemInstance _product, bool removeFromInventory) | Private | 0x08 | |
| void RpcLogic___SendProduct_3964170259(ProductItemInstance _product, bool removeFromInventory) | Public | 0x08 | |
| void RpcReader___Server_SendProduct_3964170259(PooledReader PooledReader0, const Channel& channel, NetworkConnection conn) | Private | 0x08 | |
| void RpcWriter___Observers_SetProduct_3964170259(ProductItemInstance _product, bool removeFromInventory) | Private | 0x08 | |
| void RpcLogic___SetProduct_3964170259(ProductItemInstance _product, bool removeFromInventory) | Private | 0x08 | |
| void RpcReader___Observers_SetProduct_3964170259(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Observers_ClearEffects_2166136261() | Private | 0x00 | |
| void RpcLogic___ClearEffects_2166136261() | Public | 0x00 | |
| void RpcReader___Observers_ClearEffects_2166136261(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Observers_ApplyEffects_2166136261() | Private | 0x00 | |
| void RpcLogic___ApplyEffects_2166136261() | Private | 0x00 | |
| void RpcReader___Observers_ApplyEffects_2166136261(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void Awake() | Public+1 flags | 0x00 |