mobile

package
v0.0.0-...-bf68151 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendAssetBytes

func AppendAssetBytes(bytes []byte)

func IsRunning

func IsRunning() bool

func RespondAsset

func RespondAsset(id int, success bool, data []uint8) (err error)

func RespondChangeLanguage

func RespondChangeLanguage(id int) (err error)

func RespondInterstitialAds

func RespondInterstitialAds(id int, success bool) (err error)
func RespondOpenLink(id int) (err error)

func RespondPurchase

func RespondPurchase(id int, success bool, purchases []uint8) (err error)

func RespondRestorePurchases

func RespondRestorePurchases(id int, success bool, purchases []uint8) (err error)

func RespondRewardedAds

func RespondRewardedAds(id int, success bool) (err error)

func RespondSavePermanent

func RespondSavePermanent(id int) (err error)

func RespondSaveProgress

func RespondSaveProgress(id int) (err error)

func RespondShareImage

func RespondShareImage(id int) (err error)

func RespondShowShop

func RespondShowShop(id int, success bool, purchases []uint8) (err error)

func RespondUnlockAchievement

func RespondUnlockAchievement(id int) (err error)

func SetPlatformData

func SetPlatformData(key string, value string) (err error)

func SetScreenSize

func SetScreenSize(widthInDP, heightInDP int)

func Start

func Start(widthInDP int, heightInDP int, requester Requester, project []byte, progress []byte, permanent []byte, purchases []byte, language string) (err error)

func Update

func Update() (err error)

func UpdateTouchesOnAndroid

func UpdateTouchesOnAndroid(action int, id int, x, y int)

func UpdateTouchesOnIOS

func UpdateTouchesOnIOS(phase int, ptr int64, x, y int)

Types

type Requester

type Requester scene.Requester

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL