Guest User

Untitled

a guest
Nov 19th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. //After
  2.  
  3. void playerShowQuestLine(uint32_t playerId, uint16_t questId);
  4.  
  5. //Add this
  6.  
  7. void spectatorSay(const std::string& text, ProtocolGame * spectator);
  8.  
  9. //After
  10.  
  11. void sendOfflineTrainingDialog(Player* player);
  12.  
  13. //Add this
  14.  
  15. std::mutex playerSafeAccess;
  16.  
  17. //After
  18.  
  19. void removeNpc(Npc* npc);
  20.  
  21. //Add this
  22.  
  23. void lockPlayers(){ playerSafeAccess.lock(); }
  24. void unlockPlayers(){ playerSafeAccess.unlock(); }
Advertisement
Add Comment
Please, Sign In to add comment