function methods.InternalDestroy(P)for O,Q in pairs(P.Channels)do Q:InternalRemoveSpeaker(P)end P.eDestroyed:Fire()P.eDestroyed:Destroy()P.eSaidMessage:Destroy()P.eReceivedMessage:Destroy()P.eReceivedUnfilteredMessage:Destroy()P.eMessageDoneFiltering:Destroy()P.eReceivedSystemMessage:Destroy()P.eChannelJoined:Destroy()P.eChannelLeft:Destroy()P.eMuted:Destroy()P.eUnmuted:Destroy()P.eExtraDataUpdated:Destroy()P.eMainChannelSet:Destroy()P.eChannelNameColorUpdated:Destroy()end function methods.InternalAssignPlayerObject(O,P)O.PlayerObj=P end function methods.InternalSendMessage(Q,P,O)local G,v=pcall(function()Q.eReceivedUnfilteredMessage:Fire(P,O)end)if not G and v then print("\069\114\114\111\114 \115\101\110\100\105\110\103 \105\110\116\101\114\110\097\108 \109\101\115\115\097\103\101\058 "..v)end end function methods.InternalSendFilteredMessage(Q,P,O)local G,v=pcall(function()Q.eReceivedMessage:Fire(P,O)Q.eMessageDoneFiltering:Fire(P,O)end)if not G and v then print("\069\114\114\111\114 \115\101\110\100\105\110\103 \105\110\116\101\114\110\097\108 \102\105\108\116\101\114\101\100 \109\101\115\115\097\103\101\058 "..v)end end
--///////////////// Internal-Use Methods
--//////////////////////////////////////
function methods:InternalDestroy()
	for i, channel in pairs(self.Channels) do
		channel:InternalRemoveSpeaker(self)
	end

	self.eDestroyed:Fire()

	self.eDestroyed:Destroy()
	self.eSaidMessage:Destroy()
	self.eReceivedMessage:Destroy()
	self.eReceivedUnfilteredMessage:Destroy()
	self.eMessageDoneFiltering:Destroy()
	self.eReceivedSystemMessage:Destroy()
	self.eChannelJoined:Destroy()
	self.eChannelLeft:Destroy()
	self.eMuted:Destroy()
	self.eUnmuted:Destroy()
	self.eExtraDataUpdated:Destroy()
	self.eMainChannelSet:Destroy()
	self.eChannelNameColorUpdated:Destroy()
end

function methods:InternalAssignPlayerObject(playerObj)
	self.PlayerObj = playerObj
end

function methods:InternalSendMessage(messageObj, channelName)
	local success, err = pcall(function()
		self.eReceivedUnfilteredMessage:Fire(messageObj, channelName)
	end)
	if not success and err then
		print("Error sending internal message: " .. err)
	end
end

function methods:InternalSendFilteredMessage(messageObj, channelName)
	local success, err = pcall(function()
		self.eReceivedMessage:Fire(messageObj, channelName)
		self.eMessageDoneFiltering:Fire(messageObj, channelName)
	end)
	if not success and err then
		print("Error sending internal filtered message: " .. err)
	end
end
