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

Classes

struct  FFIEvents
 
struct  FFIMethods
 

Public Member Functions

delegate void CreateLobbyHandler (Result result, ref Lobby lobby)
 
delegate void UpdateLobbyHandler (Result result)
 
delegate void DeleteLobbyHandler (Result result)
 
delegate void ConnectLobbyHandler (Result result, ref Lobby lobby)
 
delegate void ConnectLobbyWithActivitySecretHandler (Result result, ref Lobby lobby)
 
delegate void DisconnectLobbyHandler (Result result)
 
delegate void UpdateMemberHandler (Result result)
 
delegate void SendLobbyMessageHandler (Result result)
 
delegate void SearchHandler (Result result)
 
delegate void ConnectVoiceHandler (Result result)
 
delegate void DisconnectVoiceHandler (Result result)
 
delegate void LobbyUpdateHandler (Int64 lobbyId)
 
delegate void LobbyDeleteHandler (Int64 lobbyId, UInt32 reason)
 
delegate void MemberConnectHandler (Int64 lobbyId, Int64 userId)
 
delegate void MemberUpdateHandler (Int64 lobbyId, Int64 userId)
 
delegate void MemberDisconnectHandler (Int64 lobbyId, Int64 userId)
 
delegate void LobbyMessageHandler (Int64 lobbyId, Int64 userId, byte[] data)
 
delegate void SpeakingHandler (Int64 lobbyId, Int64 userId, bool speaking)
 
delegate void NetworkMessageHandler (Int64 lobbyId, Int64 userId, byte channelId, byte[] data)
 
LobbyTransaction GetLobbyCreateTransaction ()
 
LobbyTransaction GetLobbyUpdateTransaction (Int64 lobbyId)
 
LobbyMemberTransaction GetMemberUpdateTransaction (Int64 lobbyId, Int64 userId)
 
void CreateLobby (LobbyTransaction transaction, CreateLobbyHandler callback)
 
void UpdateLobby (Int64 lobbyId, LobbyTransaction transaction, UpdateLobbyHandler callback)
 
void DeleteLobby (Int64 lobbyId, DeleteLobbyHandler callback)
 
void ConnectLobby (Int64 lobbyId, string secret, ConnectLobbyHandler callback)
 
void ConnectLobbyWithActivitySecret (string activitySecret, ConnectLobbyWithActivitySecretHandler callback)
 
void DisconnectLobby (Int64 lobbyId, DisconnectLobbyHandler callback)
 
Lobby GetLobby (Int64 lobbyId)
 
string GetLobbyActivitySecret (Int64 lobbyId)
 
string GetLobbyMetadataValue (Int64 lobbyId, string key)
 
string GetLobbyMetadataKey (Int64 lobbyId, Int32 index)
 
Int32 LobbyMetadataCount (Int64 lobbyId)
 
Int32 MemberCount (Int64 lobbyId)
 
Int64 GetMemberUserId (Int64 lobbyId, Int32 index)
 
User GetMemberUser (Int64 lobbyId, Int64 userId)
 
string GetMemberMetadataValue (Int64 lobbyId, Int64 userId, string key)
 
string GetMemberMetadataKey (Int64 lobbyId, Int64 userId, Int32 index)
 
Int32 MemberMetadataCount (Int64 lobbyId, Int64 userId)
 
void UpdateMember (Int64 lobbyId, Int64 userId, LobbyMemberTransaction transaction, UpdateMemberHandler callback)
 
void SendLobbyMessage (Int64 lobbyId, byte[] data, SendLobbyMessageHandler callback)
 
LobbySearchQuery GetSearchQuery ()
 
void Search (LobbySearchQuery query, SearchHandler callback)
 
Int32 LobbyCount ()
 
Int64 GetLobbyId (Int32 index)
 
void ConnectVoice (Int64 lobbyId, ConnectVoiceHandler callback)
 
void DisconnectVoice (Int64 lobbyId, DisconnectVoiceHandler callback)
 
