class game.ui
PhotoModeStickersController
game.ui.PhotoModeStickersController
- 30 properties
- 28 functions
Extends game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
backgroundPrefabRef | NodeRef | 0x278 | |
ResetStickers | ink.EmptyCallback | 0xE0 | |
SetStickerImage | game.ui.StickerImageCallback | 0x118 | |
SetFrameImage | game.ui.StickerFrameCallback | 0x188 | |
SetBackground | game.ui.StickerBackgroundCallback | 0x1C0 | |
SetSetSelectedSticker | game.ui.StickerCallback | 0x150 | |
stickerLibraryId | CName | 0x0 | scripted |
stickersRoot | ink.WidgetReference | 0x8 | scripted |
frameRoot | ink.WidgetReference | 0x20 | scripted |
backgroundViewRoot | ink.WidgetReference | 0x38 | scripted |
stickers | WeakHandle<ink.Widget>[] | 0x50 | scripted |
frame | WeakHandle<ink.Widget> | 0x60 | scripted |
frameLogic | WeakHandle<PhotoModeFrame> | 0x70 | scripted |
currentHovered | int | 0x80 | scripted |
currentMouseDrag | int | 0x84 | scripted |
currentMouseRotate | int | 0x88 | scripted |
stickerDragStartRotation | float | 0x8C | scripted |
stickerDragStartScale | Vector2 | 0x90 | scripted |
stickerDragStartPos | Vector2 | 0x98 | scripted |
mouseDragStartPos | Vector2 | 0xA0 | scripted |
mouseDragCurrentPos | Vector2 | 0xA8 | scripted |
currentSticker | int | 0xB0 | scripted |
stickerMove | Vector2 | 0xB4 | scripted |
stickerRotation | float | 0xBC | scripted |
stickerScale | float | 0xC0 | scripted |
stickersAreaSize | Vector2 | 0xC4 | scripted |
cursorInputEnabled | bool | 0xCC | scripted |
editorEnabled | bool | 0xCD | scripted |
root | WeakHandle<ink.CanvasWidget> | 0xD0 | scripted |
isInPhotoMode | bool | 0xE0 | scripted |
Functions
void OnStickerTransformChanged(int stickerIndex, Vector2 stickerPosition, float stickerScale, float stickerRotation)RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "OnStickerTransformChanged", (PhotoModeStickersController_OnStickerTransformChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnStickerTransformChanged( game.ui.PhotoModeStickersController self, int stickerIndex, Vector2 stickerPosition, float stickerScale, float stickerRotation );void OnMouseHover(int stickerIndex)RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "OnMouseHover", (PhotoModeStickersController_OnMouseHover x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnMouseHover( game.ui.PhotoModeStickersController self, int stickerIndex );bool OnInitialize()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnInitialize", (PhotoModeStickersController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnInitialize( game.ui.PhotoModeStickersController self );void ResetState()RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "ResetState;", (PhotoModeStickersController_ResetState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_ResetState( game.ui.PhotoModeStickersController self );bool OnUninitialize()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnUninitialize", (PhotoModeStickersController_OnUninitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnUninitialize( game.ui.PhotoModeStickersController self );bool OnEnterPhotoMode()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnEnterPhotoMode", (PhotoModeStickersController_OnEnterPhotoMode x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnEnterPhotoMode( game.ui.PhotoModeStickersController self );bool OnExitPhotomode()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnExitPhotomode", (PhotoModeStickersController_OnExitPhotomode x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnExitPhotomode( game.ui.PhotoModeStickersController self );bool OnEnableStickerEditor()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnEnableStickerEditor", (PhotoModeStickersController_OnEnableStickerEditor x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnEnableStickerEditor( game.ui.PhotoModeStickersController self );bool OnDisableStickerEditor()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnDisableStickerEditor", (PhotoModeStickersController_OnDisableStickerEditor x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnDisableStickerEditor( game.ui.PhotoModeStickersController self );void ResetStickerCursorState()RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "ResetStickerCursorState;", (PhotoModeStickersController_ResetStickerCursorState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_ResetStickerCursorState( game.ui.PhotoModeStickersController self );bool OnCursorInputEnabled(bool enable)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnCursorInputEnabled", (PhotoModeStickersController_OnCursorInputEnabled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnCursorInputEnabled( game.ui.PhotoModeStickersController self, bool enable );bool OnStickersButtonRelease(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnStickersButtonRelease", (PhotoModeStickersController_OnStickersButtonRelease x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnStickersButtonRelease( game.ui.PhotoModeStickersController self, ink.PointerEvent? e );bool OnStickersButtonHold(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnStickersButtonHold", (PhotoModeStickersController_OnStickersButtonHold x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnStickersButtonHold( game.ui.PhotoModeStickersController self, ink.PointerEvent? e );bool OnStickersButtonPress(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnStickersButtonPress", (PhotoModeStickersController_OnStickersButtonPress x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnStickersButtonPress( game.ui.PhotoModeStickersController self, ink.PointerEvent? e );bool OnStickersAxisInput(ink.PointerEvent e)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnStickersAxisInput", (PhotoModeStickersController_OnStickersAxisInput x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnStickersAxisInput( game.ui.PhotoModeStickersController self, ink.PointerEvent? e );float DiffAngle(float a, float b)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "DiffAngle;FloatFloat", (PhotoModeStickersController_DiffAngle x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_DiffAngle( game.ui.PhotoModeStickersController self, float a, float b );void RotateScaleSticker(ink.Widget sticker)RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "RotateScaleSticker;inkWidget", (PhotoModeStickersController_RotateScaleSticker x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_RotateScaleSticker( game.ui.PhotoModeStickersController self, ink.Widget? sticker );bool OnForceStickerTransform(int stickerIndex, Vector2 position, float scale, float rotation)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnForceStickerTransform", (PhotoModeStickersController_OnForceStickerTransform x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnForceStickerTransform( game.ui.PhotoModeStickersController self, int stickerIndex, Vector2 position, float scale, float rotation );bool OnUpdateStickers(float timeDelta)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnUpdateStickers", (PhotoModeStickersController_OnUpdateStickers x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnUpdateStickers( game.ui.PhotoModeStickersController self, float timeDelta );bool OnSetSetSelectedSticker(int stickerIndex)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnSetSetSelectedSticker", (PhotoModeStickersController_OnSetSetSelectedSticker x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnSetSetSelectedSticker( game.ui.PhotoModeStickersController self, int stickerIndex );bool OnSetStickerImage(uint stickerIndex, red.ResourceReferenceScriptToken atlasPath, CName imagePart, int imageIndex)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnSetStickerImage", (PhotoModeStickersController_OnSetStickerImage x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnSetStickerImage( game.ui.PhotoModeStickersController self, uint stickerIndex, red.ResourceReferenceScriptToken atlasPath, CName imagePart, int imageIndex );bool OnResetStickers()RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnResetStickers", (PhotoModeStickersController_OnResetStickers x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnResetStickers( game.ui.PhotoModeStickersController self );bool OnSetFrameImage(red.ResourceReferenceScriptToken atlasPath, CName[] imageParts, CName libraryItemName, Color color, bool flipHorizontal, bool flipVertical)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnSetFrameImage", (PhotoModeStickersController_OnSetFrameImage x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnSetFrameImage( game.ui.PhotoModeStickersController self, red.ResourceReferenceScriptToken atlasPath, CName[] imageParts, CName libraryItemName, Color color, bool flipHorizontal, bool flipVertical );bool OnSetBackground(bool enabled)RTTIre.Hooks.Place( "gameuiPhotoModeStickersController", "OnSetBackground", (PhotoModeStickersController_OnSetBackground x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_OnSetBackground( game.ui.PhotoModeStickersController self, bool enabled );void AddSticker()RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "AddSticker;", (PhotoModeStickersController_AddSticker x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_AddSticker( game.ui.PhotoModeStickersController self );WeakHandle<ink.Widget> AddFrame(CName libraryItem)RTTIvoid StickerHoveredOutByMouse(WeakHandle<ink.Widget> sticker)RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "StickerHoveredOutByMouse;inkWidget", (PhotoModeStickersController_StickerHoveredOutByMouse x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_StickerHoveredOutByMouse( game.ui.PhotoModeStickersController self, WeakHandle<ink.Widget> sticker );void StickerHoveredByMouse(WeakHandle<ink.Widget> sticker)RTTIre.Hooks.PlaceVoid( "gameuiPhotoModeStickersController", "StickerHoveredByMouse;inkWidget", (PhotoModeStickersController_StickerHoveredByMouse x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PhotoModeStickersController_StickerHoveredByMouse( game.ui.PhotoModeStickersController self, WeakHandle<ink.Widget> sticker );