lua/wrappers/game/lua_body_part.cpp
/**
	 * Compares if two body parts are the same object.
	 * @param am.body_part rhs The body part to compare with.
	 * @returns boolean True if they are the same object.
	 */
Compares if two body parts are the same object.
@param am.body_part rhs The body part to compare with.
@returns boolean True if they are the same object.
Compares if two body parts are the same object . @param am . body_part rhs The body part to compare with . @returns boolean True if they are the same object .
int BodyPart_eq(lua_State *lua)
	{
		BodyPart *lhs = castUData<BodyPart>(lua, 1);
		if (!lhs)
		{
			return LuaState::expectedContext(lua, "__eq", "am.body_part");
		}
		BodyPart *rhs = castUData<BodyPart>(lua, 2);
		lua_pushboolean(lua, lhs == rhs);
		return 1;
	}
int BodyPart_eq ( lua_State * lua ) { BodyPart * lhs = castUData < BodyPart > ( lua , 1 ) ; if ( ! lhs ) { return LuaState :: expectedContext ( lua , " " , " " ) ; } BodyPart * rhs = castUData < BodyPart > ( lua , 2 ) ; lua_pushboolean ( lua , lhs == rhs ) ; return 1 ; }
Compares if two body parts are the same object.
Compares if two body parts are the same object .