OnMatchMakingRoomJoin
public MatchMakingJoinUserInRoomEventHandler OnMatchMakingRoomJoin;
Argument
| Value | Type | Description |
|---|---|---|
| args | MatchMakingGamerInfoInRoomEventArgs | Information on the user that entered the waiting room |
args type names
| Value | Type | Description |
|---|---|---|
| ErrInfo | ErrorCode | Error information |
| Reason | string | Error description |
| UserInfo | MatchMakingUserInfo | Information on the user that entered the waiting room |
Description
This event is called when a user enters the waiting room.
- It is called to every user in the waiting room whenever a user enters.
- It is also called to users who already entered.
- It is not called when the waiting room is created.
In order for an event to be called, the message sending/receiving method must be called.
Example
Backend.Match.OnMatchMakingRoomJoin = (MatchMakingGamerInfoInRoomEventArgs args) => {
// TODO
};
Argument cases
When a user enters the waiting room
ErrInfo : ErrorCode.Success
UserInfos : information on the user that entered the waiting room