Advertisement
Guest User

player.h

a guest
Feb 10th, 2013
1,118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 228,6228,7
  2. bool hasPVPBlessing() const {return pvpBlessing;}
  3. uint16_t getBlessings() const;
  4.  
  5. +bool isUsingOtclient() const { return operatingSystem >= CLIENTOS_OTCLIENT_LINUX; }
  6. OperatingSystem_t getOperatingSystem() const {return operatingSystem;}
  7. void setOperatingSystem(OperatingSystem_t os) {operatingSystem = os;}
  8. uint32_t getClientVersion() const {return clientVersion;}
  9.  
  10. 580,6581,9
  11.     void sendSpellGroupCooldown(SpellGroup_t groupId, uint32_t cooldown)
  12.     {if(client) client->sendSpellGroupCooldown(groupId, cooldown);}
  13.  
  14. +    void sendExtendedOpcode(uint8_t opcode, const std::string& buffer)
  15. +    {if(client) client->sendExtendedOpcode(opcode, buffer);}
  16.  
  17.     //container
  18.     void sendAddContainerItem(const Container* container, const Item* item);
  19.     void sendUpdateContainerItem(const Container* container, uint8_t slot, const Item* oldItem, const Item* newItem);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement