ConstructFromXML() public method

public ConstructFromXML ( XML cxml ) : void
cxml FairyGUI.Utils.XML
return void
Esempio n. 1
0
 static public int ConstructFromXML(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         FairyGUI.Utils.XML a1;
         checkType(l, 2, out a1);
         self.ConstructFromXML(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Esempio n. 2
0
 static int ConstructFromXML(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GComboBox obj  = (FairyGUI.GComboBox)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComboBox));
         FairyGUI.Utils.XML arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject(L, 2, typeof(FairyGUI.Utils.XML));
         obj.ConstructFromXML(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }