public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_G2H_EFT_OfferRequest tgt2 = tgt as FFTgt_G2H_EFT_OfferRequest;

            buffer.Add(tgt2.AccountType.GetGmuIdInt8());
            buffer.SetBCDValue(tgt2.PlayerAccountNumber, 5);
            buffer.SetBCDValue(tgt2.Pin, 2);
            buffer.SetBCDValue(tgt2.OfferId, 5);
        }
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_EFT_OfferRequest tgt = new FFTgt_G2H_EFT_OfferRequest();

            tgt.AccountType         = buffer[0].GetAppId <FF_GmuId_EFT_AccountTypes, FF_AppId_EFT_AccountTypes>();
            tgt.PlayerAccountNumber = FreeformHelper.GetBCDValueString(buffer, 0, 1, 5);
            tgt.Pin     = FreeformHelper.GetBCDValueString(buffer, 0, 6, 2);
            tgt.OfferId = FreeformHelper.GetBytesToBCDDouble(buffer, 8, 5);
            return(tgt);
        }
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_G2H_EFT_OfferRequest tgt = new FFTgt_G2H_EFT_OfferRequest();
     tgt.AccountType = buffer[0].GetAppId<FF_GmuId_EFT_AccountTypes, FF_AppId_EFT_AccountTypes>();
     tgt.PlayerAccountNumber = FreeformHelper.GetBCDValueString(buffer, 0, 1, 5);
     tgt.Pin = FreeformHelper.GetBCDValueString(buffer, 0, 6, 2);
     tgt.OfferId = FreeformHelper.GetBytesToBCDDouble(buffer, 8, 5);
     return tgt;
 }