魔兽世界新人登陆欢迎信息[世界信息]编译
Index: CharacterHandler.cpp
===================================================================
--- CharacterHandler.cpp (revision 5370)
+++ CharacterHandler.cpp (working copy)
@@ -450,6 +450,14 @@
data.put(0, linecount);
SendPacket( &data );
+ //layer* pName=pCurrChar->GetName();
+ //sWorld.SendWorldText("Welcome %u Join the World",Player->GetName()); //世界加入新人公告
+ std::string str = "Welcome Join the World";
+ args = Player->GetName();
+ str += args;
+ sWorld.SendWorldText(str.c_str(), NULL);
DEBUG_LOG( "WORLD: Sent motd (SMSG_MOTD)" );
}
- 上一篇文章:魔兽特殊坐骑成长顶级装备数据
- 下一篇文章:魔兽mangos系统用户数据自动备份Linux脚本
热门文章
热门标签