public void RequestHostList(Action <List <string> > callback) { net.RequestRoomList((Dictionary <string, string> hosts) => { this.hosts = hosts; callback(new List <string> (hosts.Keys)); }); }
public void RequestHostList(Action <List <string> > callback) { net.RequestRoomList((Dictionary <string, string> hosts) => { this.hosts = hosts; callback(new List <string> (hosts.Keys)); }); }