public FriendsList(IUpstreamConnection connection, Irc.IRawMessageConnection downstream, Configuration conf) { this.downstream = downstream; this.client = connection.Client; this.mapper = connection.Mapper; this.config = conf; client.Friends.FriendOnline += GridClient_FriendPresenceChanged; client.Friends.FriendOffline += GridClient_FriendPresenceChanged; downstream.Register(this); }
public override bool Excecute(SteelCityAutomaton.Automaton am, OpenMetaverse.GridClient client, bool force) { result.data = client.Settings; result.success = true; return(true); }