local e=require(script.Parent.Parent.Type)local Q={}local o={__tostring=function(e)return("\082\111\097\099\116\072\111\115\116\069\118\101\110\116\040\037\115\041"):format(e.name)end}setmetatable(Q,{__index=function(H,Z)local M={[e]=e.HostEvent,name=Z}setmetatable(M,o)Q[Z]=M return M end})return Q


local Type = require(script.Parent.Parent.Type)

local Event = {}

local eventMetatable = {
	__tostring = function(self)
		return ("RoactHostEvent(%s)"):format(self.name)
	end,
}

setmetatable(Event, {
	__index = function(self, eventName)
		local event = {
			[Type] = Type.HostEvent,
			name = eventName,
		}

		setmetatable(event, eventMetatable)

		Event[eventName] = event

		return event
	end,
})

return Event
