LeviLamina
Loading...
Searching...
No Matches
OreUI::View Class Reference
Inheritance diagram for OreUI::View:

Public Member Functions

View & operator= (View const &)
 View (View const &)
virtual void pushCurrentScene (::OreUI::IScene &scene, ::OreUI::RouteMode routeMode)
virtual bool hasScenes () const
virtual void removeScene (::OreUI::IScene const &scene)
virtual void update (double time)
virtual void render (::ScreenContext &screenContext)
virtual void resize (uint width, uint height)
virtual void reload ()
virtual void leave ()
virtual void onSuspend ()
virtual void onResume ()
virtual void onRouteChanged (::std::optional<::OreUI::RouterLocation > const &previousLocation, ::std::optional<::OreUI::RouterLocation > const &currentLocation)
virtual::std::string_view getUrl () const
virtual::OreUI::RouteMode getRouteMode () const
virtual uint getWidth () const
virtual uint getHeight () const
virtual::OreUI::ViewState getState () const
virtual void setTextBoxState (::TextBoxStateChange const &stateChange)
virtual ::std::optional< int > calculateCaretPositionAfterMovement (::TextBoxCaretMovement movement)
virtual void onKeyboardDismissed ()
virtual void setCaretLocation (int caretLocation)
virtual void triggerEvent (::std::string const &eventName, ::std::string const &eventData)
virtual ::std::unique_ptr<::IGamefaceTextInputProxygetTextInputProxy ()
virtual void OnLoadFailed (char const *url, char const *error)
virtual void OnReadyForBindings ()
virtual void OnBindingsReleased ()
virtual::cohtml::ScreenInfo OnScreenInfoRequested ()
virtual void OnCaretRectChanged (int x, int y, uint width, uint height)
virtual void OnCursorChanged (::cohtml::CursorTypes::Cursors cursor, char const *, float const *, float const *)
virtual::cohtml::IClientSideSocket * OnCreateWebSocket (::cohtml::ISocketListener *listener, char const *url, char const **protocols, uint protocolsCount)
virtual void OnAudioStreamCreated (int id, int bitDepth, int channels, float samplingRate)
virtual void OnAudioStreamClosed (int id)
virtual void OnAudioStreamPlay (int id)
virtual void OnAudioStreamPause (int id)
virtual void OnAudioDataReceived (int id, int samples, float **pcm, int channels)
virtual void OnAudioStreamEnded (int id)
virtual void OnAudioStreamVolumeChanged (int id, float volume)
virtual void OnClipboardTextSet (char const *text, uint lengthBytes)
virtual void OnClipboardTextGet (::cohtml::IViewListener::IClipboardData *setDataObject)
virtual::OreUI::IViewTestHelper * getViewTestHelper ()
MCAPI View (::std::string url, ::std::unique_ptr<::OreUI::BedrockInputSource > bedrockInputSource, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > clientInstance, ::KeyboardManager &keyboardManager, ::std::unique_ptr<::OreUI::IFacetRegistry > facetRegistry, ::OreUI::ITelemetry &telemetry)
MCAPI void _unload ()
MCAPI void flushAudioStreams ()
MCAPI void initialize (::cohtml::View &gamefaceView, ::std::unique_ptr<::OreUI::ViewRenderer > renderer, ::std::unique_ptr<::OreUI::ViewInputHandler > inputHandler, ::OreUI::Detail::ViewContextFactory &contextFactory, ::IOptions &options)
MCAPI void * $ctor (::std::string url, ::std::unique_ptr<::OreUI::BedrockInputSource > bedrockInputSource, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > clientInstance, ::KeyboardManager &keyboardManager, ::std::unique_ptr<::OreUI::IFacetRegistry > facetRegistry, ::OreUI::ITelemetry &telemetry)
MCAPI void $dtor ()
MCAPI void $pushCurrentScene (::OreUI::IScene &scene, ::OreUI::RouteMode routeMode)
MCAPI bool $hasScenes () const
MCAPI void $removeScene (::OreUI::IScene const &scene)
MCAPI void $update (double time)
MCAPI void $render (::ScreenContext &screenContext)
MCAPI void $resize (uint width, uint height)
MCAPI void $reload ()
MCAPI void $leave ()
MCAPI void $onSuspend ()
MCAPI void $onResume ()
MCAPI void $onRouteChanged (::std::optional<::OreUI::RouterLocation > const &previousLocation, ::std::optional<::OreUI::RouterLocation > const &currentLocation)
MCAPI::std::string_view $getUrl () const
MCAPI::OreUI::RouteMode $getRouteMode () const
MCAPI uint $getWidth () const
MCAPI uint $getHeight () const
MCAPI::OreUI::ViewState $getState () const
MCAPI void $setTextBoxState (::TextBoxStateChange const &stateChange)
MCAPI ::std::optional< int > $calculateCaretPositionAfterMovement (::TextBoxCaretMovement movement)
MCAPI void $onKeyboardDismissed ()
MCAPI void $setCaretLocation (int caretLocation)
MCAPI void $triggerEvent (::std::string const &eventName, ::std::string const &eventData)
MCAPI ::std::unique_ptr<::IGamefaceTextInputProxy$getTextInputProxy ()
MCAPI void $OnLoadFailed (char const *url, char const *error)
MCAPI void $OnReadyForBindings ()
MCAPI void $OnBindingsReleased ()
MCAPI::cohtml::ScreenInfo $OnScreenInfoRequested ()
MCAPI void $OnCaretRectChanged (int x, int y, uint width, uint height)
MCAPI void $OnCursorChanged (::cohtml::CursorTypes::Cursors cursor, char const *, float const *, float const *)
MCFOLD::cohtml::IClientSideSocket * $OnCreateWebSocket (::cohtml::ISocketListener *listener, char const *url, char const **protocols, uint protocolsCount)
MCAPI void $OnAudioStreamCreated (int id, int bitDepth, int channels, float samplingRate)
MCAPI void $OnAudioStreamClosed (int id)
MCAPI void $OnAudioStreamPlay (int id)
MCAPI void $OnAudioStreamPause (int id)
MCAPI void $OnAudioDataReceived (int id, int samples, float **pcm, int channels)
MCAPI void $OnAudioStreamEnded (int id)
MCAPI void $OnAudioStreamVolumeChanged (int id, float volume)
MCAPI void $OnClipboardTextSet (char const *text, uint lengthBytes)
MCAPI void $OnClipboardTextGet (::cohtml::IViewListener::IClipboardData *setDataObject)
MCFOLD::OreUI::IViewTestHelper * $getViewTestHelper ()
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
virtual bool OnNavigateTo (char const *)
virtual::cohtml::InterceptRequestStatus OnResourceRequestIntercepted (char const *)
virtual void OnScriptContextCreated ()
virtual void OnDOMBuilt ()
virtual void OnFinishLoad (char const *)
virtual::cohtml::EventAction::Actions OnNodeTouched (::cohtml::INodeProxy const *, ::cohtml::TouchEventData const *, void *, ::cohtml::InputEventPhase::PhaseType const)
virtual::cohtml::EventAction::Actions OnNodeMouseEvent (::cohtml::INodeProxy const *, ::cohtml::MouseEventData const *, void *, ::cohtml::InputEventPhase::PhaseType const)
virtual::cohtml::EventAction::Actions OnNodeKeyEvent (::cohtml::INodeProxy const *, ::cohtml::KeyEventData const *, void *, ::cohtml::InputEventPhase::PhaseType const)
virtual void OnTextInputTypeChanged (::cohtml::TextInputControlType::ControlType)
MCAPI bool $OnNavigateTo (char const *)
MCAPI::cohtml::InterceptRequestStatus $OnResourceRequestIntercepted (char const *)
MCAPI void $OnScriptContextCreated ()
MCAPI void $OnDOMBuilt ()
MCAPI void $OnFinishLoad (char const *)
MCAPI::cohtml::EventAction::Actions $OnNodeTouched (::cohtml::INodeProxy const *, ::cohtml::TouchEventData const *, void *, ::cohtml::InputEventPhase::PhaseType const)
MCAPI::cohtml::EventAction::Actions $OnNodeMouseEvent (::cohtml::INodeProxy const *, ::cohtml::MouseEventData const *, void *, ::cohtml::InputEventPhase::PhaseType const)
MCAPI::cohtml::EventAction::Actions $OnNodeKeyEvent (::cohtml::INodeProxy const *, ::cohtml::KeyEventData const *, void *, ::cohtml::InputEventPhase::PhaseType const)
MCAPI void $OnTextInputTypeChanged (::cohtml::TextInputControlType::ControlType)

