コード例 #1
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_H2G_TicketingEnablement_Request tgt = new FFTgt_H2G_TicketingEnablement_Request();

            tgt.Command = buffer[0].GetAppId <FF_GmuId_TicketEnablement_Request_Command, FF_AppId_TicketEnablement_Request_Command>();
            return(tgt);
        }
コード例 #2
0
        protected override IFreeformEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_TicketingEnablement_Request monTgt = request as MonTgt_H2G_TicketingEnablement_Request;
            if (monTgt == null) return null;

            FFTgt_H2G_TicketingEnablement_Request ffTgt = new FFTgt_H2G_TicketingEnablement_Request()
            {
                Command = monTgt.Command
            };
            return ffTgt;
        }
コード例 #3
0
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_H2G_TicketingEnablement_Request tgt = new FFTgt_H2G_TicketingEnablement_Request();
     tgt.Command = buffer[0].GetAppId<FF_GmuId_TicketEnablement_Request_Command, FF_AppId_TicketEnablement_Request_Command>();
     return tgt;
 }
コード例 #4
0
        public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_H2G_TicketingEnablement_Request tgt2 = tgt as FFTgt_H2G_TicketingEnablement_Request;

            buffer.SetValue(tgt2.Command.GetGmuIdInt8());
        }