Module eva_const
Defold-Eva const module.
Specify all eva constant
Tables
OS | Available OS values |
INPUT | Eva input events |
INPUT_TYPE | Eva built-in input type |
EVENT | Eva built-in game events |
IAP | Iap states |
EVA | Inner eva protodata names |
DAILY | Available daily bonus values |
INPUT_KEYS | This is all keys from all.input_binding |
INPUT_SWIPE | Eva built-in input swipe directions |
VIBRATE | Vibrate constants for eva.vibrate |
STORAGE | Reserved strings for eva.storage values from other modules |
Fields
EVA_VERSION | Need to check basic config and protofiles |
UNKNOWN_REGION | Unknown region for eva.device.get_region() |
WALLET_CONTAINER | Default player container |
WALLET_TYPE | Default wallet container type |
FPS | Game FPS constant |
Tables
- OS
-
Available OS values
Fields:
- ANDROID
- IOS
- MAC
- LINUX
- WINDOWS
- BROWSER
- INPUT
-
Eva input events
Fields:
- MULTITOUCH
- TOUCH
- CLOSE
- CALLBACK
- SCROLL_UP
- SCROLL_DOWN
- KEY_Q
- KEY_R
- KEY_N
- KEY_D
- KEY_P
- KEY_O
- KEY_1
- KEY_2
- KEY_3
- KEY_L
- KEY_LALT
- KEY_LCTRL
- INPUT_TYPE
-
Eva built-in input type
Fields:
- KEY_PRESSED
- KEY_REPEATED
- KEY_HOLD
- KEY_RELEASED
- TOUCH_START
- TOUCH
- TOUCH_END
- LONG_TOUCH
- DRAG_START it mean touch_cancel too
- DRAG
- DRAG_END
- PINCH_START
- PINCH
- PINCH_END
- EVENT
-
Eva built-in game events
Fields:
- GAME_START Game start eva event
- GAME_FOCUS
- NEW_SESSION
- NEW_DAY
- IAP_UPDATE
- IAP_START
- IAP_CANCEL
- IAP_PURCHASE
- IAP_VALID
- IAP_INVALID
- ADS_READY
- ADS_SUCCESS_REWARDED
- ADS_SUCCESS
- ADS_SHOW
- ADS_ERROR
- TOKEN_CHANGE
- SERVER_LOGIN
- TIMER_TRIGGER
- LANG_UPDATE
- OFFERS_START
- OFFERS_CLEAR
- DAILY_REWARD
- DAILY_RESET
- DAILY_LOST
- DAILY_NEW_CYCLE
- FESTIVAL_START
- FESTIVAL_END
- FESTIVAL_CLOSE_TO_END
- QUEST_REGISTER
- QUEST_START
- QUEST_PROGRESS
- QUEST_TASK_COMPLETE
- QUEST_END
- WINDOW_SHOW
- WINDOW_CLOSE
- SCENE_SHOW
- SCENE_CLOSE
- PUSH_SCHEDULED
- PUSH_CANCEL
- INVOICE_ADD
- INVOICE_EXPIRE
- INVOICE_CONSUME
- TRUCK_ARRIVE
- TRUCK_LEAVE
- TRUCK_CLOSE_TO_LEAVE
- LABEL_ADD
- LABEL_REMOVE
- SKILL_USE
- SKILL_USE_END
- SKILL_COOLDOWN_START
- SKILL_COOLDOWN_END
- CODE_REDEEM
- WINDOW_EVENT
- RATE_OPEN
- SOUND_GAIN_CHANGE
- MUSIC_GAIN_CHANGE
- IAP
-
Iap states
Fields:
- STATE
- PURCHASED
- FAILED
- RESTORED
- UNVERIFIED
- EVA
-
Inner eva protodata names
Fields:
- ADS
- SOUND
- LANG
- LABELS
- FEATURE
- DEVICE
- RATE
- SAVER
- SERVER
- GAME
- GDPR
- IAPS
- TIMERS
- STORAGE
- OFFERS
- DAILY
- FESTIVALS
- QUESTS
- PUSH
- INVOICES
- TRUCKS
- CONTAINERS
- SKILLS
- SKILL_CONTAINERS
- STATUSES
- PROMOCODES Part of data
- TOKEN
- OFFER
- STORAGE_VALUE
- TIMER
- IAP_INFO
- PUSH_INFO
- INVOICE_INFO
- TOKEN_RESTORE_CONFIG
- CONTAINER
- SKILL
- TOKENS_DATA
- DAILY
-
Available daily bonus values
Fields:
- SKIP
- WAIT
- RESET
- INPUT_KEYS
-
This is all keys from all.input_binding
Fields:
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- hash from mouse some triggers
- INPUT_SWIPE
-
Eva built-in input swipe directions
Fields:
- UP
- RIGHT
- DOWN
- LEFT
- VIBRATE
-
Vibrate constants for eva.vibrate
Fields:
- LIGHT in milliseconds
- iOS
- STORAGE
-
Reserved strings for eva.storage values from other modules
Fields:
- VIBRATE_IS_ENABLED