This site has been archived and made available for preservation purposes. No edits can be made.

Lock

[top]Definition

Code cpp:
enum VAULTCPP(class) Lock VAULTCPP(: uint32_t)
{
	Unlocked = UINT_MAX,
	Broken = UINT_MAX - 1,
	VeryEasy = 0,
	Easy = 25,
	Average = 50,
	Hard = 75,
	VeryHard = 100,
	Impossible = 255,
};
Code c:
typedef uint32_t Lock;
Code c:
const Lock: {
	Unlocked = 0xFFFFFFFF,
	Broken = 0xFFFFFFFE,
	VeryEasy = 0,
	Easy = 25,
	Average = 50,
	Hard = 75,
	VeryHard = 100,
	Impossible = 255,
}