ProtocolAds.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --------------------------------
  2. -- @module ProtocolAds
  3. -- @extend PluginProtocol
  4. -- @parent_module plugin
  5. --------------------------------
  6. -- brief show adview<br>
  7. -- param info The information of adview will be shown<br>
  8. -- Pay attention to the subclass definition<br>
  9. -- param pos The position where the adview be shown.
  10. -- @function [parent=#ProtocolAds] showAds
  11. -- @param self
  12. -- @param #map_table info
  13. -- @param #int pos
  14. --------------------------------
  15. -- brief Hide the adview<br>
  16. -- param info The information of adview will be hided
  17. -- @function [parent=#ProtocolAds] hideAds
  18. -- @param self
  19. -- @param #map_table info
  20. --------------------------------
  21. -- brief Query the points of player
  22. -- @function [parent=#ProtocolAds] queryPoints
  23. -- @param self
  24. --------------------------------
  25. -- brief Spend the points.<br>
  26. -- Use this method to notify server spend points.<br>
  27. -- param points Need spend number of points
  28. -- @function [parent=#ProtocolAds] spendPoints
  29. -- @param self
  30. -- @param #int points
  31. --------------------------------
  32. -- brief config the application info<br>
  33. -- param devInfo This parameter is the info of aplication,<br>
  34. -- different plugin have different format<br>
  35. -- warning Must invoke this interface before other interfaces.<br>
  36. -- And invoked only once.
  37. -- @function [parent=#ProtocolAds] configDeveloperInfo
  38. -- @param self
  39. -- @param #map_table devInfo
  40. return nil