Exemple #1
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_EFT_SystemEnable tgt = new FFTgt_G2H_EFT_SystemEnable();

            tgt.ResponseType = buffer[0].GetAppId <FF_GmuId_EFT_ResponseTypes, FF_AppId_EFT_ResponseTypes>();
            return(tgt);
        }
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_G2H_EFT_SystemEnable tgt = new FFTgt_G2H_EFT_SystemEnable();
     tgt.ResponseType = buffer[0].GetAppId<FF_GmuId_EFT_ResponseTypes, FF_AppId_EFT_ResponseTypes>();
     return tgt;
 }
Exemple #3
0
        public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_G2H_EFT_SystemEnable tgtSrc = tgt as FFTgt_G2H_EFT_SystemEnable;

            buffer.Add(tgtSrc.ResponseType.GetGmuIdInt8());
        }