仙魔无双SDK
面向策划逻辑制作的游戏开发包
系统操作

系统操作接口,如公告等 更多...

函数

CreatureTgFactory & GetCreatureTgFactory (void)
 获取生物目标工厂 更多...
 
CreatureCondFactory & GetCreatureCondFactory (void)
 获取生物条件工厂 更多...
 
void SendAnnMsg (const std::string &strMsg, int nPriority=1, int nRepeatCnt=1, bool bToAllSvr=false)
 发送公告消息 更多...
 
void SendAnnMsg4Guild (unsigned int nGuildID, const std::string &strMsg, int nPriority=1, int nRepeatCnt=1, unsigned int nGamstrID=MSG_ANY)
 发送工会公告消息 更多...
 

详细描述

系统操作接口,如公告等

函数说明

◆ GetCreatureCondFactory()

CreatureCondFactory& GetCreatureCondFactory ( void  )

获取生物条件工厂

返回
[引用] 生物条件工厂
注解
策划用不到,ai.lua调用

◆ GetCreatureTgFactory()

CreatureTgFactory& GetCreatureTgFactory ( void  )

获取生物目标工厂

返回
[引用] 生物目标工厂
注解
策划用不到,ai.lua调用

◆ SendAnnMsg()

void SendAnnMsg ( const std::string &  strMsg,
int  nPriority = 1,
int  nRepeatCnt = 1,
bool  bToAllSvr = false 
)

发送公告消息

参数
strMsg[文本] 公告内容
nPriority[整数] 权重
nRepeatCnt[整数] 重复次数
bToAllSvr[布尔] 是否发给所有GS

◆ SendAnnMsg4Guild()

void SendAnnMsg4Guild ( unsigned int  nGuildID,
const std::string &  strMsg,
int  nPriority = 1,
int  nRepeatCnt = 1,
unsigned int  nGamstrID = MSG_ANY 
)

发送工会公告消息

参数
nGuildID[整数] 工会ID
strMsg[文本] 公告内容
nPriority[整数] 权重
nRepeatCnt[整数] 重复次数
nGamstrID[整数] GameStringID