/// <summary>
        ///     Notifies master server, how many processes are running on a specified spawner
        /// </summary>
        public void UpdateProcessesCount(int spawnerId, int count, IClientSocket connection)
        {
            var packet = new IntPairPacket {
                A = spawnerId,
                B = count
            };

            connection.SendMessage((short)MsfOpCodes.UpdateSpawnerProcessesCount, packet);
        }
        /// <summary>
        ///     Retrieves lobby member data of user, who has connected to master server with
        ///     a specified peerId
        /// </summary>
        public void GetMemberData(int lobbyId, int peerId, LobbyMemberDataCallback callback, IClientSocket connection)
        {
            var packet = new IntPairPacket {
                A = lobbyId,
                B = peerId
            };

            connection.SendMessage((short)MsfOpCodes.GetLobbyMemberData, packet, (status, response) => {
                if (status != ResponseStatus.Success)
                {
                    callback.Invoke(null, response.AsString("Unknown error"));
                    return;
                }

                var memberData = response.Deserialize(new LobbyMemberData());
                callback.Invoke(memberData, null);
            });
        }