示例#1
0
 /// <summary>
 /// 通知在线的对方(不限制地图)个人紧要消息
 /// </summary>
 /// <param name="client"></param>
 public void NotifyImportantMsg(GameClient client, string msgText, GameInfoTypeIndexes typeIndex, ShowGameInfoTypes showGameInfoType, int errCode = 0)
 {
     msgText = ConvertLuaString(msgText);
     GameManager.ClientMgr.NotifyImportantMsg(Global._TCPManager.MySocketListener, Global._TCPManager.TcpOutPacketPool,
                                              client, msgText, (GameInfoTypeIndexes)typeIndex, (ShowGameInfoTypes)showGameInfoType, errCode);
 }
示例#2
0
 public void NotifyBangHuiImportantMsg(int faction, string msgText, GameInfoTypeIndexes typeIndex, ShowGameInfoTypes showGameInfoType, int errCode = 0)
 {
     msgText = this.ConvertLuaString(msgText);
     GameManager.ClientMgr.NotifyBangHuiImportantMsg(Global._TCPManager.MySocketListener, Global._TCPManager.TcpOutPacketPool, faction, msgText, typeIndex, showGameInfoType, errCode);
 }