|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
IGNORE_DATA = 1
IGNORE_LIST_ENTRY_SORT_KEYS =
{
["displayName"] = { },
}
local EVENT_NAMESPACE = "IgnoreList"
return manager
end
if(displayName == curDisplayName) then
break
end
end
end
EVENT_MANAGER:RegisterForEvent(EVENT_NAMESPACE, EVENT_SOCIAL_DATA_LOADED, function() self:OnSocialDataLoaded() end)
EVENT_MANAGER:RegisterForEvent(EVENT_NAMESPACE, EVENT_IGNORE_ADDED, function(_, displayName) self:OnIgnoreAdded(displayName) end)
EVENT_MANAGER:RegisterForEvent(EVENT_NAMESPACE, EVENT_IGNORE_REMOVED, function(_, displayName) self:OnIgnoreRemoved(displayName) end)
EVENT_MANAGER:RegisterForEvent(EVENT_NAMESPACE, EVENT_IGNORE_NOTE_UPDATED, function(_, displayName, note) self:OnIgnoreNoteUpdated(displayName, note) end)
end
if note then
end
end
for i = 1, numIgnored do
local ignoreListEntry = {
displayName = displayName,
note = note,
ignoreIndex = i,
}
end
end
end
--Events
------------
end
end
end
end
-- A singleton will be used by both keyboard and gamepad screens
|