Advertisement
bueddl

Untitled

Oct 31st, 2015
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. // ...
  2.  
  3. get_map_list(0, 100, [this](std::vector<Map> &map_list) {
  4.     // ...
  5.     for (const auto &map : map_list) {
  6.         Player blah;
  7.         Record rec;
  8.            
  9.         get_record_by_map(map, [this, blah, rec](Record &record) {
  10.             rec = record;
  11.  
  12.             get_player(record.player, [this, blah](Player &player) {
  13.                 blah = player;
  14.             });        
  15.         });
  16.     }
  17.     // ...
  18. });
  19.  
  20. // ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement