Back to Home

ESO Lua File v101050

ingame/zo_quest/rumordata.lua

[◄ back to folders ]
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
ZO_RumorData = ZO_InitializingObject:Subclass()
function ZO_RumorData:Initialize(rumorId)
    self.rumorId = rumorId
end
function ZO_RumorData:GetId()
    return self.rumorId
end
function ZO_RumorData:GetRumorType()
    return GetRumorType(self.rumorId)
end
function ZO_RumorData:IsRumorType(rumorType)
    return GetRumorType(self.rumorId) == rumorType
end
function ZO_RumorData:IsPending()
    return IsRumorPending(self.rumorId)
end
function ZO_RumorData:IsComplete()
    return IsRumorComplete(self.rumorId)
end
function ZO_RumorData:IsNotComplete()
    return not self:IsComplete()
end
function ZO_RumorData:GetDisplayName()
    return GetRumorDisplayName(self.rumorId)
end
function ZO_RumorData:GetFormattedDisplayName()
    return zo_strformat(SI_RUMOR_NAME_FORMATTER, GetRumorDisplayName(self.rumorId))
end
function ZO_RumorData:GetBackgroundText()
    return GetRumorBackgroundText(self.rumorId)
end
function ZO_RumorData:GetCompleteText()
    return GetRumorCompleteText(self.rumorId)
end
function ZO_RumorData:GetNumHints()
    return GetNumHintsForPendingRumor(self.rumorId)
end
function ZO_RumorData:HasDiscoveredHint(hintIndex)
    return HasDiscoveredRumorHint(self.rumorId, hintIndex)
end
function ZO_RumorData:GetHintDisplayName(hintIndex)
    return GetRumorHintDisplayName(self.rumorId, hintIndex)
end
function ZO_RumorData:GetHintDescription(hintIndex)
    return GetRumorHintDescription(self.rumorId, hintIndex)
end
function ZO_RumorData:GetHintIcon(hintIndex)
    return GetRumorHintIcon(self.rumorId, hintIndex)
end
function ZO_RumorData:GetHintBook(hintIndex)
    return GetRumorHintBook(self.rumorId, hintIndex)
end