BlackICE Scripting

class game.ui

PhotoModeStickersController

game.ui.PhotoModeStickersController

  • 30 properties
  • 28 functions

Extends game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable

Properties

PropertyTypeOffset
backgroundPrefabRefNodeRef0x278
ResetStickersink.EmptyCallback0xE0
SetStickerImagegame.ui.StickerImageCallback0x118
SetFrameImagegame.ui.StickerFrameCallback0x188
SetBackgroundgame.ui.StickerBackgroundCallback0x1C0
SetSetSelectedStickergame.ui.StickerCallback0x150
stickerLibraryIdCName0x0 scripted
stickersRootink.WidgetReference0x8 scripted
frameRootink.WidgetReference0x20 scripted
backgroundViewRootink.WidgetReference0x38 scripted
stickersWeakHandle<ink.Widget>[]0x50 scripted
frameWeakHandle<ink.Widget>0x60 scripted
frameLogicWeakHandle<PhotoModeFrame>0x70 scripted
currentHoveredint0x80 scripted
currentMouseDragint0x84 scripted
currentMouseRotateint0x88 scripted
stickerDragStartRotationfloat0x8C scripted
stickerDragStartScaleVector20x90 scripted
stickerDragStartPosVector20x98 scripted
mouseDragStartPosVector20xA0 scripted
mouseDragCurrentPosVector20xA8 scripted
currentStickerint0xB0 scripted
stickerMoveVector20xB4 scripted
stickerRotationfloat0xBC scripted
stickerScalefloat0xC0 scripted
stickersAreaSizeVector20xC4 scripted
cursorInputEnabledbool0xCC scripted
editorEnabledbool0xCD scripted
rootWeakHandle<ink.CanvasWidget>0xD0 scripted
isInPhotoModebool0xE0 scripted

Functions

  • void OnStickerTransformChanged(int stickerIndex, Vector2 stickerPosition, float stickerScale, float stickerRotation) RTTI
  • void OnMouseHover(int stickerIndex) RTTI
  • bool OnInitialize() RTTI
  • void ResetState() RTTI
  • bool OnUninitialize() RTTI
  • bool OnEnterPhotoMode() RTTI
  • bool OnExitPhotomode() RTTI
  • bool OnEnableStickerEditor() RTTI
  • bool OnDisableStickerEditor() RTTI
  • void ResetStickerCursorState() RTTI
  • bool OnCursorInputEnabled(bool enable) RTTI
  • bool OnStickersButtonRelease(ink.PointerEvent e) RTTI
  • bool OnStickersButtonHold(ink.PointerEvent e) RTTI
  • bool OnStickersButtonPress(ink.PointerEvent e) RTTI
  • bool OnStickersAxisInput(ink.PointerEvent e) RTTI
  • float DiffAngle(float a, float b) RTTI
  • void RotateScaleSticker(ink.Widget sticker) RTTI
  • bool OnForceStickerTransform(int stickerIndex, Vector2 position, float scale, float rotation) RTTI
  • bool OnUpdateStickers(float timeDelta) RTTI
  • bool OnSetSetSelectedSticker(int stickerIndex) RTTI
  • bool OnSetStickerImage(uint stickerIndex, red.ResourceReferenceScriptToken atlasPath, CName imagePart, int imageIndex) RTTI
  • bool OnResetStickers() RTTI
  • bool OnSetFrameImage(red.ResourceReferenceScriptToken atlasPath, CName[] imageParts, CName libraryItemName, Color color, bool flipHorizontal, bool flipVertical) RTTI
  • bool OnSetBackground(bool enabled) RTTI
  • void AddSticker() RTTI
  • WeakHandle<ink.Widget> AddFrame(CName libraryItem) RTTI
  • void StickerHoveredOutByMouse(WeakHandle<ink.Widget> sticker) RTTI
  • void StickerHoveredByMouse(WeakHandle<ink.Widget> sticker) RTTI