AdAgent.ts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { BannerLocation, LevelStatus } from "./YZ_Constant";
  2. import YZ_NativeItem from "./YZ_NativeItem";
  3. const { ccclass, property } = cc._decorator;
  4. @ccclass("AdAgent")
  5. export default class AdAgent {
  6. public Init() { }
  7. public ShowBanner(location: any, args: any) { }
  8. public HideBanner(location: BannerLocation) { }
  9. public ShowInterstitial(location: BannerLocation) { }
  10. public ShowVideo(callback: Function) { }
  11. public showInteractiveAd(): void { }
  12. public ShowAppBox(isMoreGame?: boolean): void { }
  13. public HideAppBox(): void { }
  14. public showRewardInsert(): void { }
  15. public hideRewardInsert(): void { }
  16. public ShowCloseBtnBanner(location: BannerLocation, args: any) { }
  17. public ShowStatementRecomment(): any { }
  18. public getNativeAdData(args?: any): any { }
  19. public showStatementAds(data?: any): any { }
  20. public createNativeAd(params: any = null, yzItem?: YZ_NativeItem) { }
  21. public hideKyxBanner() { }
  22. public showNativeTryGameWidget(params: any = null) { }
  23. public hideNativeTryGameWidget() { }
  24. public showBlockAd(parme?: any) { }
  25. public hideBlockAd() { }
  26. public showFullScreenVideo(callback?: Function) { }
  27. public showNativeSplashView(callBack?: Function) { }
  28. public ShowSingleNativeAd(params?: any) { }
  29. public HideSingleNativeAd(params?: any) { }
  30. public showCustomAd(params?: any) { }
  31. public hideCustomAd(params?: any) { }
  32. public createCustomADBanner() { }
  33. }