void ConnectNetwork (Int64 lobbyId)
 
void DisconnectNetwork (Int64 lobbyId)
 
void FlushNetwork ()
 
void OpenNetworkChannel (Int64 lobbyId, byte channelId, bool reliable)
 
void SendNetworkMessage (Int64 lobbyId, Int64 userId, byte channelId, byte[] data)
 
IEnumerable< UserGetMemberUsers (Int64 lobbyID)
 
void SendLobbyMessage (Int64 lobbyID, string data, SendLobbyMessageHandler handler)
 

Properties

FFIMethods Methods [get]
 

Events

LobbyUpdateHandler OnLobbyUpdate
 
LobbyDeleteHandler OnLobbyDelete
 
MemberConnectHandler OnMemberConnect
 
MemberUpdateHandler OnMemberUpdate
 
MemberDisconnectHandler OnMemberDisconnect
 
LobbyMessageHandler OnLobbyMessage
 
SpeakingHandler OnSpeaking
 
NetworkMessageHandler OnNetworkMessage
 

Private Member Functions

void InitEvents (IntPtr eventsPtr, ref FFIEvents events)
 

Static Private Member Functions

static void CreateLobbyCallbackImpl (IntPtr ptr, Result result, ref Lobby lobby)
 
static void UpdateLobbyCallbackImpl (IntPtr ptr, Result result)
 
static void DeleteLobbyCallbackImpl (IntPtr ptr, Result result)
 
static void ConnectLobbyCallbackImpl (IntPtr ptr, Result result, ref Lobby lobby)
 
static void ConnectLobbyWithActivitySecretCallbackImpl (IntPtr ptr, Result result, ref Lobby lobby)
 
static void DisconnectLobbyCallbackImpl (IntPtr ptr, Result result)
 
static void UpdateMemberCallbackImpl (IntPtr ptr, Result result)
 
static void SendLobbyMessageCallbackImpl (IntPtr ptr, Result result)
 
static void SearchCallbackImpl (IntPtr ptr, Result result)
 
static void ConnectVoiceCallbackImpl (IntPtr ptr, Result result)
 
static void DisconnectVoiceCallbackImpl (IntPtr ptr, Result result)
 
static void OnLobbyUpdateImpl (IntPtr ptr, Int64 lobbyId)
 
static void OnLobbyDeleteImpl (IntPtr ptr, Int64 lobbyId, UInt32 reason)
 
static void OnMemberConnectImpl (IntPtr ptr, Int64 lobbyId, Int64 userId)
 
static void OnMemberUpdateImpl (IntPtr ptr, Int64 lobbyId, Int64 userId)
 
static void OnMemberDisconnectImpl (IntPtr ptr, Int64 lobbyId, Int64 userId)
 
static void OnLobbyMessageImpl (IntPtr ptr, Int64 lobbyId, Int64 userId, IntPtr dataPtr, Int32 dataLen)
 
static void OnSpeakingImpl (IntPtr ptr, Int64 lobbyId, Int64 userId, bool speaking)
 
static void OnNetworkMessageImpl (IntPtr ptr, Int64 lobbyId, Int64 userId, byte channelId, IntPtr dataPtr, Int32 dataLen)
 

Private Attributes

IntPtr MethodsPtr
 
Object MethodsStructure
 

Member Function Documentation

◆ ConnectLobby()

void Discord.LobbyManager.ConnectLobby ( Int64 lobbyId,
string secret,
ConnectLobbyHandler callback )

◆ ConnectLobbyCallbackImpl()

static void Discord.LobbyManager.ConnectLobbyCallbackImpl ( IntPtr ptr,
Result result,
ref Lobby lobby )
staticprivate

◆ ConnectLobbyHandler()

delegate void Discord.LobbyManager.ConnectLobbyHandler ( Result result,
ref Lobby lobby )

◆ ConnectLobbyWithActivitySecret()

