Exemplo n.º 1
0
        protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_G2H_GameInfo ffTgt = request as FFTgt_G2H_GameInfo;

            if (ffTgt != null)
            {
                MonTgt_G2H_GameInfo monTgt = new MonTgt_G2H_GameInfo()
                {
                    CurrentGameDenom    = ffTgt.CurrentGameDenomination,
                    CurrentGameID       = ffTgt.CurrentGameID,
                    CurrentGameName     = ffTgt.CurrentGameName,
                    CurrentGamePayback  = ffTgt.CurrentGamePayback,
                    GameProtocolVersion = ffTgt.GameProtocolVersion,
                    PaytableID          = ffTgt.PaytableID
                };
                return(monTgt);
            }
            return(null);
        }
Exemplo n.º 2
0
        protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_G2H_GameInfo ffTgt = request as FFTgt_G2H_GameInfo;
            if (ffTgt != null)
            {

                MonTgt_G2H_GameInfo monTgt = new MonTgt_G2H_GameInfo()
                {
                    CurrentGameDenom = ffTgt.CurrentGameDenomination,
                    CurrentGameID = ffTgt.CurrentGameID,
                    CurrentGameName = ffTgt.CurrentGameName,
                    CurrentGamePayback = ffTgt.CurrentGamePayback,
                    GameProtocolVersion = ffTgt.GameProtocolVersion,
                    PaytableID = ffTgt.PaytableID

                };
                return monTgt;
            }
            return null;
        }