Static Public Member Functions

static MCAPI void ** $vftableForIView ()
static MCAPI void ** $vftableForIViewListener ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::cohtml::View * > mGamefaceView
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::ViewRenderer > > mRenderer
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::ViewInputHandler > > mInputHandler
::ll::TypedStorage< 8, 32, ::std::string const > mUrl
::ll::TypedStorage< 8, 24, ::std::vector<::std::reference_wrapper<::OreUI::IScene > > > mScenes
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::BedrockInputSource > > mBedrockInputSource
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > > mClientInstance
::ll::TypedStorage< 8, 8, ::KeyboardManager & > mKeyboardManager
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::FacetBinder > > mFacetBinder
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::IFacetRegistry > > mFacetRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::Detail::Binder > > mBinder
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::Detail::ViewContext > > mViewContext
::ll::TypedStorage< 8, 8, ::OreUI::ITelemetry & > mTelemetry
::ll::TypedStorage< 8, 256, ::std::optional<::OreUI::ScreenPerformanceTelemetry > > mScreenPerformanceTelemetry
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mUpdatedFacets
::ll::TypedStorage< 1, 1, ::OreUI::ViewState > mState
::ll::TypedStorage< 4, 4, ::OreUI::RouteMode > mRouteMode
::ll::TypedStorage< 8, 8, double > mLastUpdateTime
::ll::TypedStorage< 8, 8, double > mTimeStamp
::ll::TypedStorage< 8, 8, ::Option * > mScreenAnimationsOption
::ll::TypedStorage< 8, 48, ::brstd::flat_map< int, uint64, ::std::less< int >, ::std::vector< int >, ::std::vector< uint64 > > > mAudioStreams
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ pushCurrentScene()