void Discord.LobbyManager.ConnectLobbyWithActivitySecret ( string activitySecret,
ConnectLobbyWithActivitySecretHandler callback )

◆ ConnectLobbyWithActivitySecretCallbackImpl()

static void Discord.LobbyManager.ConnectLobbyWithActivitySecretCallbackImpl ( IntPtr ptr,
Result result,
ref Lobby lobby )
staticprivate

◆ ConnectLobbyWithActivitySecretHandler()

delegate void Discord.LobbyManager.ConnectLobbyWithActivitySecretHandler ( Result result,
ref Lobby lobby )

◆ ConnectNetwork()

void Discord.LobbyManager.ConnectNetwork ( Int64 lobbyId)

◆ ConnectVoice()

void Discord.LobbyManager.ConnectVoice ( Int64 lobbyId,
ConnectVoiceHandler callback )

◆ ConnectVoiceCallbackImpl()

static void Discord.LobbyManager.ConnectVoiceCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ ConnectVoiceHandler()

delegate void Discord.LobbyManager.ConnectVoiceHandler ( Result result)

◆ CreateLobby()

void Discord.LobbyManager.CreateLobby ( LobbyTransaction transaction,
CreateLobbyHandler callback )

◆ CreateLobbyCallbackImpl()

static void Discord.LobbyManager.CreateLobbyCallbackImpl ( IntPtr ptr,
Result result,
ref Lobby lobby )
staticprivate

◆ CreateLobbyHandler()

delegate void Discord.LobbyManager.CreateLobbyHandler ( Result result,
ref Lobby lobby )

◆ DeleteLobby()

void Discord.LobbyManager.DeleteLobby ( Int64 lobbyId,
DeleteLobbyHandler callback )

◆ DeleteLobbyCallbackImpl()

static void Discord.LobbyManager.DeleteLobbyCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ DeleteLobbyHandler()

delegate void Discord.LobbyManager.DeleteLobbyHandler ( Result result)

◆ DisconnectLobby()

void Discord.LobbyManager.DisconnectLobby ( Int64 lobbyId,
DisconnectLobbyHandler callback )

◆ DisconnectLobbyCallbackImpl()

static void Discord.LobbyManager.DisconnectLobbyCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ DisconnectLobbyHandler()

delegate void Discord.LobbyManager.DisconnectLobbyHandler ( Result result)

◆ DisconnectNetwork()

void Discord.LobbyManager.DisconnectNetwork ( Int64 lobbyId)

◆ DisconnectVoice()

void Discord.LobbyManager.DisconnectVoice ( Int64 lobbyId,
DisconnectVoiceHandler callback )

◆ DisconnectVoiceCallbackImpl()

static void Discord.LobbyManager.DisconnectVoiceCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ DisconnectVoiceHandler()

delegate void Discord.LobbyManager.DisconnectVoiceHandler ( Result result)

◆ FlushNetwork()

void Discord.LobbyManager.FlushNetwork ( )

◆ GetLobby()

Lobby Discord.LobbyManager.GetLobby ( Int64 lobbyId)

◆ GetLobbyActivitySecret()

string Discord.LobbyManager.GetLobbyActivitySecret ( Int64 lobbyId)

◆ GetLobbyCreateTransaction()

LobbyTransaction Discord.LobbyManager.GetLobbyCreateTransaction ( )

◆ GetLobbyId()

Int64 Discord.LobbyManager.GetLobbyId ( Int32 index)

◆ GetLobbyMetadataKey()

string Discord.LobbyManager.GetLobbyMetadataKey ( Int64 lobbyId,
Int32 index )

◆ GetLobbyMetadataValue()

string Discord.LobbyManager.GetLobbyMetadataValue ( Int64 lobbyId,
string key )

◆ GetLobbyUpdateTransaction()

LobbyTransaction Discord.LobbyManager.GetLobbyUpdateTransaction ( Int64 lobbyId)

◆ GetMemberMetadataKey()

