Exemplo n.º 1
0
 public UserConnectedEvent(User user, Channel channel, Server server, V1.V1Client client)
 {
     _client = client;
     User    = new MumbleUser(user, client);
     Channel = channel == null ? null : new MumbleChannel(channel, client);
     Server  = new MumbleServer(server, client);
 }
Exemplo n.º 2
0
 public UserTextMessageEvent(User user, List <Channel> channels, TextMessage message, Server server,
                             V1.V1Client client)
 {
     _client  = client;
     User     = new MumbleUser(user, client);
     Channels = channels.Select(x => new MumbleChannel(x, _client)).ToList();
     Message  = message;
     Server   = new MumbleServer(server, client);
 }
Exemplo n.º 3
0
 public ContextActionEvent(string action, string text, User actor, User user, Channel channel, uint context,
                           Server server, V1.V1Client client)
 {
     Action  = action;
     Text    = text;
     Actor   = new MumbleUser(actor, client);
     User    = new MumbleUser(user, client);
     Channel = new MumbleChannel(channel, client);
     Context = context;
     Server  = new MumbleServer(server, client);
 }
Exemplo n.º 4
0
        public MumbleContextAction(string action, string text, MumbleServer server, MumbleChannel channel,
                                   MumbleUser user, ContextActionContext context, V1.V1Client client)
        {
            User    = user;
            _client = client;
            Action  = action;
            Text    = text;
            Server  = server;
            Channel = channel;
            Context = context;

            Init();
        }
 public UserStateChangedEvent(User user, Server server, V1.V1Client client)
 {
     _client = client;
     User    = new MumbleUser(user, client);
     Server  = new MumbleServer(server, client);
 }