Files
TmpMenu/src/core/data/block_join_reasons.hpp
T
Mr-X-GTA dda0daff24
Nightly Build / Check Recent Commit (push) Failing after 40s
Nightly Build / Build Nightly (push) Has been cancelled
Nightly Build / Recreate Release (push) Has been cancelled
fix: some fixes (#195)
2026-01-27 17:54:27 +01:00

137 lines
4.0 KiB
C++

#pragma once
namespace big
{
enum block_join_reason_t : int32_t
{
UNK_0 = 0,
None = 1,
UNK_2 = 2,
UNK_3 = 3,
UNK_4 = 4,
// You have already been voted out of this game session.
BeenVotedOut = 5,
UNK_6 = 6,
// Failed to join session due to incompatible assets.
IncompatibleAssets = 7,
// The session you're trying to join is currently full.
SessionFull = 8,
// The session you're trying to join is currently full of players.
SlotFull = 9,
// Please make sure all players have the latest Title Update.
NoTitleUpdate = 10,
UNK_11 = 11,
// Invites are currently disabled in the session.
InvitesDisabled = 12,
// The session you are trying to join is using a different targeting preference. You can change your preference in the Settings tab of the Pause Menu in Grand Theft Auto V. Joining a new GTA Online Session.
DifferentTargetingMode = 13,
// You are classed as a cheat and can only play with other cheats until you are forgiven.
Cheater = 14,
UNK_15 = 15,
// Incompatible downloadable content. All players must have the latest compatibility pack.
IncompatibleDLC = 16,
// You are trying to enter a Crew Members only session.
CrewOnly = 17,
// The session you are trying to join is for people who are not Bad Sports or cheaters - you are a Bad Sport.
BadSport = 18,
// The session you are trying to join is for Bad Sports only.
BadSportOnly = 19,
// The session you are trying to join is for cheaters only.
CheatersOnly = 20,
// The session you are trying to join no longer exists.
SessionNoLongerExists = 21,
// The session you are trying to join is private. You will need to be invited to join this session.
InviteOnly = 22,
// The session you are trying to join is private and friends only. You must be invited by a friend to join this session.
InviteAndFriendsOnly = 23,
// The session you are trying to join is a different build type.
DifferentBuildType = 24,
UNK_25 = 25,
// The session you are trying to join is not using the same content.
DifferentContent = 26,
// The session you are trying to join is friends only.
FriendsOnly = 27,
// Unable to join this session, your account has a bad reputation.
BadReputation = 28,
// Unable to connect to session. The session may no longer exist.
MayNotExist = 29,
// Unable to Join. The session you are trying to join is a Premium Race. Joining and accepting invites is disabled for this mode.
PremiumRace = 30
};
inline block_join_reason_t& operator++(block_join_reason_t& reason)
{
reason = static_cast<block_join_reason_t>(static_cast<int32_t>(reason) + 1);
return reason;
}
inline block_join_reason_t operator++(block_join_reason_t& reason, int32_t)
{
block_join_reason_t a = reason;
++reason;
return a;
}
inline constexpr auto block_join_reasons = std::to_array({
"", // 0
"None", // 1
"", // 2
"", // 3
"", // 4
"Been Voted Out", // 5
"", // 6
"Incompatible Assets", // 7
"Session Full", // 8
"Slot Full", // 9
"No Title Update", // 10
"", // 11
"Invites Disabled", // 12
"Different Targeting Mode", // 13
"Cheater", // 14
"", // 15
"Incompatible DLC", // 16
"Crew Only", // 17
"Bad Sport", // 18
"Bad Sports Only", // 19
"Cheaters Only", // 20
"Session No Longer Exists", // 21
"Invite Only", // 22
"Invite And Friends Only", // 23
"Different Build Type", // 24
"", // 25
"Different Content", // 26
"Friends Only", // 27
"Bad Reputation", // 28
"May Not Exist", // 29
"Premium Race" // 30
});
}