slot0 = class("WorldInformationMediator", import("..base.ContextMediator"))
slot0.OnTriggerTask = "WorldInformationMediator.OnTriggerTask"
slot0.OnSubmitTask = "WorldInformationMediator.OnSubmitTask"
slot0.OnTaskGoto = "WorldInformationMediator.OnTaskGoto"

function slot0.register(slot0)
	slot0:bind(uv0.OnTaskGoto, function (slot0, slot1)
		uv0:sendNotification(WorldMediator.OnTriggerTaskGo, {
			taskId = slot1,
			callback = function (slot0)
				if not slot0 then
					uv0.viewComponent:closeView()
				end
			end
		})
	end)
	slot0:bind(uv0.OnTriggerTask, function (slot0, slot1)
		uv0:sendNotification(GAME.WORLD_TRIGGER_TASK, {
			taskId = slot1
		})
	end)
	slot0:bind(uv0.OnSubmitTask, function (slot0, slot1)
		uv0:sendNotification(GAME.WORLD_SUMBMIT_TASK, {
			taskId = slot1.id
		})
	end)
	slot0.viewComponent:setWorldTaskProxy(nowWorld:GetTaskProxy())
end

function slot0.listNotificationInterests(slot0)
	return {}
end

function slot0.handleNotification(slot0, slot1)
	slot2 = slot1:getName()
	slot3 = slot1:getBody()
end

return slot0
