public final InvitationEntity c(Parcel paramParcel) { if ((InvitationEntity.a(InvitationEntity.hI())) || (InvitationEntity.S(InvitationEntity.class.getCanonicalName()))) return super.c(paramParcel); GameEntity localGameEntity = GameEntity.KG.a(paramParcel); String str = paramParcel.readString(); long l = paramParcel.readLong(); int i = paramParcel.readInt(); ParticipantEntity localParticipantEntity = ParticipantEntity.Li.d(paramParcel); int j = paramParcel.readInt(); ArrayList localArrayList = new ArrayList(j); for (int k = 0; k < j; k++) localArrayList.add(ParticipantEntity.Li.d(paramParcel)); return new InvitationEntity( 1, localGameEntity, str, l, i, localParticipantEntity, localArrayList, -1); }
static void a(InvitationEntity invitationentity, Parcel parcel, int i) { int j = b.p(parcel); b.a(parcel, 1, invitationentity.getGame(), i, false); b.c(parcel, 1000, invitationentity.getVersionCode()); b.a(parcel, 2, invitationentity.getInvitationId(), false); b.a(parcel, 3, invitationentity.getCreationTimestamp()); b.c(parcel, 4, invitationentity.getInvitationType()); b.a(parcel, 5, invitationentity.getInviter(), i, false); b.b(parcel, 6, invitationentity.getParticipants(), false); b.c(parcel, 7, invitationentity.getVariant()); b.c(parcel, 8, invitationentity.getAvailableAutoMatchSlots()); b.D(parcel, j); }
public InvitationEntity cl(Parcel parcel) { if (InvitationEntity.b(InvitationEntity.jT()) || InvitationEntity.bw(com/google/android/gms/games/multiplayer/InvitationEntity.getCanonicalName())) { return super.cl(parcel); } GameEntity gameentity = (GameEntity)GameEntity.CREATOR.cl(parcel); String s = parcel.readString(); long l = parcel.readLong(); int j = parcel.readInt(); ParticipantEntity participantentity = (ParticipantEntity)ParticipantEntity.CREATOR.CREATOR(parcel); int k = parcel.readInt(); ArrayList arraylist = new ArrayList(k); for (int i = 0; i < k; i++) { arraylist.add(ParticipantEntity.CREATOR.CREATOR(parcel)); } return new InvitationEntity(2, gameentity, s, l, j, participantentity, arraylist, -1, 0); }