Ejemplo n.º 1
0
    public override IMessage OnHotelCloseConnect(ByteString msg)
    {
        CloseConnect close = new CloseConnect();

        ByteUtils.ByteStringToObject(close, msg);
        Logger.Info("CloseConnect, gameID:{0} roomID:{1}", close.GameID, close.RoomID);

        baseServer.DeleteStreamMap(close.RoomID);

        return(new CloseConnectAck()
        {
            Status = (UInt32)ErrorCode.Ok
        });
    }