isSameUserSendSameGift method
是否相同用户发送的相同礼物
preGift 上一个的礼物
nextGift 下一个的礼物
Implementation
bool isSameUserSendSameGift(ImGift preGift, ImGift nextGift) {
return (preGift.userId == nextGift.userId) && (preGift.giftId == nextGift.giftId);
}
是否相同用户发送的相同礼物
preGift 上一个的礼物
nextGift 下一个的礼物
bool isSameUserSendSameGift(ImGift preGift, ImGift nextGift) {
return (preGift.userId == nextGift.userId) && (preGift.giftId == nextGift.giftId);
}