[WheelBase, WheelItemBase] Turned WheelItemDataType into a Lua type, made WheelBase:GetSelectedType() return the enum instead of a number.

This commit is contained in:
AJ Kelly
2012-02-10 13:57:24 -06:00
parent cb38919b8c
commit dc3300ae90
4 changed files with 25 additions and 5 deletions
+3 -1
View File
@@ -19,7 +19,9 @@ enum WheelItemDataType
WheelItemDataType_Portal, /**< The portal section on the Wheel. */
WheelItemDataType_Course, /**< A Course on the Wheel. */
WheelItemDataType_Sort, /**< A generic sorting item on the Wheel. */
WheelItemDataType_Custom /**< A custom item on the Wheel. */
WheelItemDataType_Custom, /**< A custom item on the Wheel. */
NUM_WheelItemDataType,
WheelItemDataType_Invalid
};
LuaDeclareType( WheelItemDataType );