Commit Graph
63 Commits
Author SHA1 Message Date
ccrs 4e6c59dca7 Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
        uint8 GetLevelForTarget(WorldObject const* /*target*/)
        void SetLevel(uint8 lvl)
        uint8 GetRace()
        uint32 GetRaceMask()
        uint8 GetClass()
        uint32 GetClassMask()
        uint8 GetGender()

(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Shauren 792721ad64 Core/PacketIO: Updated remaining packet structures to 9.1.5 2021-11-02 22:54:15 +01:00
Shauren cd5357dc18 Core/PacketIO: 9.1.0 opcodes and packet structures 2021-08-08 00:18:05 +02:00
Shauren f759809d9d Core/PacketIO: Use new time utilities in packets instead of plain time_t/uint32 2021-04-06 19:10:28 +02:00
Shauren 364f6eec9a Core/GameObjects: Updated gameobject template structure to 9.0 2020-12-09 00:03:10 +01:00
Shauren b82a3a557a Core/DataStores: Updated db2 structures to 9.0.2
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren cab4c87d2d Core/PacketIO: Updated most packet structures to 9.0.1 2020-12-08 18:16:41 +01:00
Shauren 462a10de17 Core/PacketIO: Updated packets to 8.3.0 2020-02-17 23:58:08 +01:00
Aokromes b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
funjoker b4d30bb92c QueryCache port
partial port of:
(ae9d01a3245c59a8a8d50516a79b79250337450d)
(dd1aa64563bfb726e1132a135927a02fbb765454)
2019-08-17 20:04:14 +02:00
xinef1 ad4e63bae1 Core/Misc: Moved CharacterInfo out of world to separate class
Closes #19030

(cherrypicked from 59ce3d6c9bd82d55cbfa505bb945b71cab21a12f)
2019-07-21 21:06:54 +02:00
Shauren 455959c606 Core/PacketIO: Rewrite updatefield handling 2019-06-08 17:06:57 +02:00
Shauren 31fda79556 Core/PacketIO: Updated packet structures to 8.1.5 2019-06-08 17:03:15 +02:00
vincent-michael 5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren 0a779bd791 Core/PacketIO: Updated packet structures to 8.0.1 2018-11-05 00:00:34 +01:00
Shauren 4af15915bc Core/PacketIO: Updated opcodes and packet structures to 7.3.5 2018-02-18 16:33:49 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren 3d7c2ef88f Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr) 2017-05-21 23:18:43 +02:00
Shauren c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren a12a34b1dc Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
joschiwald 229c78b5a3 Core/Packets: Implemented CMSG_QUERY_REALM_NAME and SMSG_REALM_QUERY_RESPONSE 2017-05-13 17:25:21 +02:00
Shauren 6636ca8585 Core/DataStores: Updated sending out hotfixes 2017-04-19 19:10:49 +02:00
Shauren 0998eca105 Core/PacketIO: Delete opcodes removed in 7.2 2017-04-11 00:27:52 +02:00
vincent-michael 86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Vincent-Michael 8da93b6734 Core/PacketIO: Updated SMSG_QUERY_CREATURE_RESPONSE for 7.0.3 2016-09-03 16:38:04 +02:00
Shauren c74a1fcad0 Core/GameObjects: Renamed gameobject_template.unkInt32 to RequiredLevel 2016-08-01 16:14:35 +02:00
Shauren 6226f04caf Core/PacketIO: Updated query opcodes 2016-06-07 19:56:40 +02:00
Shauren dde620c402 Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren d03ca37f10 Core/Players: Use constant gender from PLAYER_BYTES_3 where appropriate. 2015-11-27 21:53:27 +01:00
Vincent-Michael f7f7e4d061 Core/PacketIO:
- Updated and enabled SMSG_QUEST_POI_QUERY_RESPONSE
- Enabled some opcodes
2015-07-12 00:05:08 +02:00
Shauren 38f9821627 Core/PacketIO: Disabled SMSG_DB_REPLY 2015-07-05 01:09:35 +02:00
Vincent-Michael d7a95a88c5 Core/PacketIO:
- Updated and enabled SMSG_DB_REPLY
- Enabled some movement opcodes
- Enabled SMSG_FEATURE_SYSTEM_STATUS / SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN
2015-07-05 01:03:01 +02:00
Shauren 1b5f6d44f0 Core/PacketIO: Updated and enabled CMSG_ITEM_TEXT_QUERY, SMSG_QUERY_ITEM_TEXT_RESPONSE, CMSG_CANCEL_TEMP_ENCHANTMENT 2015-05-01 00:20:41 +02:00
Shauren e0746e49b3 Core/PacketIO: Fixed wrong FlushBits usage (mostly related to string lengths) 2015-04-30 19:42:13 +02:00
Naios 800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00
Vincent-Michael ee057d3a8d Core/PacketIO: Updated and enabled CMSG_QUERY_PET_NAME / SMSG_QUERY_PET_NAME_RESPONSE for WoD 2015-04-18 19:17:48 +02:00
Vincent-Michael 909a5ebf14 Core/PacketIO: Fix SMSG_QUERY_NPC_TEXT_RESPONSE structure 2015-04-15 19:34:44 +02:00
Vincent-Michael 95bb20d073 Core/PacketIO: Updated & enabled CMSG_QUERY_QUEST_COMPLETION_NPCS / SMSG_QUEST_COMPLETION_NPC_RESPONSE 2015-04-12 01:26:01 +02:00
Vincent-Michael 9e2e8a7eeb Core/PacketIO: Fix SMSG_QUERY_PAGE_TEXT_RESPONSE 2015-04-11 19:36:46 +02:00
Vincent-Michael 22e230ecec Core/Misc:
- Drop locales_npc_text
- Update npc_text for WoD
- Implemented Quest Greeting
- Sync auth database
2015-04-11 03:26:36 +02:00
Vincent-Michael 4359c4c758 Core/PacketIO: Updated and enabled CMSG_QUEST_POI_QUERY / SMSG_QUEST_POI_QUERY_RESPONSE 2015-04-05 05:54:53 +02:00
Vincent-Michael 1ba9266045 Core/PacketIO: Sync with wpp and enable some opcodes 2015-03-04 17:43:16 +01:00
Shauren 5c4fd7ac4f Core/DataStores: Added tables for all loaded DB2 stores 2015-02-22 10:29:12 +01:00
Duarte Duarte 9d25e8970b Merge pull request #14025 from Carbenium/mail-1
Core/Packets: Implement all mail system relevant packets
2015-02-07 13:59:31 +00:00
Carbenium 829e11b662 Core/Packets: Implement all mail system relevant packets
Thanks @joschiwald, @DDuarte and @Warpten
2015-02-07 12:43:25 +01:00
Gacko 04ad137304 Fix non pch build 2015-02-06 22:19:53 +01:00
joschiwald be6b1f5251 Core/Packets:
- updated who packets
- fixed typos from previous commits
2015-02-05 20:18:32 +01:00
Shauren 0ceb8003ee Core/PacketIO: Implemented CMSG_QUERY_TIME/SMSG_QUERY_TIME_RESPONSE 2015-01-19 18:24:03 +01:00