internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_EFT_OfferListRequest tgt = new FFTgt_G2H_EFT_OfferListRequest(); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 0, 5); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_B2B_EFT_SC_SerailNumber tgt = new FFTgt_B2B_EFT_SC_SerailNumber(); tgt.EGMAssetNumber = FreeformHelper.GetBytesToNumberInt32(buffer, 0, 4); tgt.CashlessAccountNumberLength = buffer[4]; tgt.CashlessAccountNumber = FreeformHelper.GetBCDValueString(buffer, 0, 5, 40); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_WithdrawalAcknowledgement tgt = new FFTgt_H2G_EFT_WithdrawalAcknowledgement(); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 0, 5); tgt.PlayerFlags.BytesValue = FreeformHelper.GetRange(buffer, 5, 3); tgt.DisplayMessageLength = FreeformHelper.GetBytesToBCDUInt8(buffer, 8, 1); tgt.DisplayMessage = FreeformHelper.GetBCDValueString(buffer, 0, 9, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_EFT_WithdrawalRequest tgt = new FFTgt_G2H_EFT_WithdrawalRequest(); tgt.AccountType = buffer[0].GetAppId <FF_GmuId_EFT_AccountTypes, FF_AppId_EFT_AccountTypes>(); tgt.AmountRequested = FreeformHelper.GetBytesToBCDDouble(buffer, 1, 4); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 5, 5); tgt.Pin = FreeformHelper.GetBCDValueString(buffer, 0, 10, 2); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_EFT_WithdrawalComplete tgt = new FFTgt_G2H_EFT_WithdrawalComplete(); tgt.NonCashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 0, 4); tgt.CashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 4, 4); tgt.ErrorCode = buffer[8]; tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 9, 5); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_PIN_ChangeResponse tgt = new FFTgt_H2G_EFT_PIN_ChangeResponse(); tgt.ErrorCode = buffer[0]; tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 1, 5); tgt.DisplayMessageLength = FreeformHelper.GetBytesToNumberInt32(buffer, 6, 1); tgt.DisplayMessage = FreeformHelper.GetBCDValueString(buffer, 0, 7, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, byte[] buffer) { FFTgt_H2G_AD_Amount_Request tgt = new FFTgt_H2G_EFT_WithdrawalAuthorization(); tgt.ErrorCode = buffer[0]; tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 1, 5); tgt.DisplayMessageLength = FreeformHelper.GetBytesToNumberInt32(buffer, 6, 1); tgt.DisplayMessage = FreeformHelper.GetBCDValueString(buffer, 0, 7, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, byte[] buffer) { FFTgt_G2H_AD_Amount_Request tgt = new FFTgt_G2H_AD_Amount_Request(); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 0, 5); tgt.Status = (FF_GmuId_EFT_AutoDownload_Status)buffer[5]; tgt.AccountType = (FF_GmuId_EFT_AutoDownload_TopUp_AccountTypes)buffer[6]; tgt.AutoDownloadAmount = FreeformHelper.GetBCDValue <double>(buffer, 0, 7, 4); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_EFT_DepositRequest tgt = new FFTgt_G2H_EFT_DepositRequest(); tgt.NonCashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 0, 4); tgt.CashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 4, 4); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 8, 5); tgt.Pin = FreeformHelper.GetBCDValueString(buffer, 0, 13, 2); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_GMUEvent_CouponData tgt = new FFTgt_G2H_GMUEvent_CouponData(); tgt.CashlessTransactionType = buffer[0]; tgt.CreditMeterLimit = FreeformHelper.GetBCDValue <short>(buffer, 1, 2); tgt.CreditMeterBalance = FreeformHelper.GetBCDValue <short>(buffer, 3, 2); tgt.CouponSerialNumber = FreeformHelper.GetBCDValueString(buffer, 0, 5, 8); tgt.GameDoninationCode = FreeformHelper.GetBytesToNumberUInt8(buffer, 13, 1);; return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_PinCheckReply tgt = new FFTgt_H2G_EFT_PinCheckReply(); tgt.ErrorCode = buffer[0]; tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 1, 5); tgt.PlayerFlags.BytesValue = FreeformHelper.GetRange(buffer, 5, 3); tgt.DisplayMessageLength = FreeformHelper.GetBytesToNumberUInt8(buffer, 8, 1); tgt.DisplayMessage = FreeformHelper.GetBCDValueString(buffer, 0, 9, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_B2B_EFT_SC_VerifyBalance tgt = new FFTgt_B2B_EFT_SC_VerifyBalance(); tgt.EGMAssetNumber = FreeformHelper.GetBytesToNumberInt32(buffer, 0, 4); tgt.Status = buffer[4].GetAppId <FF_GmuId_EFT_BalanceVerify_Status, FF_AppId_EFT_BalanceVerify_Status>(); tgt.PlayerAccountNumber = FreeformHelper.GetBCDValueString(buffer, 0, 5, 40); tgt.Balance1 = FreeformHelper.GetBytesToNumberDouble(buffer, 45, 4); tgt.Balance2 = FreeformHelper.GetBytesToNumberDouble(buffer, 49, 4); tgt.Balance3 = FreeformHelper.GetBytesToNumberDouble(buffer, 53, 4); tgt.Balance4 = FreeformHelper.GetBytesToNumberDouble(buffer, 57, 4); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_EmployeeAccountNumber_Response tgt = new FFTgt_H2G_EFT_EmployeeAccountNumber_Response(); tgt.EGMAssetNumber = FreeformHelper.GetBytesToNumberInt32(buffer, 0, 4); tgt.CashlessAccountNumberLength = buffer[4]; tgt.CashlessAccountNumber = FreeformHelper.GetBCDValueString(buffer, 0, 5, 40); tgt.ResponseStatus = buffer[45]; tgt.PINCheck = buffer[46].GetAppId <FF_GmuId_EFT_PINCheck, FF_AppId_EFT_PINCheck>();; tgt.ErrorTextLength = FreeformHelper.GetBytesToNumberUInt8(buffer, 67, 1); tgt.ErrorText = FreeformHelper.GetASCIIStringValue(buffer, 68, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_WithdrawalAuthorization tgt = new FFTgt_H2G_EFT_WithdrawalAuthorization(); tgt.NonCashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 0, 4); tgt.CashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 4, 4); tgt.ErrorCode = buffer[8]; tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 9, 5); tgt.PlayerFlags.BytesValue = FreeformHelper.GetRange(buffer, 14, 3); tgt.DisplayMessageLength = FreeformHelper.GetBytesToBCDUInt8(buffer, 17, 1); tgt.DisplayMessage = FreeformHelper.GetASCIIStringValue(buffer, 18, tgt.DisplayMessageLength); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_SC_Transaction_Update tgt = new FFTgt_G2H_SC_Transaction_Update(); tgt.EGMAssetNumber = FreeformHelper.GetBytesToNumberInt32(buffer, 0, 4); tgt.Status = buffer[4].GetAppId <FF_GmuId_EFT_SC_Tranaction_Update_Status, FF_AppId_EFT_SC_Tranaction_Update_Status>(); tgt.AccountType = buffer[5].GetAppId <FF_GmuId_EFT_SC_Tranaction_Update_AccTypes, FF_AppId_EFT_SC_Tranaction_Update_AccTypes>(); tgt.TransactionAmount = FreeformHelper.GetBytesToNumberDouble(buffer, 5, 4); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 9, 5); tgt.TransTimestamp = FreeformHelper.GetBytesToNumberTimeSpan(buffer, 13, 2); tgt.TransactionID = buffer[18]; return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_WithdrawalAuthorization2 tgt = new FFTgt_H2G_EFT_WithdrawalAuthorization2(); tgt.AccountType = (FF_AppId_EFT_AccountTypes)buffer[0]; tgt.NonCashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 1, 4); tgt.CashableAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 5, 4); tgt.NonCashableBalanceAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 9, 4); tgt.CashableBalanceAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 13, 4); tgt.ErrorCode = buffer[17]; tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 18, 5); tgt.PlayerFlags.BytesValue = FreeformHelper.GetRange(buffer, 23, 3); tgt.DisplayMessageLength = FreeformHelper.GetBytesToBCDUInt8(buffer, 26, 1); tgt.DisplayMessage = FreeformHelper.GetBCDValueString(buffer, 0, 27, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_CashlessAccVerify tgt = new FFTgt_H2G_EFT_CashlessAccVerify(); tgt.EGMAssetNumber = FreeformHelper.GetBytesToNumberInt32(buffer, 0, 4); tgt.CashlessAccountNumberLength = buffer[4]; tgt.CashlessAccountNumber = FreeformHelper.GetASCIIStringValue(buffer, 5, 40); tgt.ResponseStatus = buffer[45]; tgt.PlayerAccountNumber = FreeformHelper.GetBCDValueString(buffer, 0, 46, 5); tgt.PINCheck = buffer[51]; tgt.AutoDownloadTopUPStatusFlag = buffer[52].GetAppId <FF_GmuId_EFT_AutoDownload_TopUp_StatusFlags, FF_AppId_EFT_AutoDownload_TopUp_StatusFlags>(); tgt.AutoDownloadAccountType = buffer[53].GetAppId <FF_GmuId_EFT_AutoDownload_TopUp_AccountTypes, FF_AppId_EFT_AutoDownload_TopUp_AccountTypes>(); tgt.AutoDownloadAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 54, 4); tgt.AutoTopUpAccountType = buffer[58].GetAppId <FF_GmuId_EFT_AutoDownload_TopUp_AccountTypes, FF_AppId_EFT_AutoDownload_TopUp_AccountTypes>(); tgt.AutoTopUpMaxAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 59, 4); tgt.AutoTopUpTrigger = FreeformHelper.GetBytesToBCDDouble(buffer, 63, 4); tgt.ErrorTextLength = FreeformHelper.GetBytesToNumberUInt8(buffer, 67, 1); tgt.ErrorText = FreeformHelper.GetASCIIStringValue(buffer, 68, 128); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_H2G_EFT_OfferList tgt = new FFTgt_H2G_EFT_OfferList(); tgt.PlayerCardNumber = FreeformHelper.GetBCDValueString(buffer, 0, 0, 5); tgt.Pin = FreeformHelper.GetBCDValueString(buffer, 0, 5, 2); tgt.NonCashableBalance = FreeformHelper.GetBytesToBCDDouble(buffer, 7, 5); tgt.CashableBalance = FreeformHelper.GetBytesToBCDDouble(buffer, 12, 5); tgt.OfferId1 = FreeformHelper.GetBytesToBCDDouble(buffer, 17, 5); tgt.OfferId2 = FreeformHelper.GetBytesToBCDDouble(buffer, 22, 5); tgt.OfferId3 = FreeformHelper.GetBytesToBCDDouble(buffer, 27, 5); tgt.OfferId4 = FreeformHelper.GetBytesToBCDDouble(buffer, 32, 5); tgt.OfferId5 = FreeformHelper.GetBytesToBCDDouble(buffer, 37, 5); tgt.OfferId6 = FreeformHelper.GetBytesToBCDDouble(buffer, 42, 5); tgt.OfferId7 = FreeformHelper.GetBytesToBCDDouble(buffer, 47, 5); tgt.OfferId8 = FreeformHelper.GetBytesToBCDDouble(buffer, 52, 5); tgt.OfferId9 = FreeformHelper.GetBytesToBCDDouble(buffer, 57, 5); tgt.OfferId10 = FreeformHelper.GetBytesToBCDDouble(buffer, 62, 5); return(tgt); }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { FFTgt_G2H_GMUEvent_StdData tgt = new FFTgt_G2H_GMUEvent_StdData(); tgt.ExceptionCode = buffer[0].GetAppId <FF_GmuId_GMUEvent_XCodes, FF_AppId_GMUEvent_XCodes>(); tgt.JackpotID = buffer[1].GetAppId <FF_GmuId_GMUEvent_JackpotIDs, FF_AppId_GMUEvent_JackpotIDs>(); tgt.EmployeeCardID = FreeformHelper.GetHexStringValue(buffer, 2, 2); tgt.LastBet = FreeformHelper.GetBCDValue <short>(buffer, 4, 2); tgt.DoorStatus = FreeformHelper.GetBytesToNumberUInt8(buffer, 6, 1); tgt.OptionByte = FreeformHelper.GetBytesToNumberUInt8(buffer, 7, 1); tgt.JackpotAmount = FreeformHelper.GetBytesToBCDDouble(buffer, 8, 6); tgt.PlayerCard = FreeformHelper.GetBCDValueString(buffer, 0, 14, 5); tgt.BonusPoints = FreeformHelper.GetBCDValue <short>(buffer, 19, 2); tgt.LastBill = FreeformHelper.GetBytesToNumberUInt8(buffer, 21, 1); tgt.SMICode = FreeformHelper.GetASCIIStringValueTrim(buffer, 22, 8); tgt.GameDenomination = FreeformHelper.GetBCDValue <int>(buffer, 30, 4); tgt.CasinoID = FreeformHelper.GetASCIIStringValueTrim(buffer, 34, 3); tgt.BonusCountdown = FreeformHelper.GetBCDValue <short>(buffer, 37, 2); tgt.BonusPoints = FreeformHelper.GetBCDValue <short>(buffer, 39, 2); return(tgt); }