1234567891011121314151617181920212223242526272829303132 |
-
- using CommonAI.Zone;
- using ET.Client;
- namespace ET
- {
- //发送战斗服指令相关
- public partial class BattleMgr
- {
- private bool autoFight;
- public bool AutoFight
- {
- get
- {
- return autoFight;
- }
- set
- {
- if(value == autoFight) return;
- else
- {
- autoFight = value;
- }
- }
- }
- public CommonAI.Zone.Action SetAutoFight(bool flag)
- {
- return new UnitGuardAction(UnitMgr.Instance.ActorId, flag, CommonAI.XmdsConstConfig.AUTO_GUARD_MODE_POINT);
- }
- }
- }
|