Ejemplo n.º 1
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_EFT_SystemDisable tgt = new FFTgt_G2H_EFT_SystemDisable();

            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_SystemDisable tgt = new FFTgt_G2H_EFT_SystemDisable();
     tgt.ResponseType = buffer[0].GetAppId<FF_GmuId_EFT_ResponseTypes, FF_AppId_EFT_ResponseTypes>();
     return tgt;
 }
Ejemplo n.º 3
0
        public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_G2H_EFT_SystemDisable tgtSrc = tgt as FFTgt_G2H_EFT_SystemDisable;

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