DeepLinkFailureController
A static class in Root.Township, the global namespace.
Client: when a server join fails, shows an error popup and sends a fail analytics event. Used by JoinedServerGameMode and OculusDeepLinkService.
- Listed in Global namespace: C to D
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
static void DisplayErrorMessageForJoinResult(JoinResult joinResult) | Maps the join result to a message and reason, sends the fail event with the Oculus server ID, and shows the popup. |
2 private and internal methods
| Member | What it is |
|---|---|
private static string DisplayDefaultOrSpecificMessage(JoinResult clientJoinResult) | Returns the join result's error message, or a generic try-again message if it has none. |
private static void GetFailReasonAndMessage(JoinResult joinResult, out string message, out DeeplinkEventFailReason failReason) | Picks the message and fail reason for bans, wrong version and private servers; anything else counts as other error. |