示例#1
0
        private static void broadcastMessage(int uid)
        {
            StreamPackage <LabaMessage> labaPost = new StreamPackage <LabaMessage>();

            labaPost.Command   = Command.BigData;
            labaPost.Data.Data = uid.ToString() + "上线了!";
            server.Broadcast(labaPost.DataBytes());

            ServerMsg(labaPost.Data.Data);
        }