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); }
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; }
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; }
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()); }