private void HandleBroadcastText(Msg_BL_BroadcastText msg_, PBChannel channel, int src, uint session) { m_UserProcessScheduler.DefaultUserThread.QueueAction(m_UserProcessScheduler.HandleBroadcast, (BroadcastType)msg_.BroadcastType, msg_.Content, msg_.RollCount); }
internal void BroadcastText(ulong guid, BroadcastType type, string content, int roll_ct) { UserInfo info = GetUserInfo(guid); if (null != info) { Msg_BL_BroadcastText builder = new Msg_BL_BroadcastText(); builder.BroadcastType = (int)type; builder.Content = content; builder.RollCount = roll_ct; LobbyServer.Instance.UserChannel.Send(info.UserSvrName, builder); } }