MasterServerEvent return value

Hi, i’m sick to search documentation about that without find it.

Someone can tell me how can i use this code in script?Like:

if(MasterServerEvent == MasterServerEvent.RegistrationFailedGameType)
{
//do something
}

Specifically, i want use this event for manage errors, in unity documentation is only a description of that, but how can i use it?

Thanks in advance =)

Do you want OnMasterServerEvent? Keep in mind that only handles errors related to the MasterServer connection and not the actual game-network-connection