implements ICursorDraggable
0x00x0138
Members 53
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | DragStarted | Action | Private | — | |
| 0x08 | DragEnded | Action | Private | — | |
| 0x04 | CurrentLocation | ItemLocation | Public | — | |
| 0x01 | IsBeingDragged | bool | Public | — | |
| 0x01 | showPickupTooltip | bool | Public | — | |
| 0x0036 | 0x02 | padding / unreflected | |||
| 0x08 | deckRef | DraggableItemDeckArea | Public | — | |
| 0x08 | surfaceRef | DragSurface | Public | — | |
| 0x08 | slotRefs | List<ItemSlot> | Public | — | |
| 0x08 | dynamicSlotTag | string | Public | — | |
| 0x08 | Col | Collider | Public | — | |
| 0x08 | OnPickedUpByPlayer | UnityEvent | Public | — | |
| 0x08 | OnReleasedByPlayer | UnityEvent | Public | — | |
| 0x08 | OnPickedUpToClipboard | UnityEvent | Public | — | |
| 0x08 | OnSlottedIntoSlot | UnityEvent<UnityEngine.GameObject> | Public | — | |
| 0x08 | OnRemovedFromSlot | UnityEvent<UnityEngine.GameObject> | Public | — | |
| 0x04 | dragAnchorMode | DragAnchorMode | Public | — | |
| 0x04 | dragLift | float | Public | — | |
| 0x01 | useSurfaceDefaultLift | bool | Public | — | |
| 0x0091 | 0x03 | padding / unreflected | |||
| 0x04 | dragFollowSpeed | float | Public | — | |
| 0x04 | pullThresholdPixels | float | Public | — | |
| 0x01 | enableStackingOffset | bool | Public | — | |
| 0x009D | 0x03 | padding / unreflected | |||
| 0x04 | stackingOffsetDonated | float | Public | — | |
| 0x04 | stackingDetectionRadius | float | Public | — | |
| 0x01 | matchSurfaceRotation | bool | Public | — | |
| 0x01 | smoothSurfaceRotation | bool | Public | — | |
| 0x00AA | 0x02 | padding / unreflected | |||
| 0x04 | surfaceRotationLerpSpeed | float | Public | — | |
| 0x01 | useSurfaceScaleMultiplier | bool | Public | — | |
| 0x01 | smoothSurfaceScale | bool | Public | — | |
| 0x00B2 | 0x02 | padding / unreflected | |||
| 0x04 | surfaceScaleTransitionDuration | float | Public | — | |
| 0x01 | enableSurfaceHandoff | bool | Public | — | |
| 0x00B9 | 0x03 | padding / unreflected | |||
| 0x04 | handoffCooldownSeconds | float | Public | — | |
| 0x04 | handoffRaycastMaxDistance | float | Public | — | |
| 0x04 | ejectSlideLift | float | Public | — | |
| 0x01 | debugDrag | bool | Public | — | |
| 0x00C9 | 0x03 | padding / unreflected | |||
| 0x0C | _baseLocalScale | Vector3 | Private | — | |
| 0x04 | StackingNormalOffset | float | Public+1 flags | — | |
| 0x01 | IsSliding | bool | Public+1 flags | — | |
| 0x00DD | 0x03 | padding / unreflected | |||
| 0x04 | _dragStackingOffset | float | Private | — | |
| 0x01 | _externallyControlled | bool | Private | — | |
| 0x00E5 | 0x03 | padding / unreflected | |||
| 0x08 | _dragCamera | Camera | Private | — | |
| 0x0C | _grabOffsetWorld | Vector3 | Private | — | |
| 0x10 | _activePlane | Plane | Private | — | |
| 0x04 | _handoffCooldownRemaining | float | Private | — | |
| 0x08 | _activeSurface | DragSurface | Private | — | |
| 0x01 | _leftDeckThisDrag | bool | Private | — | |
| 0x0119 | 0x03 | padding / unreflected | |||
| 0x08 | _lastScreenPos | Vector2 | Private | — | |
| 0x0124 | 0x04 | padding / unreflected | |||
| 0x08 | _scaleRoutine | Coroutine | Private | — | |
| 0x08 | _cachedVirtualCursor | VirtualCursor | Private | — | |
| — | 0x04 | k_DefaultEjectAxis | EjectAxis | PrivateStatic+1 flags | 1 |
| — | 0x04 | k_DefaultEjectDistance | float | PrivateStatic+1 flags | 1061997773 |
| — | 0x04 | k_DefaultEjectDistanceRandomness | float | PrivateStatic+1 flags | 1053609165 |
| — | 0x04 | k_DefaultSpreadAmount | float | PrivateStatic+1 flags | 1041865114 |
| — | 0x04 | k_DefaultEjectSlideDuration | float | PrivateStatic+1 flags | 1051931443 |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | kInstanceID_None | int | PrivateStatic+1 flags | 8 |
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+2 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 51
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_IsDragging() | PublicFinal+3 flags | 0x01 | |
| void add_DragStarted(Action value) | PublicFinal+3 flags | 0x08 | |
| void remove_DragStarted(Action value) | PublicFinal+3 flags | 0x08 | |
| void add_DragEnded(Action value) | PublicFinal+3 flags | 0x08 | |
| void remove_DragEnded(Action value) | PublicFinal+3 flags | 0x08 | |
| ItemSlot get_SlotRef() | Public+1 flags | 0x08 | |
| Vector3 get_BaseLocalScale() | Public+1 flags | 0x0C | |
| void Awake() | Private | 0x00 | |
| void OnDisable() | Private | 0x00 | |
| void SetReferences(DragSurface surface, DraggableItemDeckArea deck, ItemSlot slot) | Public | 0x08 | |
| void SetReferences(DragSurface surface, DraggableItemDeckArea deck, List<ItemSlot> slots) | Public | 0x08 | |
| void AddSlotRef(ItemSlot slot) | Public | 0x08 | |
| void RemoveSlotRef(ItemSlot slot) | Public | 0x08 | |
| void SetState(const ItemLocation& newLoc, DraggableItemDeckArea deck, DragSurface surface, ItemSlot slot) | Public | 0x08 | |
| void ResnapshotBaseScale() | Public | 0x00 | |
| void ApplySurfaceScaleForSurface(DragSurface surf, bool smooth) | Public | 0x08 | |
| void BeginDragFromManager(Camera raycastCamera, const Vector2& screenPos) | Public | 0x08 | |
| void EndDragFromManager() | Public | 0x00 | |
| void HandlePickedUpToClipboard() | Public | 0x00 | |
| void Update() | Private | 0x00 | |
| void StartDragInternal(const Vector2& pressScreenPos) | Private | 0x08 | |
| void UpdateDragPosition(const Vector2& screenPos) | Private | 0x08 | |
| void EndDragInternal() | Private | 0x00 | |
| ItemSlot FindFirstOverlappingSlot() | Private | 0x08 | |
| void TrySurfaceHandoff(const Vector2& screenPos) | Private | 0x08 | |
| void HandoffTo(DragSurface newSurface, const Vector2& screenPos) | Private | 0x08 | |
| DragSurface FindBestSurfaceUnderPointer(const Vector2& screenPos) | Private | 0x08 | |
| void PlaceOnSurface(DragSurface surf, const Vector2& screenPos, bool snap) | Private | 0x08 | |
| void CaptureGrabOffsetIfNeeded(const Plane& plane, const Vector2& screenPos) | Private | 0x10 | |
| float ComputeDragStackingOffset(DragSurface surf) | Private | 0x08 | |
| void ComputeStackingOffset(DragSurface surf) | Private | 0x08 | |
| void ApplyFinalRestingPosition(DragSurface surf) | Private | 0x08 | |
| float ResolveLift(DragSurface surf) | Private | 0x08 | |
| void ApplySurfaceRotation(DragSurface surf, bool smooth) | Private | 0x08 | |
| void ApplySurfaceScale(DragSurface surf, bool smooth) | Private | 0x08 | |
| IEnumerator LerpScaleRoutine(const Vector3& from, const Vector3& to, float duration) | Private | 0x0C | |
| void StopAllScaleCoroutines() | Private | 0x00 | |
| void LeaveDeckToSurface() | Private | 0x00 | |
| void MoveToSurface(bool slideLeft, bool positionAlreadySet) | Public | 0x01 | |
| void MoveToSurface(bool slideLeft, bool positionAlreadySet, const EjectAxis& ejectAxis, float ejectDistance, float ejectDistanceRandomness, float spreadAmount, float slideDuration) | Public | 0x04 | |
| void MoveToSurface(DragSurface overrideSurface, bool slideLeft, bool positionAlreadySet, const EjectAxis& ejectAxis, float ejectDistance, float ejectDistanceRandomness, float spreadAmount, float slideDuration) | Public | 0x08 | |
| void ResolveEjectAxes(DragSurface surf, const EjectAxis& axis, ref Vector3& ejectDir, ref Vector3& spreadDir) | PrivateStatic | 0x0C | |
| void SettleOnSurface(DragSurface surf) | Public | 0x08 | |
| void MoveToDeck(DraggableItemDeckArea targetDeck) | Public | 0x08 | |
| void MoveToSlot() | Public | 0x00 | |
| void MoveToSlot(ItemSlot targetSlot) | Public | 0x08 | |
| IEnumerator SlideCoroutine(const Vector3& target, float duration, DragSurface surf) | Private | 0x0C | |
| Vector2 GetScreenPosition() | Private | 0x08 | |
| VirtualCursor FindVirtualCursor() | Private | 0x08 | |
| float SmoothStep01(float t) | PrivateStatic | 0x04 | |
| void .ctor() | Public+1 flags | 0x00 |
Used by 43
types with a member, parameter or interface of this type<>c__DisplayClass20_0<LerpScaleRoutine>d__94<LerpToTargetRoutine>d__34<SlideCoroutine>d__105<SlideItemToSlot>d__42<SlideToClipboard>d__29Action`1ArraySortHelper`1CastHelper`1ClipboardPickUpHandlerCoffeeGroundsCanComparer`1Comparison`1DeckSpawnEntryDictionary`2DraggableItem[]DraggableItemDeckAreaDraggableItemGridAreaDraggableItemSpeedProviderDragSurfaceDynamicCursorManagerEntryEnumeratorEqualityComparer`1EspressoCupEspressoCupDrinkerEspressoCupDrinkHandlerICollection`1IComparer`1IDictionary`2IEnumerator`1IEqualityComparer`1IEquatable`1IList`1ItemSlotKeyCollectionKeyValuePair`2List`1ObjectEqualityComparer`1Predicate`1PunchcardRuntimeReadOnlyCollection`1ValueTuple`3