Zdexby TheHolyOneZ
36,909 classes
Class

DraggableItem

: MonoBehaviour : Behaviour : Component : Object : Object
DraggableItem, Assembly-CSharp 0x0138 (312 B) inherited 0x0020 Assembly-CSharp.dll
implements ICursorDraggable
0x00x0138

Members 53

OffsetSizeNameTypeFlagsDefault
0x08DragStartedActionPrivate—
0x08DragEndedActionPrivate—
0x04CurrentLocationItemLocationPublic—
0x01IsBeingDraggedboolPublic—
0x01showPickupTooltipboolPublic—
0x00360x02padding / unreflected
0x08deckRefDraggableItemDeckAreaPublic—
0x08surfaceRefDragSurfacePublic—
0x08slotRefsList<ItemSlot>Public—
0x08dynamicSlotTagstringPublic—
0x08ColColliderPublic—
0x08OnPickedUpByPlayerUnityEventPublic—
0x08OnReleasedByPlayerUnityEventPublic—
0x08OnPickedUpToClipboardUnityEventPublic—
0x08OnSlottedIntoSlotUnityEvent<UnityEngine.GameObject>Public—
0x08OnRemovedFromSlotUnityEvent<UnityEngine.GameObject>Public—
0x04dragAnchorModeDragAnchorModePublic—
0x04dragLiftfloatPublic—
0x01useSurfaceDefaultLiftboolPublic—
0x00910x03padding / unreflected
0x04dragFollowSpeedfloatPublic—
0x04pullThresholdPixelsfloatPublic—
0x01enableStackingOffsetboolPublic—
0x009D0x03padding / unreflected
0x04stackingOffsetDonatedfloatPublic—
0x04stackingDetectionRadiusfloatPublic—
0x01matchSurfaceRotationboolPublic—
0x01smoothSurfaceRotationboolPublic—
0x00AA0x02padding / unreflected
0x04surfaceRotationLerpSpeedfloatPublic—
0x01useSurfaceScaleMultiplierboolPublic—
0x01smoothSurfaceScaleboolPublic—
0x00B20x02padding / unreflected
0x04surfaceScaleTransitionDurationfloatPublic—
0x01enableSurfaceHandoffboolPublic—
0x00B90x03padding / unreflected
0x04handoffCooldownSecondsfloatPublic—
0x04handoffRaycastMaxDistancefloatPublic—
0x04ejectSlideLiftfloatPublic—
0x01debugDragboolPublic—
0x00C90x03padding / unreflected
0x0C_baseLocalScaleVector3Private—
0x04StackingNormalOffsetfloatPublic+1 flags—
0x01IsSlidingboolPublic+1 flags—
0x00DD0x03padding / unreflected
0x04_dragStackingOffsetfloatPrivate—
0x01_externallyControlledboolPrivate—
0x00E50x03padding / unreflected
0x08_dragCameraCameraPrivate—
0x0C_grabOffsetWorldVector3Private—
0x10_activePlanePlanePrivate—
0x04_handoffCooldownRemainingfloatPrivate—
0x08_activeSurfaceDragSurfacePrivate—
0x01_leftDeckThisDragboolPrivate—
0x01190x03padding / unreflected
0x08_lastScreenPosVector2Private—
0x01240x04padding / unreflected
0x08_scaleRoutineCoroutinePrivate—
0x08_cachedVirtualCursorVirtualCursorPrivate—
—0x04k_DefaultEjectAxisEjectAxisPrivateStatic+1 flags1
—0x04k_DefaultEjectDistancefloatPrivateStatic+1 flags1061997773
—0x04k_DefaultEjectDistanceRandomnessfloatPrivateStatic+1 flags1053609165
—0x04k_DefaultSpreadAmountfloatPrivateStatic+1 flags1041865114
—0x04k_DefaultEjectSlideDurationfloatPrivateStatic+1 flags1051931443
Inherited from MonoBehaviour 1
OffsetSizeNameTypeFlagsDefault
0x08m_CancellationTokenSourceCancellationTokenSourcePrivate—
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 51

