mirror of
https://gitlab.com/hashborgir/plugy.git
synced 2024-12-02 13:36:02 +00:00
53 lines
1019 B
C
53 lines
1019 B
C
|
/*=================================================================
|
||
|
File created by Yohann NICOLAS.
|
||
|
|
||
|
Data added to Player base-stucture
|
||
|
|
||
|
=================================================================*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "common.h"
|
||
|
|
||
|
extern bool active_PlayerCustomData;
|
||
|
|
||
|
struct Unit;
|
||
|
|
||
|
struct Stash
|
||
|
{
|
||
|
DWORD id;
|
||
|
union {
|
||
|
DWORD flags;
|
||
|
struct {
|
||
|
DWORD isShared:1; //
|
||
|
};
|
||
|
};
|
||
|
char* name;
|
||
|
Unit* ptListItem;
|
||
|
Stash* previousStash;
|
||
|
Stash* nextStash;
|
||
|
};
|
||
|
|
||
|
|
||
|
struct PYPlayerData
|
||
|
{
|
||
|
union {
|
||
|
DWORD flags;
|
||
|
struct {
|
||
|
DWORD selfStashIsOpened:1; //
|
||
|
DWORD sharedStashIsOpened:1;//
|
||
|
DWORD showSharedStash:1; //
|
||
|
// DWORD notOnRealm:1; //set to 1 when the player is load from client or in SP
|
||
|
};
|
||
|
};
|
||
|
DWORD sharedGold;
|
||
|
DWORD nbSelfPages;
|
||
|
DWORD nbSharedPages;
|
||
|
Stash* currentStash;
|
||
|
Stash* selfStash;
|
||
|
Stash* sharedStash;
|
||
|
};
|
||
|
|
||
|
void Install_PlayerCustomData();
|
||
|
|
||
|
/*================================= END OF FILE =================================*/
|