GameFramework.EntityController.CancelCastSkill C# (CSharp) Method

CancelCastSkill() private method

private CancelCastSkill ( int actorId ) : void
actorId int
return void
        internal void CancelCastSkill(int actorId)
        {
            EntityViewModel view = GetEntityViewById(actorId);
            if (null != view && null != view.Entity) {
                view.Entity.IsControlByManual = false;
            }
        }

Usage Example

示例#1
0
 static public int CancelCastSkill(IntPtr l)
 {
     try {
         GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         self.CancelCastSkill(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }