OnMatchMakingRoomCreate
public MatchMakingCreateRoomEventHandler OnMatchMakingRoomCreate;
Argument
| Value | Type | Description |
|---|---|---|
| args | MatchMakingInteractionEventArgs | Room creation success/fail information |
MatchMakingInteractionEventArgs
| Value | Type | Description |
|---|---|---|
| ErrInfo | ErrorCode | Error information |
| Reason | string | Error description |
Description
This event handler is called when a waiting room is created.
In order for an event to be called, the message sending/receiving method must be called.
Example
Backend.Match.OnMatchMakingRoomCreate = (MatchMakingInteractionEventArgs args) =>
{
// TODO
};
Argument cases
When a waiting room is created successfully
ErrInfo : ErrorInfo.Success