过滤 repetend = 1的礼物信息
This commit is contained in:
@@ -128,6 +128,12 @@ namespace BarrageGrab
|
|||||||
{
|
{
|
||||||
if (!CheckRoomId(e.Common.roomId)) return;
|
if (!CheckRoomId(e.Common.roomId)) return;
|
||||||
|
|
||||||
|
//判断礼物重复
|
||||||
|
if (e.repeatEnd == 1)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var enty = new GiftMsg()
|
var enty = new GiftMsg()
|
||||||
{
|
{
|
||||||
MsgId = e.Common.msgId,
|
MsgId = e.Common.msgId,
|
||||||
|
|||||||
Reference in New Issue
Block a user