virtual void OreUI::View::pushCurrentScene ( ::OreUI::IScene & scene,
::OreUI::RouteMode routeMode )
virtual

Implements OreUI::IView.

◆ hasScenes()

virtual bool OreUI::View::hasScenes ( ) const
virtual

Implements OreUI::IView.

◆ removeScene()

virtual void OreUI::View::removeScene ( ::OreUI::IScene const & scene)
virtual

Implements OreUI::IView.

◆ update()

virtual void OreUI::View::update ( double time)
virtual

Implements OreUI::IView.

◆ render()

virtual void OreUI::View::render ( ::ScreenContext & screenContext)
virtual

Implements OreUI::IView.

◆ resize()

virtual void OreUI::View::resize ( uint width,
uint height )
virtual

Implements OreUI::IView.

◆ reload()

virtual void OreUI::View::reload ( )
virtual

Implements OreUI::IView.

◆ leave()

virtual void OreUI::View::leave ( )
virtual

Implements OreUI::IView.

◆ onSuspend()

virtual void OreUI::View::onSuspend ( )
virtual

Implements OreUI::IView.

◆ onResume()

virtual void OreUI::View::onResume ( )
virtual

Implements OreUI::IView.

◆ onRouteChanged()

virtual void OreUI::View::onRouteChanged ( ::std::optional<::OreUI::RouterLocation > const & previousLocation,
::std::optional<::OreUI::RouterLocation > const & currentLocation )
virtual

Implements OreUI::IView.

◆ getUrl()

virtual::std::string_view OreUI::View::getUrl ( ) const
virtual

Implements OreUI::IView.

◆ getRouteMode()

virtual::OreUI::RouteMode OreUI::View::getRouteMode ( ) const
virtual

Implements OreUI::IView.

◆ getWidth()

virtual uint OreUI::View::getWidth ( ) const
virtual

Implements OreUI::IView.

◆ getHeight()

virtual uint OreUI::View::getHeight ( ) const
virtual

Implements OreUI::IView.

◆ getState()

virtual::OreUI::ViewState OreUI::View::getState ( ) const
virtual

Implements OreUI::IView.

◆ setTextBoxState()

virtual void OreUI::View::setTextBoxState ( ::TextBoxStateChange const & stateChange)
virtual

Implements OreUI::IView.

◆ calculateCaretPositionAfterMovement()

virtual ::std::optional< int > OreUI::View::calculateCaretPositionAfterMovement ( ::TextBoxCaretMovement movement)
virtual

Implements OreUI::IView.

◆ onKeyboardDismissed()

virtual void OreUI::View::onKeyboardDismissed ( )
virtual

Implements OreUI::IView.

◆ setCaretLocation()

virtual void OreUI::View::setCaretLocation ( int caretLocation)
virtual