SignatureFlagsNativeParams
bool get_IsDragging()PublicFinal+3 flags0x01
void add_DragStarted(Action value)PublicFinal+3 flags0x08
void remove_DragStarted(Action value)PublicFinal+3 flags0x08
void add_DragEnded(Action value)PublicFinal+3 flags0x08
void remove_DragEnded(Action value)PublicFinal+3 flags0x08
ItemSlot get_SlotRef()Public+1 flags0x08
Vector3 get_BaseLocalScale()Public+1 flags0x0C
void Awake()Private0x00
void OnDisable()Private0x00
void SetReferences(DragSurface surface, DraggableItemDeckArea deck, ItemSlot slot)Public0x08
void SetReferences(DragSurface surface, DraggableItemDeckArea deck, List<ItemSlot> slots)Public0x08
void AddSlotRef(ItemSlot slot)Public0x08
void RemoveSlotRef(ItemSlot slot)Public0x08
void SetState(const ItemLocation& newLoc, DraggableItemDeckArea deck, DragSurface surface, ItemSlot slot)Public0x08
void ResnapshotBaseScale()Public0x00
void ApplySurfaceScaleForSurface(DragSurface surf, bool smooth)Public0x08
void BeginDragFromManager(Camera raycastCamera, const Vector2& screenPos)Public0x08
void EndDragFromManager()Public0x00
void HandlePickedUpToClipboard()Public0x00
void Update()Private0x00
void StartDragInternal(const Vector2& pressScreenPos)Private0x08
void UpdateDragPosition(const Vector2& screenPos)Private0x08
void EndDragInternal()Private0x00
ItemSlot FindFirstOverlappingSlot()Private0x08
void TrySurfaceHandoff(const Vector2& screenPos)Private0x08
void HandoffTo(DragSurface newSurface, const Vector2& screenPos)Private0x08
DragSurface FindBestSurfaceUnderPointer(const Vector2& screenPos)Private0x08
void PlaceOnSurface(DragSurface surf, const Vector2& screenPos, bool snap)Private0x08
void CaptureGrabOffsetIfNeeded(const Plane& plane, const Vector2& screenPos)Private0x10
float ComputeDragStackingOffset(DragSurface surf)Private0x08
void ComputeStackingOffset(DragSurface surf)Private0x08
void ApplyFinalRestingPosition(DragSurface surf)Private0x08
float ResolveLift(DragSurface surf)Private0x08
void ApplySurfaceRotation(DragSurface surf, bool smooth)Private0x08
void ApplySurfaceScale(DragSurface surf, bool smooth)Private0x08
IEnumerator LerpScaleRoutine(const Vector3& from, const Vector3& to, float duration)Private0x0C
void StopAllScaleCoroutines()Private0x00
void LeaveDeckToSurface()Private0x00
void MoveToSurface(bool slideLeft, bool positionAlreadySet)Public0x01
void MoveToSurface(bool slideLeft, bool positionAlreadySet, const EjectAxis& ejectAxis, float ejectDistance, float ejectDistanceRandomness, float spreadAmount, float slideDuration)Public0x04
void MoveToSurface(DragSurface overrideSurface, bool slideLeft, bool positionAlreadySet, const EjectAxis& ejectAxis, float ejectDistance, float ejectDistanceRandomness, float spreadAmount, float slideDuration)Public0x08
void ResolveEjectAxes(DragSurface surf, const EjectAxis& axis, ref Vector3& ejectDir, ref Vector3& spreadDir)PrivateStatic0x0C
void SettleOnSurface(DragSurface surf)Public0x08
void MoveToDeck(DraggableItemDeckArea targetDeck)Public0x08
void MoveToSlot()Public0x00
void MoveToSlot(ItemSlot targetSlot)Public0x08
IEnumerator SlideCoroutine(const Vector3& target, float duration, DragSurface surf)Private0x0C
Vector2 GetScreenPosition()Private0x08
VirtualCursor FindVirtualCursor()Private0x08
float SmoothStep01(float t)PrivateStatic0x04
void .ctor()Public+1 flags0x00

Used by 43

types with a member, parameter or interface of this type