comparison Player.h @ 1724:8bf9a9d9740b

Слияние
author Ritor1
date Wed, 25 Sep 2013 11:13:16 +0600
parents 5f2583a4fa7d bafc79e65a4d
children f44b6e02e81c
comparison
equal deleted inserted replaced
1723:29924bbb2a4e 1724:8bf9a9d9740b
644 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;} 644 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;}
645 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;} 645 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;}
646 646
647 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;} 647 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;}
648 inline bool IsFemale() { return !IsMale();} 648 inline bool IsFemale() { return !IsMale();}
649
650 ItemGen* GetMainHandItem();
651 ItemGen* GetOffHandItem();
652 ItemGen* GetBowItem();
653 ItemGen* GetArmorItem();
654 ItemGen* GetHelmItem();
655 ItemGen* GetBeltItem();
656 ItemGen* GetCloakItem();
657 ItemGen* GetGloveItem();
658 ItemGen* GetBootItem();
659 ItemGen* GetAmuletItem();
660 ItemGen* GetNthRingItem(int ringNum);
661 ItemGen* GetNthEquippedIndexItem(int index);
662 ItemGen* GetItem(unsigned int PlayerEquipment::* itemPos);
649 __int64 pConditions[20]; 663 __int64 pConditions[20];
650 unsigned __int64 uExperience; 664 unsigned __int64 uExperience;
651 char pName[16]; 665 char pName[16];
652 PLAYER_SEX uSex; 666 PLAYER_SEX uSex;
653 PLAYER_CLASS_TYPE classType; 667 PLAYER_CLASS_TYPE classType;