Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
Discord.OverlayManager Class Reference

Classes

struct  FFIEvents
 
struct  FFIMethods
 

Public Member Functions

delegate void SetLockedHandler (Result result)
 
delegate void OpenActivityInviteHandler (Result result)
 
delegate void OpenGuildInviteHandler (Result result)
 
delegate void OpenVoiceSettingsHandler (Result result)
 
delegate void SetImeCompositionRangeCallbackHandler (Int32 from, Int32 to, ref Rect bounds)
 
delegate void SetImeSelectionBoundsCallbackHandler (Rect anchor, Rect focus, bool isAnchorFirst)
 
delegate void ToggleHandler (bool locked)
 
bool IsEnabled ()
 
bool IsLocked ()
 
void SetLocked (bool locked, SetLockedHandler callback)
 
void OpenActivityInvite (ActivityActionType type, OpenActivityInviteHandler callback)
 
void OpenGuildInvite (string code, OpenGuildInviteHandler callback)
 
void OpenVoiceSettings (OpenVoiceSettingsHandler callback)
 
void InitDrawingDxgi (IntPtr swapchain, bool useMessageForwarding)
 
void OnPresent ()
 
void ForwardMessage (IntPtr message)
 
void KeyEvent (bool down, string keyCode, KeyVariant variant)
 
void CharEvent (string character)
 
void MouseButtonEvent (byte down, Int32 clickCount, MouseButton which, Int32 x, Int32 y)
 
void MouseMotionEvent (Int32 x, Int32 y)
 
void ImeCommitText (string text)
 
void ImeSetComposition (string text, ImeUnderline underlines, Int32 from, Int32 to)
 
void ImeCancelComposition ()
 
void SetImeCompositionRangeCallback (SetImeCompositionRangeCallbackHandler callback)
 
void SetImeSelectionBoundsCallback (SetImeSelectionBoundsCallbackHandler callback)
 
bool IsPointInsideClickZone (Int32 x, Int32 y)
 

Properties

FFIMethods Methods [get]
 

Events

ToggleHandler OnToggle
 

Private Member Functions

void InitEvents (IntPtr eventsPtr, ref FFIEvents events)
 

Static Private Member Functions

static void SetLockedCallbackImpl (IntPtr ptr, Result result)
 
static void OpenActivityInviteCallbackImpl (IntPtr ptr, Result result)
 
static void OpenGuildInviteCallbackImpl (IntPtr ptr, Result result)
 
static void OpenVoiceSettingsCallbackImpl (IntPtr ptr, Result result)
 
static void SetImeCompositionRangeCallbackCallbackImpl (IntPtr ptr, Int32 from, Int32 to, ref Rect bounds)
 
static void SetImeSelectionBoundsCallbackCallbackImpl (IntPtr ptr, Rect anchor, Rect focus, bool isAnchorFirst)
 
static void OnToggleImpl (IntPtr ptr, bool locked)
 

Private Attributes

IntPtr MethodsPtr
 
Object MethodsStructure
 

Member Function Documentation

◆ CharEvent()

void Discord.OverlayManager.CharEvent ( string character)

◆ ForwardMessage()

void Discord.OverlayManager.ForwardMessage ( IntPtr message)

◆ ImeCancelComposition()

void Discord.OverlayManager.ImeCancelComposition ( )

◆ ImeCommitText()

void Discord.OverlayManager.ImeCommitText ( string text)

◆ ImeSetComposition()

void Discord.OverlayManager.ImeSetComposition ( string text,
ImeUnderline underlines,
Int32 from,
Int32 to )

◆ InitDrawingDxgi()

void Discord.OverlayManager.InitDrawingDxgi ( IntPtr swapchain,
bool useMessageForwarding )

◆ InitEvents()

void Discord.OverlayManager.InitEvents ( IntPtr eventsPtr,
ref FFIEvents events )
private

◆ IsEnabled()

bool Discord.OverlayManager.IsEnabled ( )

◆ IsLocked()

bool Discord.OverlayManager.IsLocked ( )

◆ IsPointInsideClickZone()

