﻿namespace Photon.Muninn
{
    public static class ErrorMessages
    {
        public const string AppIdMissing = "Application id not set";

        public const string EmptyAppId = "Empty application id";

        public const string InternalError = "Internal server error";

        public const string InvalidAppIdFormat = "Invalid application id format";

        public const string InvalidAppId = "Invalid application id";

        public const string AuthTokenMissing = "Authentication token is missing";

        public const string AuthTokenInvalid = "Invalid authentication token";

        public const string AuthTokenEncryptionInvalid = "Invalid authentication token encryption";

        public const string AuthTokenExpired = "Authentication token expired";

        public const string AuthTokenTypeNotSupported = "Authentication token type not supported";

        public const string ProtocolNotSupported = "Network protocol not supported";

        public const string EmptyUserId = "UserId is null or empty";

        public const string InvalidTypeForAuthData = "Invalid type for auth data";

        public const string OperationIsNotAllowedOnThisJoinStage = "Operation is not allowed on this join stage";

        public const string PeetNotJoinedToRoom = "Room not joined";

        public const string CacheSliceNoAviable = "Requested cache slice={0} not available.";

        public const string MaxTTLExceeded = "Can not create game with EmptyRoomTtl={0} max allowed is {1}.";

        public const string InvalidReceiverGroup = "Invalid ReceiverGroup ";

        public const string ActorNotFound = "Actor with number {0} not found.";

        public const string HttpForwardedOperationsLimitReached =
            "Limit ({0} per second) of operation with HttpForward flag are reached";

        public const string CantAddSlots = "Server can not add expected users to game";

        public const string UserAlreadyJoined =
            "Join failed: UserId '{0}' already joined the specified game (JoinMode={1}).";

        public const string GameIdDoesNotExist = "Game does not exists";

        public const string GameClosed = "Game closed";

        public const string GameFull = "Game full";

        public const string ReinitGameFailed = "Reinit game failed";

        public const string InvalidOperationCode = "Invalid operation code";

        public const string UserNotFound = "User does not exist in this game";

        public const string CanNotUseRejoinOrJoinIfPlayerExpected = "Expected users does not support JoinMode=2";

        public const string JoinFailedFoundExcludedUserId = "UserId found in excluded list";

        public const string GameAlreadyExist = "A game with the specified id already exist.";

        public const string NoMatchFound = "No match found";

        public const string LobbyNotExist = "Lobby does not exists";
        public const string CanNotCreateLobby = "Cannot create lobby";
        public const string LobbyTypesLenDoNotMatchLobbyNames = "LobbyTypes lenght does not match LobbyNames lenght";
        public const string LobbyTypesNotSet = "Lobby types not set";
        public const string FailedToGetServerInstance = "Failed to get server instance.";
        public const string LobbyNotJoined = "Lobby not joined";
        public const string UnknownOperationCode = "Unknown operation code";
        public const string NotAuthorized = "Not authorized";
        public const string Authenticating = "Already authenticating";
        public const string AlreadyAuthenticated = "Already authenticated";
        public const string RpcIsNotEnabled = "Rpc is not enabled";
        public const string RpcIsNotSetup = "Rpc Service isn't setup";
    }
}