static int get_aic(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); NTGBattlePlayerController obj = (NTGBattlePlayerController)o; UTGBattlePlayerAIController ret = obj.aic; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index aic on a nil value" : e.Message)); } }
static int set_aic(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); NTGBattlePlayerController obj = (NTGBattlePlayerController)o; UTGBattlePlayerAIController arg0 = (UTGBattlePlayerAIController)ToLua.CheckUnityObject(L, 2, typeof(UTGBattlePlayerAIController)); obj.aic = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index aic on a nil value" : e.Message)); } }