static int set_voiceController(IntPtr L)
    {
        object o = null;

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

        try
        {
            o = ToLua.ToObject(L, 1);
            NTGBattlePlayerController      obj = (NTGBattlePlayerController)o;
            UTGBattlePlayerVoiceController ret = obj.voiceController;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index voiceController on a nil value" : e.Message));
        }
    }