LEAP Documentation 40220
Documentation for the LEAP project
NetworkEventLocText.h
Go to the documentation of this file.
1#pragma once
2#include "CoreMinimal.h"
3#include "NetworkEventLocText.generated.h"
4
5#define NETWORKEVENTNAMESPACE "NetworkEvent"
6#define NETWORKEVENTLOCTEXT(k, t) const FText k##_var = NSLOCTEXT(NETWORKEVENTNAMESPACE, #k, t);
7
8UCLASS()
9class UNetworkEventLocText : public UObject
10{
11 GENERATED_BODY()
12
13 //Connection failure-related localized text
14 NETWORKEVENTLOCTEXT(SERVERFULL, "The server is at capacity.")
15 #define SERVERFULL "SERVERFULL"
16
17 NETWORKEVENTLOCTEXT(CONNECTIONTIMEOUT, "You have disconnected from the server. This may be due to a server update or a temporary issue with your network connection.")
18 #define CONNECTIONTIMEOUT "ConnectionTimeout"
19
20 NETWORKEVENTLOCTEXT(SERVERFULLSPEC, "The server is at capacity for spectators.")
21 #define SERVERFULLSPEC "SERVERFULLSPEC"
22
23 NETWORKEVENTLOCTEXT(NOSPLITSCREEN, "Does does not support splitscreen.")
24 #define NOSPLITSCREEN "NOSPLITSCREEN"
25
26 NETWORKEVENTLOCTEXT(MISSINGPASSWORD, "You must provide a password to connect to this server.")
27 #define MISSINGPASSWORD "MISSINGPASSWORD"
28
29 NETWORKEVENTLOCTEXT(INCORRECTPASSWORD, "The password provided was incorrect.")
30 #define INCORRECTPASSWORD "INCORRECTPASSWORD"
31
32 NETWORKEVENTLOCTEXT(SESSIONBANNED, "You are session banned from this server.")
33 #define SESSIONBANNED "SESSIONBANNED"
34
35 NETWORKEVENTLOCTEXT(BANNED, "You are permanently banned from this server.")
36 #define BANNED "BANNED"
37
38 //Kick-related localized text
39 NETWORKEVENTLOCTEXT(KICKFAILEDAUTH, "You were disconnected for failing to authenticate your local session.")
40 #define KICKFAILEDAUTH "KICKEDFAILEDAUTH"
41
42 NETWORKEVENTLOCTEXT(KICKIDLE, "You were disconnected for being idle for too long.")
43 #define KICKIDLE "KICKIDLE"
44
45 NETWORKEVENTLOCTEXT(KICKVOTE, "You have been votekicked from the server.")
46 #define KICKVOTE "KICKVOTE"
47
48 NETWORKEVENTLOCTEXT(KICKTEAMKILL, "You have been kicked from the server for teamkilling.")
49 #define KICKTEAMKILL "KICKTEAMKILL"
50
51 NETWORKEVENTLOCTEXT(KICKSESSIONTEAMKILL, "You have been session kicked from the server for teamkilling.")
52 #define KICKSESSIONTEAMKILL "KICKSESSIONTEAMKILL"
53
54 NETWORKEVENTLOCTEXT(KICKSESSION, "You have been session kicked from the server.")
55 #define KICKSESSION "KICKSESSION"
56
57 NETWORKEVENTLOCTEXT(LOBBYKICK, "You have been kicked from the lobby.")
58 #define LOBBYKICK "LOBBYKICK"
59
60 NETWORKEVENTLOCTEXT(KICKBANNED, "You have been banned from the server.")
61 #define KICKBANNED "KICKBANNED"
62
63 NETWORKEVENTLOCTEXT(NOTWHITELISTED, "You are not whitelisted for this server.")
64 #define NOTWHITELISTED "NOTWHITELISTED"
65
66 NETWORKEVENTLOCTEXT(SERVERRESTARTING, "You were disconnected because server is restarting.")
67 #define SERVERRESTARTING "SERVERRESTARTING"
68};
#define KICKVOTE
Definition: NetworkEventLocText.h:46
#define KICKTEAMKILL
Definition: NetworkEventLocText.h:49
#define KICKSESSION
Definition: NetworkEventLocText.h:55
#define SERVERRESTARTING
Definition: NetworkEventLocText.h:67
#define NETWORKEVENTLOCTEXT(k, t)
Definition: NetworkEventLocText.h:6
#define KICKSESSIONTEAMKILL
Definition: NetworkEventLocText.h:52
#define BANNED
Definition: NetworkEventLocText.h:36
#define INCORRECTPASSWORD
Definition: NetworkEventLocText.h:30
#define SESSIONBANNED
Definition: NetworkEventLocText.h:33
#define LOBBYKICK
Definition: NetworkEventLocText.h:58
#define CONNECTIONTIMEOUT
Definition: NetworkEventLocText.h:18
#define SERVERFULLSPEC
Definition: NetworkEventLocText.h:21
#define KICKIDLE
Definition: NetworkEventLocText.h:43
#define KICKFAILEDAUTH
Definition: NetworkEventLocText.h:40
#define NOTWHITELISTED
Definition: NetworkEventLocText.h:64
#define SERVERFULL
Definition: NetworkEventLocText.h:15
#define MISSINGPASSWORD
Definition: NetworkEventLocText.h:27
#define KICKBANNED
Definition: NetworkEventLocText.h:61
#define NOSPLITSCREEN
Definition: NetworkEventLocText.h:24
Definition: NetworkEventLocText.h:10