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) { } } }