// -------------------------------------------------------------------------------
        // RequestSoftDeletePlayer
        // -------------------------------------------------------------------------------
        public override bool RequestSoftDeletePlayer(NetworkConnection conn, string name, int action = 1)
        {
            if (!base.RequestSoftDeletePlayer(conn, name))
            {
                return(false);
            }

            PlayerDeleteRequestMessage message = new PlayerDeleteRequestMessage
            {
                playername = name
            };

            conn.Send(message);

            return(true);
        }
        // -------------------------------------------------------------------------------
        // OnPlayerDeleteRequestMessage
        // @Client -> @Server
        // -------------------------------------------------------------------------------
        void OnPlayerDeleteRequestMessage(NetworkConnection conn, PlayerDeleteRequestMessage msg)
        {
            ServerResponseMessage message = new ServerResponseMessage
            {
                code             = successCode,
                text             = "",
                causesDisconnect = true
            };

            if (DatabaseManager.singleton.TryPlayerDeleteSoft(msg.playername, msg.username))
            {
                message.text = systemText.playerDeleteSuccess;
                eventListener.onPlayerDelete.Invoke(msg.playername);
            }
            else
            {
                message.text = systemText.playerDeleteFailure;
                message.code = errorCode;
            }

            conn.Send(message);
        }