string Discord.LobbyManager.GetMemberMetadataKey ( Int64 lobbyId,
Int64 userId,
Int32 index )

◆ GetMemberMetadataValue()

string Discord.LobbyManager.GetMemberMetadataValue ( Int64 lobbyId,
Int64 userId,
string key )

◆ GetMemberUpdateTransaction()

LobbyMemberTransaction Discord.LobbyManager.GetMemberUpdateTransaction ( Int64 lobbyId,
Int64 userId )

◆ GetMemberUser()

User Discord.LobbyManager.GetMemberUser ( Int64 lobbyId,
Int64 userId )

◆ GetMemberUserId()

Int64 Discord.LobbyManager.GetMemberUserId ( Int64 lobbyId,
Int32 index )

◆ GetMemberUsers()

IEnumerable< User > Discord.LobbyManager.GetMemberUsers ( Int64 lobbyID)

◆ GetSearchQuery()

LobbySearchQuery Discord.LobbyManager.GetSearchQuery ( )

◆ InitEvents()

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

◆ LobbyCount()

Int32 Discord.LobbyManager.LobbyCount ( )

◆ LobbyDeleteHandler()

delegate void Discord.LobbyManager.LobbyDeleteHandler ( Int64 lobbyId,
UInt32 reason )

◆ LobbyMessageHandler()

delegate void Discord.LobbyManager.LobbyMessageHandler ( Int64 lobbyId,
Int64 userId,
byte[] data )

◆ LobbyMetadataCount()

Int32 Discord.LobbyManager.LobbyMetadataCount ( Int64 lobbyId)

◆ LobbyUpdateHandler()

delegate void Discord.LobbyManager.LobbyUpdateHandler ( Int64 lobbyId)

◆ MemberConnectHandler()

delegate void Discord.LobbyManager.MemberConnectHandler ( Int64 lobbyId,
Int64 userId )

◆ MemberCount()

Int32 Discord.LobbyManager.MemberCount ( Int64 lobbyId)

◆ MemberDisconnectHandler()

delegate void Discord.LobbyManager.MemberDisconnectHandler ( Int64 lobbyId,
Int64 userId )

◆ MemberMetadataCount()

Int32 Discord.LobbyManager.MemberMetadataCount ( Int64 lobbyId,
Int64 userId )

◆ MemberUpdateHandler()

delegate void Discord.LobbyManager.MemberUpdateHandler ( Int64 lobbyId,
Int64 userId )

◆ NetworkMessageHandler()

delegate void Discord.LobbyManager.NetworkMessageHandler ( Int64 lobbyId,
Int64 userId,
byte channelId,
byte[] data )

◆ OnLobbyDeleteImpl()

static void Discord.LobbyManager.OnLobbyDeleteImpl ( IntPtr ptr,
Int64 lobbyId,
UInt32 reason )
staticprivate

◆ OnLobbyMessageImpl()

static void Discord.LobbyManager.OnLobbyMessageImpl ( IntPtr ptr,
Int64 lobbyId,
Int64 userId,
IntPtr dataPtr,
Int32 dataLen )
staticprivate

◆ OnLobbyUpdateImpl()

static void Discord.LobbyManager.OnLobbyUpdateImpl ( IntPtr ptr,
Int64 lobbyId )
staticprivate

◆ OnMemberConnectImpl()

static void Discord.LobbyManager.OnMemberConnectImpl ( IntPtr ptr,
Int64 lobbyId,
Int64 userId )
staticprivate

◆ OnMemberDisconnectImpl()

static void Discord.LobbyManager.OnMemberDisconnectImpl ( IntPtr ptr,
Int64 lobbyId,
Int64 userId )
staticprivate

◆ OnMemberUpdateImpl()

static void Discord.LobbyManager.OnMemberUpdateImpl ( IntPtr ptr,
Int64 lobbyId,
Int64 userId )
staticprivate

◆ OnNetworkMessageImpl()

