示例#1
0
        public override void GetTargetData(IFreeformEntity_MsgTgt tgt, ref List <byte> buffer)
        {
            FFTgt_G2H_EFT_Phishing tgt2 = tgt as FFTgt_G2H_EFT_Phishing;

            buffer.SetBCDValue(tgt2.PlayerCardNumber, 5);
            buffer.Add(tgt2.Type);
        }
示例#2
0
 internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
 {
     FFTgt_G2H_EFT_Phishing tgt = new FFTgt_G2H_EFT_Phishing();
     tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 0, 5);
     tgt.Type = buffer[5];
     return tgt;
 }
示例#3
0
        internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer)
        {
            FFTgt_G2H_EFT_Phishing tgt = new FFTgt_G2H_EFT_Phishing();

            tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 0, 5);
            tgt.Type             = buffer[5];
            return(tgt);
        }