|
@@ -77,6 +77,7 @@ namespace ET.Server
|
|
|
else if(funcIndex <= 6 && funcIndex >= 1)
|
|
|
{
|
|
|
string[] GIFT = { DouyinItem.GiftId_1, DouyinItem.GiftId_10, DouyinItem.GiftId_52, DouyinItem.GiftId_99, DouyinItem.GiftId_199, DouyinItem.GiftId_520 };
|
|
|
+ int[] GiftValue = { 10, 100, 520, 990, 1990, 5200 };
|
|
|
int cnt = 1;
|
|
|
switch(funcIndex)
|
|
|
{
|
|
@@ -88,7 +89,7 @@ namespace ET.Server
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- MessageHelper.SendActor(instanceid, new R2G_LiveGift() { OpenId = randunit.OpenId, RoomId = roomId, NickName = randunit.Name, Url = randunit.Url, GiftId = GIFT[funcIndex-1], GiftNum = cnt, GiftValue = funcIndex * 80 });
|
|
|
+ MessageHelper.SendActor(instanceid, new R2G_LiveGift() { OpenId = randunit.OpenId, RoomId = roomId, NickName = randunit.Name, Url = randunit.Url, GiftId = GIFT[funcIndex-1], GiftNum = cnt, GiftValue = GiftValue[funcIndex-1] * cnt });
|
|
|
}
|
|
|
|
|
|
return;
|