仙魔无双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) |
发送工会公告消息 更多... | |
系统操作接口,如公告等
CreatureCondFactory& GetCreatureCondFactory | ( | void | ) |
获取生物条件工厂
CreatureTgFactory& GetCreatureTgFactory | ( | void | ) |
获取生物目标工厂
void SendAnnMsg | ( | const std::string & | strMsg, |
int | nPriority = 1 , |
||
int | nRepeatCnt = 1 , |
||
bool | bToAllSvr = false |
||
) |
发送公告消息
strMsg | [文本] 公告内容 |
nPriority | [整数] 权重 |
nRepeatCnt | [整数] 重复次数 |
bToAllSvr | [布尔] 是否发给所有GS |
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 |