MObjectCharacter 클래스 참조
#include <MObjectCharacter.h>
MObjectCharacter에 대한 상속 도표
세부 사항
캐릭터 오브젝트.
public 메소드 | |
MObjectCharacter (MUID &uid, MMap *pMap, rvector &Pos) | |
virtual void | Tick (unsigned long int nTime) |
틱 처리. | |
void | LoadInitialData () |
int | ObtainItem (MObjectItem *pObjectItem) |
아이템을 획득한다. | |
void | ClearItems () |
bool | EquipItem (MObjectItem *pObjectItem, MEquipmentSlot TargetSlot) |
아이템 장착 | |
bool | EquipItem (MUID &ItemUID, MEquipmentSlot TargetSlot) |
아이템 장착 | |
MObjectItem * | FindItem (MUID &uidItem) |
UID로 가지고 있는 아이템을 찾는다. | |
void | ClearEquipmentItem () |
int | GetHP () |
int | GetEN () |
int | GetSTR () |
int | GetCON () |
int | GetDEX () |
int | GetAGI () |
int | GetINT () |
int | GetCHA () |
float | UpdateHP (float fVal) |
float | UpdateEN (float fVal) |
const MCharacterBasicAttr * | GetBasicAttr () |
MCharacterType | GetType () |
MCharacterMoveMode | GetMoveMode () |
void | SetMoveMode (MCharacterMoveMode nMode) |
MCharacterMode | GetMode () |
void | SetMode (MCharacterMode nMode) |
MCharacterState | GetState () |
void | SetState (MCharacterState nState) |
MObjectItem * | GetEquipmentItem (MEquipmentSlot nSlot) |
void | Resurrect () |
virtual bool | CheckDestroy (int nTime) |
void | CacheUpdate (unsigned long int nTime) |
void | AddAction (MAction *pAction) |
void | DelAction (int nActID) |
MAction * | FindAction (int nActID) |
void | AddActionPipe (MActionPipe *pActionPipe) |
void | DelActionPipe (int nActPipeID) |
MActionPipe * | FindActionPipe (int nActPipeID) |
int | GetActionCount () |
list< MAction * >::iterator | GetActionBeginItor () |
list< MAction * >::iterator | GetActionEndItor () |
void | UpdateActParam (MActParam *pActParam) |
MActParam * | GetActParam () |
void | UnloadActions () |
bool | InvokeActionPipe (int nPipeID, int nTime, MActParam *pActParam) |
bool | Attack (MObjectCharacter *pTarget) |
void | StopAttack () |
bool | Skill (int nSkillID, MObjectCharacter *pTarget) |
bool | Warning (MObjectCharacter *pAttacker) |
bool | Damage (int nDamage, const MUID &uidAttacker) |
void | RouteRepeatInfo (int nTime) |
protected 메소드 | |
int | CalcMaxHP () |
BasicAttr값을 가지고 최대 HP 계산. | |
int | CalcMaxEN () |
BasicAttr값을 가지고 최대 EN 계산. | |
void | RegenHP (unsigned long int nTime) |
HP를 리젠. | |
void | RegenEN (unsigned long int nTime) |
EN을 리젠. | |
protected 속성 | |
char | m_szName [32] |
MCharacterRace | m_nRace |
MCharacterClass | m_nClass |
MCharacterType | m_nType |
int | m_nLevel |
레벌 | |
unsigned long int | m_nEXP |
경험치 | |
int | m_nMaxHP |
int | m_nMaxEN |
float | m_fHP |
float | m_fEN |
MCharacterBasicAttr | m_BasicAttr |
MCharacterMoveMode | m_nMoveMode |
MCharacterMode | m_nMode |
MCharacterState | m_nState |
MCharacterAbility | m_AbilityFlags |
MCharacterRepeatInfo | m_RepeatInfo |
MObjectItem * | m_pEquipmentItems [MES_END] |
장착하고 있는 아이템에 대한 포인터. | |
MObjectItemMap | m_HasItems |
가지고 있는 아이템들 | |
list< MActionPipe * > | m_ActionPipeList |
list< MAction * > | m_ActionList |
MActParam * | m_pActParam |
int | m_nLastHPRegenTime |
int | m_nLastENRegenTime |
int | m_nDiedTime |
int | m_nLastCacheTime |
이 클래스을 위한 문서화는 다음의 파일들로부터 생성되었습니다.
- MObjectCharacter.h
- MObjectCharacter.cpp
MAIET entertainment