C# Class GameFramework.ClientModule

Exibir arquivo Open project: dreamanlan/CSharpGameFramework

Public Methods

Method 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

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

Method Details

CastSkill() public method

public CastSkill ( int objId, int skillId ) : bool
objId int
skillId int
return bool

ClickNpc() public method

public ClickNpc ( int targetId ) : void
targetId int
return void

GetAIEnable() public method

public GetAIEnable ( int objID ) : bool
objID int
return bool

GetCampId() public method

public GetCampId ( int actorId ) : int
actorId int
return int

GetGameObject() public method

public GetGameObject ( int actorId ) : UnityEngine.GameObject
actorId int
return UnityEngine.GameObject

GetGameObjectCurSkillId() public method

public GetGameObjectCurSkillId ( UnityEngine obj ) : int
obj UnityEngine
return int

GetGameObjectEnergy() public method

public GetGameObjectEnergy ( int id ) : float
id int
return float

GetGameObjectHp() public method

public GetGameObjectHp ( int id ) : float
id int
return float

GetGameObjectId() public method

public GetGameObjectId ( UnityEngine obj ) : int
obj UnityEngine
return int

GetGameObjectProperty() public method

public GetGameObjectProperty ( int id ) : CharacterProperty
id int
return CharacterProperty

GetGameObjectType() public method

public GetGameObjectType ( int id ) : int
id int
return int

GetGameObjectUnitId() public method

public GetGameObjectUnitId ( UnityEngine obj ) : int
obj UnityEngine
return int

GetInplaceSkillPropertyInfos() public method

public GetInplaceSkillPropertyInfos ( int skillId ) : List
skillId int
return List

GetNpcCooldown() public method

public GetNpcCooldown ( int objID, float &curValue, float &time ) : bool
objID int
curValue float
time float
return bool

GetNpcMp() public method

public GetNpcMp ( int objID ) : float
objID int
return float

IsLocalSkillEffect() public method

public IsLocalSkillEffect ( GfxSkillSenderInfo info ) : bool
info GfxSkillSenderInfo
return bool

LoadTableConfig() public static method

public static LoadTableConfig ( ) : void
return void

MoveTo() public method

public MoveTo ( float x, float y, float z ) : void
x float
y float
z float
return void

ObjId2UnitId() public method

public ObjId2UnitId ( int actorId ) : int
actorId int
return int

SetAIEnable() public method

public SetAIEnable ( int objID, bool bEnable ) : void
objID int
bEnable bool
return void

SetLockTarget() public method

public SetLockTarget ( int targetId ) : void
targetId int
return void

SetOperateType() public method

public SetOperateType ( bool bAuto ) : void
bAuto bool
return void

SkillCanFindTarget() public method

public SkillCanFindTarget ( int objId, int skillId ) : bool
objId int
skillId int
return bool

UnitId2ObjId() public method

public UnitId2ObjId ( int unitId ) : int
unitId int
return int