Skip to content

Commit

Permalink
Added http response headers to download finished callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed May 2, 2017
1 parent fa5109a commit 2236db1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Client/sdk/net/CNetHTTPDownloadManagerInterface.h
Expand Up @@ -21,6 +21,7 @@ struct SHttpDownloadResult
void* pObj;
bool bSuccess;
int iErrorCode;
const char* szHeaders; // new line separated list of HTTP headers
};

// PFN_DOWNLOAD_FINISHED_CALLBACK is called once at the end of the download.
Expand Down
2 changes: 1 addition & 1 deletion Client/version.h
Expand Up @@ -75,7 +75,7 @@

#define _ASE_VERSION QUOTE_DEFINE(MTASA_VERSION_MAJOR) "." QUOTE_DEFINE(MTASA_VERSION_MINOR)
#define _NETCODE_VERSION_BRANCH_ID 0x4 // Use 0x1 - 0xF to indicate an incompatible branch is being used (0x0 is reserved, 0x4 is trunk)
#define _CLIENT_NET_MODULE_VERSION 0x0A3 // (0x000 - 0xfff) Lvl9 wizards only
#define _CLIENT_NET_MODULE_VERSION 0x0A4 // (0x000 - 0xfff) Lvl9 wizards only
#define _NETCODE_VERSION 0x1DA // (0x000 - 0xfff) Increment when net messages change (pre-release)
#define MTA_DM_BITSTREAM_VERSION 0x06A // (0x000 - 0xfff) Increment when net messages change (post-release). (Changing will also require additional backward compatibility code).

Expand Down
1 change: 1 addition & 0 deletions Server/sdk/net/CNetHTTPDownloadManagerInterface.h
Expand Up @@ -22,6 +22,7 @@ struct SHttpDownloadResult
void* pObj;
bool bSuccess;
int iErrorCode;
const char* szHeaders; // new line separated list of HTTP headers
};

// PFN_DOWNLOAD_FINISHED_CALLBACK is called once at the end of the download.
Expand Down
2 changes: 1 addition & 1 deletion Server/version.h
Expand Up @@ -78,7 +78,7 @@

#define _ASE_VERSION QUOTE_DEFINE(MTASA_VERSION_MAJOR) "." QUOTE_DEFINE(MTASA_VERSION_MINOR)
#define _NETCODE_VERSION_BRANCH_ID 0x4 // Use 0x1 - 0xF to indicate an incompatible branch is being used (0x0 is reserved, 0x4 is trunk)
#define _SERVER_NET_MODULE_VERSION 0x0A3 // (0x000 - 0xfff) Lvl9 wizards only
#define _SERVER_NET_MODULE_VERSION 0x0A4 // (0x000 - 0xfff) Lvl9 wizards only
#define _NETCODE_VERSION 0x1DA // (0x000 - 0xfff) Increment when net messages change (pre-release)
#define MTA_DM_BITSTREAM_VERSION 0x06A // (0x000 - 0xfff) Increment when net messages change (post-release). (Changing will also require additional backward compatibility code).

Expand Down

0 comments on commit 2236db1

Please sign in to comment.