added 0728 structs + small CNStruct.hpp refactor

This commit is contained in:
CPunch 2020-08-20 11:36:29 -05:00
parent af6158fbb2
commit 7cf239e3af
3 changed files with 4892 additions and 12 deletions

View File

@ -1,7 +1,5 @@
/* /*
CNStructs.hpp - defines some basic structs & useful methods for packets used by FusionFall CNStructs.hpp - defines some basic structs & useful methods for packets used by FusionFall based on the version defined
NOTE: this is missing the vast majority of packets, I have also ommitted the ERR & FAIL packets for simplicity
*/ */
#ifndef _CNS_HPP #ifndef _CNS_HPP
@ -33,15 +31,11 @@ uint64_t getTime();
//#define CNPROTO_VERSION_0728 //#define CNPROTO_VERSION_0728
#define CNPROTO_VERSION_0104 #define CNPROTO_VERSION_0104
#ifdef CNPROTO_VERSION_0728
#define AEQUIP_COUNT 12
#else
#define AEQUIP_COUNT 9
#endif
// ========================================================[[ beta-20100104 ]]======================================================== // ========================================================[[ beta-20100104 ]]========================================================
#ifdef CNPROTO_VERSION_0104 #if defined(CNPROTO_VERSION_0104)
#include "structs/0104.hpp" #include "structs/0104.hpp"
#elif defined(CNPROTO_VERSION_0728)
#include "structs/0728.hpp"
#endif #endif
#endif #endif

View File

@ -1,5 +1,7 @@
/* genstructs.py */ /* genstructs.py */
#define AEQUIP_COUNT 9
#pragma pack(push) #pragma pack(push)
#pragma pack(4) #pragma pack(4)

4884
src/structs/0728.hpp Normal file

File diff suppressed because it is too large Load Diff