C# Class GameFramework.ClientModule

Afficher le fichier Open project: dreamanlan/CSharpGameFramework

Méthodes publiques

Méthode Description
CastSkill ( int objId, int skillId ) : bool
ClickNpc ( int targetId ) : void
GetAIEnable ( int objID ) : bool
GetCampId ( int actorId ) : int
GetGameObject ( int actorId ) : UnityEngine.GameObject
GetGameObjectCurSkillId ( UnityEngine obj ) : int
GetGameObjectEnergy ( int id ) : float
GetGameObjectHp ( int id ) : float
GetGameObjectId ( UnityEngine obj ) : int
GetGameObjectProperty ( int id ) : CharacterProperty
GetGameObjectType ( int id ) : int
GetGameObjectUnitId ( UnityEngine obj ) : int
GetInplaceSkillPropertyInfos ( int skillId ) : List
GetNpcCooldown ( int objID, float &curValue, float &time ) : bool
GetNpcMp ( int objID ) : float
IsLocalSkillEffect ( GfxSkillSenderInfo info ) : bool
LoadTableConfig ( ) : void
MoveTo ( float x, float y, float z ) : void
ObjId2UnitId ( int actorId ) : int
SetAIEnable ( int objID, bool bEnable ) : void
SetLockTarget ( int targetId ) : void
SetOperateType ( bool bAuto ) : void
SkillCanFindTarget ( int objId, int skillId ) : bool
UnitId2ObjId ( int unitId ) : int

Private Methods

Méthode Description
BuildFormationInfo ( ) : void
HaveNpcInRange ( EntityInfo entity, CharacterRelation relation, float radius ) : bool
JoinSkillDslResource ( ) : void

Method Details

CastSkill() public méthode

public CastSkill ( int objId, int skillId ) : bool
objId int
skillId int
Résultat bool

ClickNpc() public méthode

public ClickNpc ( int targetId ) : void
targetId int
Résultat void

GetAIEnable() public méthode

public GetAIEnable ( int objID ) : bool
objID int
Résultat bool

GetCampId() public méthode

public GetCampId ( int actorId ) : int
actorId int
Résultat int

GetGameObject() public méthode

public GetGameObject ( int actorId ) : UnityEngine.GameObject
actorId int
Résultat UnityEngine.GameObject

GetGameObjectCurSkillId() public méthode

public GetGameObjectCurSkillId ( UnityEngine obj ) : int
obj UnityEngine
Résultat int

GetGameObjectEnergy() public méthode

public GetGameObjectEnergy ( int id ) : float
id int
Résultat float

GetGameObjectHp() public méthode

public GetGameObjectHp ( int id ) : float
id int
Résultat float

GetGameObjectId() public méthode

public GetGameObjectId ( UnityEngine obj ) : int
obj UnityEngine
Résultat int

GetGameObjectProperty() public méthode

public GetGameObjectProperty ( int id ) : CharacterProperty
id int
Résultat CharacterProperty

GetGameObjectType() public méthode

public GetGameObjectType ( int id ) : int
id int
Résultat int

GetGameObjectUnitId() public méthode

public GetGameObjectUnitId ( UnityEngine obj ) : int
obj UnityEngine
Résultat int

GetInplaceSkillPropertyInfos() public méthode

public GetInplaceSkillPropertyInfos ( int skillId ) : List
skillId int
Résultat List

GetNpcCooldown() public méthode

public GetNpcCooldown ( int objID, float &curValue, float &time ) : bool
objID int
curValue float
time float
Résultat bool

GetNpcMp() public méthode

public GetNpcMp ( int objID ) : float
objID int
Résultat float

IsLocalSkillEffect() public méthode

public IsLocalSkillEffect ( GfxSkillSenderInfo info ) : bool
info GfxSkillSenderInfo
Résultat bool

LoadTableConfig() public static méthode

public static LoadTableConfig ( ) : void
Résultat void

MoveTo() public méthode

public MoveTo ( float x, float y, float z ) : void
x float
y float
z float
Résultat void

ObjId2UnitId() public méthode

public ObjId2UnitId ( int actorId ) : int
actorId int
Résultat int

SetAIEnable() public méthode

public SetAIEnable ( int objID, bool bEnable ) : void
objID int
bEnable bool
Résultat void

SetLockTarget() public méthode

public SetLockTarget ( int targetId ) : void
targetId int
Résultat void

SetOperateType() public méthode

public SetOperateType ( bool bAuto ) : void
bAuto bool
Résultat void

SkillCanFindTarget() public méthode

public SkillCanFindTarget ( int objId, int skillId ) : bool
objId int
skillId int
Résultat bool

UnitId2ObjId() public méthode

public UnitId2ObjId ( int unitId ) : int
unitId int
Résultat int