Implements OreUI::IView.

◆ triggerEvent()

virtual void OreUI::View::triggerEvent ( ::std::string const & eventName,
::std::string const & eventData )
virtual

Implements OreUI::IView.

◆ getTextInputProxy()

virtual ::std::unique_ptr<::IGamefaceTextInputProxy > OreUI::View::getTextInputProxy ( )
virtual

Implements OreUI::IView.

◆ OnLoadFailed()

virtual void OreUI::View::OnLoadFailed ( char const * url,
char const * error )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnReadyForBindings()

virtual void OreUI::View::OnReadyForBindings ( )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnBindingsReleased()

virtual void OreUI::View::OnBindingsReleased ( )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnCaretRectChanged()

virtual void OreUI::View::OnCaretRectChanged ( int x,
int y,
uint width,
uint height )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnCursorChanged()

virtual void OreUI::View::OnCursorChanged ( ::cohtml::CursorTypes::Cursors cursor,
char const * ,
float const * ,
float const *  )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioStreamCreated()

virtual void OreUI::View::OnAudioStreamCreated ( int id,
int bitDepth,
int channels,
float samplingRate )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioStreamClosed()

virtual void OreUI::View::OnAudioStreamClosed ( int id)
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioStreamPlay()

virtual void OreUI::View::OnAudioStreamPlay ( int id)
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioStreamPause()

virtual void OreUI::View::OnAudioStreamPause ( int id)
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioDataReceived()

virtual void OreUI::View::OnAudioDataReceived ( int id,
int samples,
float ** pcm,
int channels )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioStreamEnded()

virtual void OreUI::View::OnAudioStreamEnded ( int id)
virtual

Reimplemented from cohtml::IViewListener.

◆ OnAudioStreamVolumeChanged()

virtual void OreUI::View::OnAudioStreamVolumeChanged ( int id,
float volume )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnClipboardTextSet()

virtual void OreUI::View::OnClipboardTextSet ( char const * text,
uint lengthBytes )
virtual

Reimplemented from cohtml::IViewListener.

◆ OnClipboardTextGet()

virtual void OreUI::View::OnClipboardTextGet ( ::cohtml::IViewListener::IClipboardData * setDataObject)
virtual

Reimplemented from cohtml::IViewListener.

◆ getViewTestHelper()

virtual::OreUI::IViewTestHelper * OreUI::View::getViewTestHelper ( )
virtual

Implements OreUI::IView.

◆ $vftableForIView()

MCAPI void ** OreUI::View::$vftableForIView ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForIViewListener()

MCAPI void ** OreUI::View::$vftableForIViewListener ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** OreUI::IView::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnNavigateTo()

MCAPI bool cohtml::IViewListener::$OnNavigateTo ( char const * )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnResourceRequestIntercepted()

MCAPI::cohtml::InterceptRequestStatus cohtml::IViewListener::$OnResourceRequestIntercepted ( char const * )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnScriptContextCreated()

MCAPI void cohtml::IViewListener::$OnScriptContextCreated ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnDOMBuilt()

MCAPI void cohtml::IViewListener::$OnDOMBuilt ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnFinishLoad()

MCAPI void cohtml::IViewListener::$OnFinishLoad ( char const * )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnNodeTouched()

MCAPI::cohtml::EventAction::Actions cohtml::IViewListener::$OnNodeTouched ( ::cohtml::INodeProxy const * ,
::cohtml::TouchEventData const * ,
void * ,
::cohtml::InputEventPhase::PhaseType const  )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnNodeMouseEvent()

MCAPI::cohtml::EventAction::Actions cohtml::IViewListener::$OnNodeMouseEvent ( ::cohtml::INodeProxy const * ,
::cohtml::MouseEventData const * ,
void * ,
::cohtml::InputEventPhase::PhaseType const  )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnNodeKeyEvent()

MCAPI::cohtml::EventAction::Actions cohtml::IViewListener::$OnNodeKeyEvent ( ::cohtml::INodeProxy const * ,
::cohtml::KeyEventData const * ,
void * ,
::cohtml::InputEventPhase::PhaseType const  )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $OnTextInputTypeChanged()

MCAPI void cohtml::IViewListener::$OnTextInputTypeChanged ( ::cohtml::TextInputControlType::ControlType )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files:
  • src-server/mc/client/gui/oreui/views/View.h
  • src-client/mc/client/gui/oreui/views/View.h