|
enum | {
DIG_STATUS_STARTED = 0,
DIG_STATUS_CANCELLED = 1,
DIG_STATUS_FINISHED = 2,
DIG_STATUS_DROP_STACK = 3,
DIG_STATUS_DROP_HELD = 4,
DIG_STATUS_SHOOT_EAT = 5,
DIG_STATUS_SWAP_ITEM_IN_HAND = 6
} |
| PlayerDigging status constants. More...
|
|
enum | { MAX_EXPERIENCE_ORB_SIZE = 2000
} |
| Experience Orb setup. More...
|
|
enum | eBlockFace {
BLOCK_FACE_NONE = -1,
BLOCK_FACE_XM = 4,
BLOCK_FACE_XP = 5,
BLOCK_FACE_YM = 0,
BLOCK_FACE_YP = 1,
BLOCK_FACE_ZM = 2,
BLOCK_FACE_ZP = 3,
BLOCK_FACE_BOTTOM = BLOCK_FACE_YM,
BLOCK_FACE_TOP = BLOCK_FACE_YP,
BLOCK_FACE_NORTH = BLOCK_FACE_ZM,
BLOCK_FACE_SOUTH = BLOCK_FACE_ZP,
BLOCK_FACE_WEST = BLOCK_FACE_XM,
BLOCK_FACE_EAST = BLOCK_FACE_XP,
BLOCK_FACE_MIN = -1,
BLOCK_FACE_MAX = 5
} |
| Block face constants, used in PlayerDigging and PlayerBlockPlacement packets and bbox collision calc. More...
|
|
enum | eChatType { ctChatBox = 0,
ctSystem = 1,
ctAboveActionBar = 2
} |
|
enum | eClickAction {
caLeftClick,
caRightClick,
caShiftLeftClick,
caShiftRightClick,
caNumber1,
caNumber2,
caNumber3,
caNumber4,
caNumber5,
caNumber6,
caNumber7,
caNumber8,
caNumber9,
caMiddleClick,
caDropKey,
caCtrlDropKey,
caLeftClickOutside,
caRightClickOutside,
caLeftClickOutsideHoldNothing,
caRightClickOutsideHoldNothing,
caLeftPaintBegin,
caRightPaintBegin,
caMiddlePaintBegin,
caLeftPaintProgress,
caRightPaintProgress,
caMiddlePaintProgress,
caLeftPaintEnd,
caRightPaintEnd,
caMiddlePaintEnd,
caDblClick,
caUnknown = 255
} |
| Individual actions sent in the WindowClick packet. More...
|
|
enum | eGameMode {
eGameMode_NotSet = -1,
eGameMode_Survival = 0,
eGameMode_Creative = 1,
eGameMode_Adventure = 2,
eGameMode_Spectator = 3,
gmNotSet = eGameMode_NotSet,
gmSurvival = eGameMode_Survival,
gmCreative = eGameMode_Creative,
gmAdventure = eGameMode_Adventure,
gmSpectator = eGameMode_Spectator,
gmMax,
gmMin = 0
} |
|
enum | eHand { hMain = 0,
hOff = 1
} |
|
enum | eMainHand { mhLeft = 0,
mhRight = 1
} |
|
enum | eMessageType {
mtCustom,
mtFailure,
mtInformation,
mtSuccess,
mtWarning,
mtFatal,
mtDeath,
mtPrivateMessage,
mtJoin,
mtLeave,
mtMaxPlusOne,
mtFail = mtFailure,
mtError = mtFailure,
mtInfo = mtInformation,
mtPM = mtPrivateMessage
} |
|
enum | eMobHeadRotation {
SKULL_ROTATION_NORTH = 0,
SKULL_ROTATION_NORTH_NORTH_EAST = 1,
SKULL_ROTATION_NORTH_EAST = 2,
SKULL_ROTATION_EAST_NORTH_EAST = 3,
SKULL_ROTATION_EAST = 4,
SKULL_ROTATION_EAST_SOUTH_EAST = 5,
SKULL_ROTATION_SOUTH_EAST = 6,
SKULL_ROTATION_SOUTH_SOUTH_EAST = 7,
SKULL_ROTATION_SOUTH = 8,
SKULL_ROTATION_SOUTH_SOUTH_WEST = 9,
SKULL_ROTATION_SOUTH_WEST = 10,
SKULL_ROTATION_WEST_SOUTH_WEST = 11,
SKULL_ROTATION_WEST = 12,
SKULL_ROTATION_WEST_NORTH_WEST = 13,
SKULL_ROTATION_NORTH_WEST = 14,
SKULL_ROTATION_NORTH_NORTH_WEST = 15
} |
|
enum | eMobHeadType {
SKULL_TYPE_SKELETON = 0,
SKULL_TYPE_WITHER = 1,
SKULL_TYPE_ZOMBIE = 2,
SKULL_TYPE_PLAYER = 3,
SKULL_TYPE_CREEPER = 4,
SKULL_TYPE_DRAGON = 5
} |
|
enum | eSkinPart {
spCape = 0x01,
spJacket = 0x02,
spLeftSleeve = 0x04,
spRightSleeve = 0x08,
spLeftPants = 0x10,
spRightPants = 0x20,
spHat = 0x40,
spMask = 0x7F
} |
|
enum | eWeather {
eWeather_Sunny = 0,
eWeather_Rain = 1,
eWeather_ThunderStorm = 2,
wSunny = eWeather_Sunny,
wRain = eWeather_Rain,
wThunderstorm = eWeather_ThunderStorm,
wStorm = wThunderstorm
} |
|
|
void | AddFaceDirection (int &a_BlockX, int &a_BlockY, int &a_BlockZ, eBlockFace a_BlockFace, bool a_bInverse=false) |
|
void | AddFaceDirection (int &a_BlockX, unsigned char &a_BlockY, int &a_BlockZ, eBlockFace a_BlockFace, bool a_bInverse=false) |
|
AString | BlockFaceToString (eBlockFace a_BlockFace) |
| Returns the textual representation of the BlockFace constant. More...
|
|
const char * | ClickActionToString (int a_ClickAction) |
|
template<class T > |
T | Diff (T a_Val1, T a_Val2) |
|
void | EulerToVector (double a_Pan, double a_Pitch, double &a_X, double &a_Y, double &a_Z) |
|
float | GetSignf (float a_Val) |
|
float | GetSpecialSignf (float a_Val) |
|
bool | ItemCategory::IsArmor (short a_ItemType) |
|
bool | ItemCategory::IsAxe (short a_ItemID) |
|
bool | IsBlockFence (BLOCKTYPE a_BlockType) |
|
bool | IsBlockIce (BLOCKTYPE a_BlockType) |
|
bool | IsBlockLava (BLOCKTYPE a_BlockType) |
|
bool | IsBlockLiquid (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialAnvil (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialCoral (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialGourd (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialIron (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialLeaves (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialPlants (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialRock (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialVine (BLOCKTYPE a_BlockType) |
|
bool | IsBlockMaterialWood (BLOCKTYPE a_BlockType) |
|
bool | IsBlockRail (BLOCKTYPE a_BlockType) |
|
bool | IsBlocksWeb (BLOCKTYPE a_BlockType) |
|
bool | IsBlocksWool (BLOCKTYPE a_BlockType) |
|
bool | IsBlockTypeOfDirt (BLOCKTYPE a_BlockType) |
|
bool | IsBlockWater (BLOCKTYPE a_BlockType) |
|
bool | IsBlockWaterOrIce (BLOCKTYPE a_BlockType) |
|
bool | ItemCategory::IsBoots (short a_ItemType) |
|
bool | ItemCategory::IsChestPlate (short a_ItemType) |
|
bool | ItemCategory::IsHelmet (short a_ItemType) |
|
bool | ItemCategory::IsHoe (short a_ItemID) |
|
bool | ItemCategory::IsHorseArmor (short a_ItemType) |
|
bool | ItemCategory::IsLeggings (short a_ItemType) |
|
bool | ItemCategory::IsMinecart (short a_ItemType) |
|
bool | ItemCategory::IsPickaxe (short a_ItemID) |
|
bool | ItemCategory::IsShovel (short a_ItemID) |
|
bool | ItemCategory::IsSword (short a_ItemID) |
|
bool | ItemCategory::IsTool (short a_ItemID) |
|
bool | IsValidBlock (int a_BlockType) |
|
bool | IsValidItem (int a_ItemType) |
|
eBlockFace | MirrorBlockFaceY (eBlockFace a_BlockFace) |
| Returns a blockface mirrored around the Y axis (doesn't change up / down). More...
|
|
double | NormalizeAngleDegrees (const double a_Degrees) |
| Normalizes an angle in degrees to the [-180, +180) range: More...
|
|
eBlockFace | ReverseBlockFace (eBlockFace a_BlockFace) |
|
eBlockFace | RotateBlockFaceCCW (eBlockFace a_BlockFace) |
| Returns a blockface rotated around the Y axis counter-clockwise. More...
|
|
eBlockFace | RotateBlockFaceCW (eBlockFace a_BlockFace) |
|
void | VectorToEuler (double a_X, double a_Y, double a_Z, double &a_Pan, double &a_Pitch) |
|