Class
Equippable_RangedWeapon
: Equippable_AvatarViewmodel : Equippable_Viewmodel : Equippable : MonoBehaviour : Behaviour : Component : Object : Object0x00x01B0
Members 55
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | NPC_AIM_DETECTION_RANGE | float | PublicStatic+1 flags | 1092616192 |
| 0x04 | <Aim>k__BackingField | float | Private | — | |
| 0x04 | <Accuracy>k__BackingField | float | Private | — | |
| 0x04 | <TimeSinceFire>k__BackingField | float | Private | — | |
| 0x01 | <IsReloading>k__BackingField | bool | Private | — | |
| 0x01 | <IsCocked>k__BackingField | bool | Private | — | |
| 0x01 | <IsCocking>k__BackingField | bool | Private | — | |
| 0x00A7 | 0x01 | padding / unreflected | |||
| 0x04 | MagazineSize | int | Public | — | |
| 0x04 | AimDuration | float | Public | — | |
| 0x04 | MinAimFOVReduction | float | Public | — | |
| 0x04 | MaxAimFOVReduction | float | Public | — | |
| 0x08 | FireSound | AudioSourceController | Public | — | |
| 0x08 | EmptySound | AudioSourceController | Public | — | |
| 0x04 | FireCooldown | float | Public | — | |
| 0x00CC | 0x04 | padding / unreflected | |||
| 0x08 | FireAnimTriggers | string[] | Public | — | |
| 0x04 | AccuracyChangeDuration | float | Public | — | |
| 0x04 | AccuracyDropPerShot | float | Public | — | |
| 0x04 | Range | float | Public | — | |
| 0x04 | RayRadius | float | Public | — | |
| 0x04 | MinSpread | float | Public | — | |
| 0x04 | MaxSpread | float | Public | — | |
| 0x04 | Damage | float | Public | — | |
| 0x04 | ImpactForce | float | Public | — | |
| 0x04 | HeadshotMultiplier | float | Public | — | |
| 0x01 | CanReload | bool | Public | — | |
| 0x00FD | 0x03 | padding / unreflected | |||
| 0x04 | ReloadType | EReloadType | Public | — | |
| 0x0104 | 0x04 | padding / unreflected | |||
| 0x08 | Magazine | StorableItemDefinition | Public | — | |
| 0x04 | ReloadStartTime | float | Public | — | |
| 0x04 | ReloadIndividalTime | float | Public | — | |
| 0x04 | ReloadEndTime | float | Public | — | |
| 0x011C | 0x04 | padding / unreflected | |||
| 0x08 | ReloadStartAnimTrigger | string | Public | — | |
| 0x08 | ReloadIndividualAnimTrigger | string | Public | — | |
| 0x08 | ReloadEndAnimTrigger | string | Public | — | |
| 0x08 | ReloadTrash | TrashItem | Public | — | |
| 0x01 | MustBeCocked | bool | Public | — | |
| 0x01 | CockedByDefault | bool | Public | — | |
| 0x01 | AutoCockAfterReload | bool | Public | — | |
| 0x0143 | 0x01 | padding / unreflected | |||
| 0x04 | CockTime | float | Public | — | |
| 0x08 | CockAnimTrigger | string | Public | — | |
| 0x04 | TracerSpeed | float | Public | — | |
| 0x0154 | 0x04 | padding / unreflected | |||
| 0x08 | onFire | UnityEvent | Public | — | |
| 0x08 | onReloadStart | UnityEvent | Public | — | |
| 0x08 | onReloadIndividual | UnityEvent | Public | — | |
| 0x08 | onReloadEnd | UnityEvent | Public | — | |
| 0x08 | onCockStart | UnityEvent | Public | — | |
| 0x08 | weaponItem | IntegerItemInstance | 1 flags | — | |
| 0x01 | aimStarted | bool | Private | — | |
| 0x0189 | 0x03 | padding / unreflected | |||
| 0x04 | aimVelocity | float | Private | — | |
| 0x08 | reloadRoutine | Coroutine | Private | — | |
| 0x01 | shotQueued | bool | Private | — | |
| 0x01 | reloadQueued | bool | Private | — | |
| 0x019A | 0x02 | padding / unreflected | |||
| 0x04 | timeSincePrimaryClick | float | Private | — | |
| 0x04 | timeSinceReloadStart | float | Private | — | |
| 0x04 | timeSinceAimStart | float | Private | — | |
| 0x01 | interruptReload | bool | Private | — | |
| 0x01A9 | 0x07 | unreflected bytes to end of Equippable_RangedWeapon | |||
Inherited from Equippable_AvatarViewmodel 6
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | AnimatorController | RuntimeAnimatorController | Public | — | |
| 0x0C | ViewmodelAvatarOffset | Vector3 | Public | — | |
| 0x0C | ViewmodelAvatarRotationOffset | Vector3 | Public | — | |
| 0x04 | EquipTime | float | Public | — | |
| 0x0084 | 0x04 | padding / unreflected | |||
| 0x08 | EquipTrigger | string | Public | — | |
| 0x04 | timeEquipped | float | 1 flags | — | |
Inherited from Equippable_Viewmodel 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x0C | localPosition | Vector3 | Public | — | |
| 0x0C | localEulerAngles | Vector3 | Public | — | |
| 0x0C | localScale | Vector3 | Public | — | |
| 0x0054 | 0x04 | padding / unreflected | |||
| 0x08 | AvatarEquippable | AvatarEquippable | Public | — | |
Inherited from Equippable 3
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | itemInstance | ItemInstance | 1 flags | — | |
| 0x01 | CanInteractWhenEquipped | bool | Public | — | |
| 0x01 | CanPickUpWhenEquipped | bool | Public | — |
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 |
|---|---|---|---|
| float get_Aim() | Public+1 flags | 0x04 | |
| void set_Aim(float value) | Private+1 flags | 0x04 | |
| float get_Accuracy() | Public+1 flags | 0x04 | |
| void set_Accuracy(float value) | Private+1 flags | 0x04 | |
| float get_TimeSinceFire() | Public+1 flags | 0x04 | |
| void set_TimeSinceFire(float value) | Public+1 flags | 0x04 | |
| bool get_IsReloading() | Public+1 flags | 0x01 | |
| void set_IsReloading(bool value) | Private+1 flags | 0x01 | |
| bool get_IsCocked() | Public+1 flags | 0x01 | |
| void set_IsCocked(bool value) | Private+1 flags | 0x01 | |
| bool get_IsCocking() | Public+1 flags | 0x01 | |
| void set_IsCocking(bool value) | Private+1 flags | 0x01 | |
| int get_Ammo() | Public+1 flags | 0x04 | |
| float get_fov() | Private+1 flags | 0x04 | |
| void Equip(ItemInstance item) | Public+1 flags | 0x08 | |
| void Unequip() | Public+1 flags | 0x00 | |
| void Update() | 2 flags | 0x00 | |
| void UpdateInput() | Private | 0x00 | |
| void UpdateAnim() | Private | 0x00 | |
| bool CanAim() | Private | 0x01 | |
| void Fire() | Public+2 flags | 0x00 | |
| Vector3[] GetBulletDirections() | 3 flags | 0x08 | |
| Vector3 SpreadDirection(const Vector3& direction, float maxAngle) | Static+1 flags | 0x0C | |
| void Reload() | Public+2 flags | 0x00 | |
| void NotifyIncrementalReload() | 3 flags | 0x00 | |
| bool IsReloadReady(bool ignoreTiming) | Private | 0x01 | |
| bool GetMagazine(ref StorableItemInstance& mag) | 3 flags | 0x08 | |
| bool CanFire(bool checkAmmo) | Private | 0x01 | |
| bool CanCock() | Private | 0x01 | |
| void Cock() | Private | 0x00 | |
| float GetSpreadAngle() | 1 flags | 0x04 | |
| void CheckAimingAtNPC() | Private | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 | |
| float <Fire>g__GetDamageMultiplier|84_0(Collider collider) | Private | 0x08 | |
| IEnumerator <Reload>g__ReloadRoutine|87_0() | Private | 0x08 | |
| IEnumerator <Cock>g__CockRoutine|93_0() | Private | 0x08 |