Step enumeration

From Hearthstone Wiki
Jump to: navigation, search

This page lists enumeration values for different game steps. Note that this page does not contain actual source code from the Hearthstone client, but is simply a reverse-engineered set of values.

Values table[edit | edit source]

Name Int value Description
INVALID 0
BEGIN_FIRST 1
BEGIN_SHUFFLE 2
BEGIN_DRAW 3
BEGIN_MULLIGAN 4
MAIN_BEGIN 5
MAIN_READY 6 Player tags are reset/incremented (RESOURCES, COMBO_ACTIVE, NUM_CARDS_DRAWN_THIS_TURN, etc)
MAIN_RESOURCE 7
MAIN_DRAW 8
MAIN_START 9
MAIN_ACTION 10
MAIN_COMBAT 11
MAIN_END 12 End of Turn triggers.
MAIN_NEXT 13
FINAL_WRAPUP 14
FINAL_GAMEOVER 15
MAIN_CLEANUP 16
MAIN_START_TRIGGERS 17

C# source code[edit | edit source]

enum Step {
	INVALID = 0,
	BEGIN_FIRST = 1,
	BEGIN_SHUFFLE = 2,
	BEGIN_DRAW = 3,
	BEGIN_MULLIGAN = 4,
	MAIN_BEGIN = 5,
	MAIN_READY = 6,
	MAIN_RESOURCE = 7,
	MAIN_DRAW = 8,
	MAIN_START = 9,
	MAIN_ACTION = 10,
	MAIN_COMBAT = 11,
	MAIN_END = 12,
	MAIN_NEXT = 13,
	FINAL_WRAPUP = 14,
	FINAL_GAMEOVER = 15,
	MAIN_CLEANUP = 16,
	MAIN_START_TRIGGERS = 17,
}