static void Discord.LobbyManager.OnNetworkMessageImpl ( IntPtr ptr,
Int64 lobbyId,
Int64 userId,
byte channelId,
IntPtr dataPtr,
Int32 dataLen )
staticprivate

◆ OnSpeakingImpl()

static void Discord.LobbyManager.OnSpeakingImpl ( IntPtr ptr,
Int64 lobbyId,
Int64 userId,
bool speaking )
staticprivate

◆ OpenNetworkChannel()

void Discord.LobbyManager.OpenNetworkChannel ( Int64 lobbyId,
byte channelId,
bool reliable )

◆ Search()

void Discord.LobbyManager.Search ( LobbySearchQuery query,
SearchHandler callback )

◆ SearchCallbackImpl()

static void Discord.LobbyManager.SearchCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ SearchHandler()

delegate void Discord.LobbyManager.SearchHandler ( Result result)

◆ SendLobbyMessage() [1/2]

void Discord.LobbyManager.SendLobbyMessage ( Int64 lobbyId,
byte[] data,
SendLobbyMessageHandler callback )

◆ SendLobbyMessage() [2/2]

void Discord.LobbyManager.SendLobbyMessage ( Int64 lobbyID,
string data,
SendLobbyMessageHandler handler )

◆ SendLobbyMessageCallbackImpl()

static void Discord.LobbyManager.SendLobbyMessageCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ SendLobbyMessageHandler()

delegate void Discord.LobbyManager.SendLobbyMessageHandler ( Result result)

◆ SendNetworkMessage()

void Discord.LobbyManager.SendNetworkMessage ( Int64 lobbyId,
Int64 userId,
byte channelId,
byte[] data )

◆ SpeakingHandler()

delegate void Discord.LobbyManager.SpeakingHandler ( Int64 lobbyId,
Int64 userId,
bool speaking )

◆ UpdateLobby()

void Discord.LobbyManager.UpdateLobby ( Int64 lobbyId,
LobbyTransaction transaction,
UpdateLobbyHandler callback )

◆ UpdateLobbyCallbackImpl()

static void Discord.LobbyManager.UpdateLobbyCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ UpdateLobbyHandler()

delegate void Discord.LobbyManager.UpdateLobbyHandler ( Result result)

◆ UpdateMember()

void Discord.LobbyManager.UpdateMember ( Int64 lobbyId,
Int64 userId,
LobbyMemberTransaction transaction,
UpdateMemberHandler callback )

◆ UpdateMemberCallbackImpl()

static void Discord.LobbyManager.UpdateMemberCallbackImpl ( IntPtr ptr,
Result result )
staticprivate

◆ UpdateMemberHandler()

delegate void Discord.LobbyManager.UpdateMemberHandler ( Result result)

Member Data Documentation

◆ MethodsPtr

IntPtr Discord.LobbyManager.MethodsPtr
private

◆ MethodsStructure

Object Discord.LobbyManager.MethodsStructure
private

Property Documentation

◆ Methods

FFIMethods Discord.LobbyManager.Methods
getprivate

Event Documentation

◆ OnLobbyDelete

LobbyDeleteHandler Discord.LobbyManager.OnLobbyDelete

◆ OnLobbyMessage

LobbyMessageHandler Discord.LobbyManager.OnLobbyMessage

◆ OnLobbyUpdate

LobbyUpdateHandler Discord.LobbyManager.OnLobbyUpdate

◆ OnMemberConnect

MemberConnectHandler Discord.LobbyManager.OnMemberConnect

◆ OnMemberDisconnect

MemberDisconnectHandler Discord.LobbyManager.OnMemberDisconnect

◆ OnMemberUpdate

MemberUpdateHandler Discord.LobbyManager.OnMemberUpdate

◆ OnNetworkMessage

NetworkMessageHandler Discord.LobbyManager.OnNetworkMessage

◆ OnSpeaking

SpeakingHandler Discord.LobbyManager.OnSpeaking

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