AddShield() private method

private AddShield ( int objId, TableConfig cfg, int seq ) : void
objId int
cfg TableConfig
seq int
return void
Example #1
0
 static public int AddShield(IntPtr l)
 {
     try {
         GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         TableConfig.Skill a2;
         checkType(l, 3, out a2);
         System.Int32 a3;
         checkType(l, 4, out a3);
         self.AddShield(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }