SHOW:
|
|
- or go back to the newest paste.
1 | 228,6 → 228,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,6 → 581,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) |
14 | + | + void sendExtendedOpcode(uint8_t opcode, const std::string& buffer) |
15 | - | +{if(client) client->sendExtendedOpcode(opcode, 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); |