예제 #1
0
        public IUnitDef GetUnitDef(int deployedid)
        {
            IntPtr unitdefptr = ABICInterface.IAICallback_GetUnitDef(self, deployedid);

            if (unitdefptr == IntPtr.Zero)
            {
                return(null);
            }
            return(new UnitDef(unitdefptr));
        }