public static int get_m_chatInfo(IntPtr l) { int result; try { PlayerVoiceHandleThread.VoicePacket voicePacket = (PlayerVoiceHandleThread.VoicePacket)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, voicePacket.m_chatInfo); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { PlayerVoiceHandleThread.VoicePacket o = new PlayerVoiceHandleThread.VoicePacket(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetInputBufferData(IntPtr l) { int result; try { PlayerVoiceHandleThread playerVoiceHandleThread = (PlayerVoiceHandleThread)LuaObject.checkSelf(l); PlayerVoiceHandleThread.VoicePacket inputBufferData = playerVoiceHandleThread.m_luaExportHelper.GetInputBufferData(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, inputBufferData); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_chatInfo(IntPtr l) { int result; try { PlayerVoiceHandleThread.VoicePacket voicePacket = (PlayerVoiceHandleThread.VoicePacket)LuaObject.checkSelf(l); ChatVoiceInfo chatInfo; LuaObject.checkType <ChatVoiceInfo>(l, 2, out chatInfo); voicePacket.m_chatInfo = chatInfo; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_srcData(IntPtr l) { int result; try { PlayerVoiceHandleThread.VoicePacket voicePacket = (PlayerVoiceHandleThread.VoicePacket)LuaObject.checkSelf(l); float[] srcData; LuaObject.checkArray <float>(l, 2, out srcData); voicePacket.m_srcData = srcData; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_isValid(IntPtr l) { int result; try { PlayerVoiceHandleThread.VoicePacket voicePacket = (PlayerVoiceHandleThread.VoicePacket)LuaObject.checkSelf(l); bool isValid; LuaObject.checkType(l, 2, out isValid); voicePacket.m_isValid = isValid; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_type(IntPtr l) { int result; try { PlayerVoiceHandleThread.VoicePacket voicePacket = (PlayerVoiceHandleThread.VoicePacket)LuaObject.checkSelf(l); DataType type; LuaObject.checkEnum <DataType>(l, 2, out type); voicePacket.m_type = type; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }