<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://umamusu.wiki/Module:Game/Supports/Data/Events/history?feed=atom</id>
	<title>Module:Game/Supports/Data/Events - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://umamusu.wiki/Module:Game/Supports/Data/Events/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://umamusu.wiki/Module:Game/Supports/Data/Events/history"/>
	<updated>2026-06-04T03:22:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://umamusu.wiki/w/index.php?title=Module:Game/Supports/Data/Events&amp;diff=37553&amp;oldid=prev</id>
		<title>GitBot: Automated from Git</title>
		<link rel="alternate" type="text/html" href="https://umamusu.wiki/w/index.php?title=Module:Game/Supports/Data/Events&amp;diff=37553&amp;oldid=prev"/>
		<updated>2025-08-01T01:13:11Z</updated>

		<summary type="html">&lt;p&gt;Automated from Git&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:13, 1 August 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--[[&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    !! THIS PAGE IS MANAGED BY GITLAB !!&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    ANY EDITS TO PAGE CONTENT WILL BE OVERWRITTEN&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    TO MAKE CHANGES, PLEASE SUBMIT A MERGE REQUEST AT https://gitlab.com/umamusume-wiki/lua-modules&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Events = {}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Events = {}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Game = require(&amp;quot;Module:Game&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Game = require(&amp;quot;Module:Game&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>GitBot</name></author>
	</entry>
	<entry>
		<id>https://umamusu.wiki/w/index.php?title=Module:Game/Supports/Data/Events&amp;diff=37548&amp;oldid=prev</id>
		<title>GitBot: Automated from Git</title>
		<link rel="alternate" type="text/html" href="https://umamusu.wiki/w/index.php?title=Module:Game/Supports/Data/Events&amp;diff=37548&amp;oldid=prev"/>
		<updated>2025-08-01T01:10:00Z</updated>

		<summary type="html">&lt;p&gt;Automated from Git&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local Events = {}&lt;br /&gt;
local Game = require(&amp;quot;Module:Game&amp;quot;)&lt;br /&gt;
local Data = require(&amp;quot;Module:Game/TrainingEvents/Data&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
---Get a list of events for the given support card and character IDs&lt;br /&gt;
---@param supportIds string[] list of support card ids&lt;br /&gt;
---@param charaIds string[] list of character ids&lt;br /&gt;
---@return [TrainingEventData[][], TrainingEventData[][]] cardEvents list of events by [support id, character id]&lt;br /&gt;
function Events.getSupportCardEvents(supportIds, charaIds)&lt;br /&gt;
    local supportIdsInsert = table.concat(supportIds, &amp;#039;,&amp;#039;)&lt;br /&gt;
    local charaIdsInsert = table.concat(charaIds, &amp;#039;,&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    local single_mode_story_datas = Game.queryMaster {&lt;br /&gt;
        from = &amp;quot;single_mode_story_data&amp;quot;,&lt;br /&gt;
        where = string.format(&amp;quot;(support_card_id IN (%s) OR support_chara_id IN (%s)) AND gallery_flag = 2&amp;quot;, supportIdsInsert, charaIdsInsert)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    local eventIds = {}&lt;br /&gt;
    for _, single_mode_story_data in ipairs(single_mode_story_datas) do&lt;br /&gt;
        table.insert(eventIds, single_mode_story_data.id)&lt;br /&gt;
    end&lt;br /&gt;
    local trainingEventMap = Data.getTrainingEvents(eventIds)&lt;br /&gt;
&lt;br /&gt;
    local supportEventList = {}&lt;br /&gt;
    local charaEventList = {}&lt;br /&gt;
&lt;br /&gt;
    for _, single_mode_story_data in ipairs(single_mode_story_datas) do&lt;br /&gt;
        local mapped = trainingEventMap[single_mode_story_data.id]&lt;br /&gt;
        if mapped ~= nil then&lt;br /&gt;
            if tonumber(single_mode_story_data.support_card_id) &amp;gt; 0 then&lt;br /&gt;
                local key = single_mode_story_data.support_card_id&lt;br /&gt;
                if not supportEventList[key] then supportEventList[key] = {} end&lt;br /&gt;
                table.insert(supportEventList[key], mapped)&lt;br /&gt;
            end&lt;br /&gt;
            if tonumber(single_mode_story_data.support_chara_id) &amp;gt; 0 then&lt;br /&gt;
                local key = single_mode_story_data.support_chara_id&lt;br /&gt;
                if not charaEventList[key] then charaEventList[key] = {} end&lt;br /&gt;
                table.insert(charaEventList[key], mapped)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return { supportEventList, charaEventList }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return Events&lt;/div&gt;</summary>
		<author><name>GitBot</name></author>
	</entry>
</feed>