Ejemplo n.º 1
0
 public static void BroadcastGroup(this OverlayHost host, OverlayHostName name, MessageType mt, params object[] objs)
 {
     host.BroadcastGroup(name, new GameMessage(mt, objs));
 }
Ejemplo n.º 2
0
        //public static void ConnectSendMessage(this OverlayHost host, OverlayEndpoint remote, MessageType mt, params object[] objs)
        //{
        //    host.ConnectSendMessage(remote, new GameMessage(mt, objs));
        //}

        public static void BroadcastGroup(this OverlayHost host, Func <Node, bool> group, MessageType mt, params object[] objs)
        {
            host.BroadcastGroup(group, new GameMessage(mt, objs));
        }