bool Discord.OverlayManager.IsPointInsideClickZone ( Int32 x,
Int32 y )

◆ KeyEvent()

void Discord.OverlayManager.KeyEvent ( bool down,
string keyCode,
KeyVariant variant )

◆ MouseButtonEvent()

void Discord.OverlayManager.MouseButtonEvent ( byte down,
Int32 clickCount,
MouseButton which,
Int32 x,
Int32 y )

◆ MouseMotionEvent()

void Discord.OverlayManager.MouseMotionEvent ( Int32 x,
Int32 y )

◆ OnPresent()

void Discord.OverlayManager.OnPresent ( )

◆ OnToggleImpl()

static void Discord.OverlayManager.OnToggleImpl ( IntPtr ptr,
bool locked )
staticprivate

◆ OpenActivityInvite()

void Discord.OverlayManager.OpenActivityInvite ( ActivityActionType type,
OpenActivityInviteHandler callback )

◆ OpenActivityInviteCallbackImpl()

static void Discord.OverlayManager.OpenActivityInviteCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ OpenActivityInviteHandler()

delegate void Discord.OverlayManager.OpenActivityInviteHandler ( Result result)

◆ OpenGuildInvite()

void Discord.OverlayManager.OpenGuildInvite ( string code,
OpenGuildInviteHandler callback )

◆ OpenGuildInviteCallbackImpl()

static void Discord.OverlayManager.OpenGuildInviteCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ OpenGuildInviteHandler()

delegate void Discord.OverlayManager.OpenGuildInviteHandler ( Result result)

◆ OpenVoiceSettings()

void Discord.OverlayManager.OpenVoiceSettings ( OpenVoiceSettingsHandler callback)

◆ OpenVoiceSettingsCallbackImpl()

static void Discord.OverlayManager.OpenVoiceSettingsCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ OpenVoiceSettingsHandler()

delegate void Discord.OverlayManager.OpenVoiceSettingsHandler ( Result result)

◆ SetImeCompositionRangeCallback()

void Discord.OverlayManager.SetImeCompositionRangeCallback ( SetImeCompositionRangeCallbackHandler callback)

◆ SetImeCompositionRangeCallbackCallbackImpl()

static void Discord.OverlayManager.SetImeCompositionRangeCallbackCallbackImpl ( IntPtr ptr,
Int32 from,
Int32 to,
ref Rect bounds )
staticprivate

◆ SetImeCompositionRangeCallbackHandler()

delegate void Discord.OverlayManager.SetImeCompositionRangeCallbackHandler ( Int32 from,
Int32 to,
ref Rect bounds )

◆ SetImeSelectionBoundsCallback()

void Discord.OverlayManager.SetImeSelectionBoundsCallback ( SetImeSelectionBoundsCallbackHandler callback)

◆ SetImeSelectionBoundsCallbackCallbackImpl()

static void Discord.OverlayManager.SetImeSelectionBoundsCallbackCallbackImpl ( IntPtr ptr,
Rect anchor,
Rect focus,
bool isAnchorFirst )
staticprivate

◆ SetImeSelectionBoundsCallbackHandler()

delegate void Discord.OverlayManager.SetImeSelectionBoundsCallbackHandler ( Rect anchor,
Rect focus,
bool isAnchorFirst )

◆ SetLocked()

void Discord.OverlayManager.SetLocked ( bool locked,
SetLockedHandler callback )

◆ SetLockedCallbackImpl()

static void Discord.OverlayManager.SetLockedCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ SetLockedHandler()

delegate void Discord.OverlayManager.SetLockedHandler ( Result result)

◆ ToggleHandler()

delegate void Discord.OverlayManager.ToggleHandler ( bool locked)

Member Data Documentation

◆ MethodsPtr

IntPtr Discord.OverlayManager.MethodsPtr
private

◆ MethodsStructure

Object Discord.OverlayManager.MethodsStructure
private

Property Documentation

◆ Methods

FFIMethods Discord.OverlayManager.Methods
getprivate

Event Documentation

◆ OnToggle

ToggleHandler Discord.OverlayManager.OnToggle

The documentation for this class was generated from the following file: