本文整理汇总了C++中HandleAddDisables函数的典型用法代码示例。如果您正苦于以下问题:C++ HandleAddDisables函数的具体用法?C++ HandleAddDisables怎么用?C++ HandleAddDisables使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了HandleAddDisables函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: HandleAddDisableMMapCommand
static bool HandleAddDisableMMapCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;
return HandleAddDisables(handler, args, DISABLE_TYPE_MMAP);
}
示例2: HandleAddDisableAchievementCriteriaCommand
static bool HandleAddDisableAchievementCriteriaCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;
return HandleAddDisables(handler, args, DISABLE_TYPE_ACHIEVEMENT_CRITERIA);
}
示例3: HandleAddDisableBattlegroundCommand
static bool HandleAddDisableBattlegroundCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;
return HandleAddDisables(handler, args, DISABLE_TYPE_BATTLEGROUND);
}
示例4: HandleAddDisableQuestCommand
static bool HandleAddDisableQuestCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;
return HandleAddDisables(handler, args, DISABLE_TYPE_QUEST);
}
示例5: HandleAddDisableSpellCommand
static bool HandleAddDisableSpellCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;
return HandleAddDisables(handler, args, DISABLE_TYPE_SPELL);
}
示例6: HandleAddDisableOutdoorPvPCommand
static bool HandleAddDisableOutdoorPvPCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;
HandleAddDisables(handler, args, DISABLE_TYPE_OUTDOORPVP);
return true;
}