Method PlayerBotAI:IsActivityAllowed [-] [+]

Returns true if the given activity type is currently allowed for the bot.

enum ActivityType
{
    GRIND_ACTIVITY         = 1,
    RPG_ACTIVITY           = 2,
    TRAVEL_ACTIVITY        = 3,
    OUT_OF_PARTY_ACTIVITY  = 4,
    PACKET_ACTIVITY        = 5,
    DETAILED_MOVE_ACTIVITY = 6,
    PARTY_ACTIVITY         = 7,
    ALL_ACTIVITY           = 8
};

Synopsis

allowed = PlayerBotAI:IsActivityAllowed( activityType )
allowed = PlayerBotAI:IsActivityAllowed( activityType, checkNow )

Arguments

number activityType (8)

Valid numbers: integers from 0 to 4,294,967,295.

boolean checkNow (false)

Force a re-evaluation instead of using the cache.

Returns

boolean allowed
See method description.