You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
851 B
32 lines
851 B
1 month ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using ProtoCSStruct;
|
||
|
using Sog;
|
||
|
using Sog.Log;
|
||
|
|
||
|
namespace Game
|
||
|
{
|
||
|
public static class HomeAdEvent
|
||
|
{
|
||
|
public static void OnRoleEnter(PlayerOnGame player)
|
||
|
{
|
||
|
HomeAdSvc.InitOrReset(player);
|
||
|
}
|
||
|
public static void OnNewDayStart(PlayerOnGame player, bool notifyClient)
|
||
|
{
|
||
|
HomeAdSvc.CheckLoginCount(player);
|
||
|
HomeAdSvc.SendAdInfo(player);
|
||
|
}
|
||
|
|
||
|
public static void OnNewDay(PlayerOnGame player, bool notifyClient)
|
||
|
{
|
||
|
HomeAdSvc.InitOrReset(player);
|
||
|
}
|
||
|
|
||
|
public static void OnBuySuccess(PlayerOnGame player, int itemId, uint payDiamond, uint addDiamond, uint money, bool isPlayerFirstPay, long payTime3rd, ref CSPayGoogleSuccessRes csRes)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|