8 #include "MetadataHelper.h"
14 extern std::wstring myLobby;
20 std::wcout << L
"- Success" << std::endl;
22 std::wcout << L
"- failed, code = " << error.
result << std::endl;
29 std::wcout << L
"- Disconnect code = " << code << std::endl;
36 std::wcout << L
"- Success" << std::endl;
38 std::wcout << L
"- failed, code = " << error.
result << std::endl;
41 std::wcout << L
"- Create Lobby = " << createLobby.
lobby << std::endl;
48 std::wcout << L
"- Success" << std::endl;
50 std::wcout << L
"- failed, code = " << error.
result << std::endl;
53 std::wcout << L
"- Join Lobby = " << joinLobby.
lobby << std::endl;
54 std::wcout <<
"== config ==";
56 for (
auto pair : config)
58 std::wcout << pair.first <<
" : " << pair.second << std::endl;
61 myLobby = joinLobby.
lobby;
67 std::wcout << L
"update lobby = " << updateLobbyData.
lobby
70 std::wcout <<
"== config ==";
72 for (
auto pair : config)
74 std::wcout << pair.first <<
" : " << pair.second << std::endl;
81 std::wcout << L
"- Leave Lobby = " << leaveLobby.
lobby << std::endl;
84 std::wcout << L
"leave lobby code = " << error.
result << std::endl;
91 std::wcout << L
"user join lobby = " << userJoin.
lobby
92 << L
"UID = " << userJoin.
UID
93 << L
"nickname = " << userJoin.
nickname
97 std::wcout <<
"== user data ==";
99 for (
auto pair : config)
101 std::wcout << pair.first <<
" : " << pair.second << std::endl;
108 std::wcout << L
"update user lobby = " << updateLobbyUser.
lobby
109 << L
"UID = " << updateLobbyUser.
UID
110 << L
"nickname = " << updateLobbyUser.
nickname
111 << L
"affiliation = " << updateLobbyUser.
affiliation
114 std::wcout <<
"== user data ==";
116 for (
auto pair : config)
118 std::wcout << pair.first <<
" : " << pair.second << std::endl;
125 std::wcout << L
"user leave lobby = " << userLeave.
lobby
126 << L
"UID = " << userLeave.
UID
127 << L
"nickname = " << userLeave.
nickname
128 << L
"leave code = " << error.
result
int lobbyDataCount
Number of lobby metadata arrays
Definition: StovePCMatchmakingCallback.h:225
unsigned __int64 UID
ID
Definition: StovePCMatchmakingCallback.h:133
const wchar_t * nickname
User Nickname
Definition: StovePCMatchmakingCallback.h:136
int lobbyDataCount
Number of lobby metadata arrays
Definition: StovePCMatchmakingCallback.h:120
const wchar_t * lobby
Lobby Name
Definition: StovePCMatchmakingCallback.h:175
StovePCMatchmakingResult result
콜Resulting response to a hundred
Definition: StovePCMatchmakingCallback.h:26
int userDataCount
Number of user data arrays
Definition: StovePCMatchmakingCallback.h:206
const StovePCMatchmakingMetadata * lobbyDataArray
Lobby metadata array pointer (ex. StovePCMatchmakingMetadata [] array)
Definition: StovePCMatchmakingCallback.h:117
StovePCMatchmakingCallback 헤더파일
StovePCMatchmakingAffiliation affiliation
Ratings in the lobby
Definition: StovePCMatchmakingCallback.h:200
StovePCMatchmakingDisconnectCode
Connection termination response value
Definition: StovePCMatchmakingDefine.h:252
로비 메타 데이터가 업데이트될시 응답값입니다.
Definition: StovePCMatchmakingCallback.h:216
Normal
Definition: StovePCMatchmakingDefine.h:18
unsigned __int64 UID
ID
Definition: StovePCMatchmakingCallback.h:194
const wchar_t * lobby
Lobby Name
Definition: StovePCMatchmakingCallback.h:191
로비를 만든 후 응답 값입니다. 로비 생성을 알립니다.
Definition: StovePCMatchmakingCallback.h:92
StovePCMatchmakingAffiliation affiliation
Ratings in the lobby
Definition: StovePCMatchmakingCallback.h:139
const wchar_t * nickname
User Nickname
Definition: StovePCMatchmakingCallback.h:197
const wchar_t * lobby
Name of the lobby you entered
Definition: StovePCMatchmakingCallback.h:108
const wchar_t * lobby
Lobby Name
Definition: StovePCMatchmakingCallback.h:219
const StovePCMatchmakingMetadata * userDataArray
로비 내 해당 유저의 메타 데이터 배열 포인터 (ex. StovePCMatchmakingMetadata [] array) ...
Definition: StovePCMatchmakingCallback.h:203
const wchar_t * nickname
User Nickname
Definition: StovePCMatchmakingCallback.h:181
로비 참여 유저에 대한 응답값입니다. 로비에 유저가 입장시 호출됩니다.
Definition: StovePCMatchmakingCallback.h:127
unsigned __int64 UID
Exit user ID
Definition: StovePCMatchmakingCallback.h:178
StovePCMatchmakingDefine 헤더파일
const wchar_t * lobby
Name of the created lobby
Definition: StovePCMatchmakingCallback.h:95
const wchar_t * lobby
Lobby Name
Definition: StovePCMatchmakingCallback.h:155
int userDataCount
Number of user data arrays
Definition: StovePCMatchmakingCallback.h:145
const StovePCMatchmakingMetadata * userDataArray
Pointer to the metadata array for that user in the lobby (ex. StovePCMatchmakingMetadata [] array) ...
Definition: StovePCMatchmakingCallback.h:142
The updated response value of the lobby user. Called when user information or user data changes in the lobby.
Definition: StovePCMatchmakingCallback.h:188
The response to leaving the lobby. Called when the user exits the lobby.
Definition: StovePCMatchmakingCallback.h:152
Response to a user leaving the lobby. Called when a user exits the lobby.
Definition: StovePCMatchmakingCallback.h:172
The response value for the lobby position. Notifies the lobby position.
Definition: StovePCMatchmakingCallback.h:102
The structure passed to the callback when it is called.
Definition: StovePCMatchmakingCallback.h:20
const StovePCMatchmakingMetadata * lobbyDataArray
로비 메타 데이터 배열 포인터 (ex. StovePCMatchmakingMetadata [] array)
Definition: StovePCMatchmakingCallback.h:222
const wchar_t * lobby
Lobby Name
Definition: StovePCMatchmakingCallback.h:130