4 [
Attribute(
desc:
"Text used when starting a vote about something.")]
7 [
Attribute(
"",
desc:
"Text used when canceling your vote about something.")]
10 [
Attribute(
"",
desc:
"Text used when currently abstaining but want to revote to yes. Leave empty to use normal vote string")]
13 [
Attribute(
"",
desc:
"When a vote is in progress and the player has not yet voted or abstained.")]
16 [
Attribute(
desc:
"Text shown consistently when the vote is active. %1 is player that is voted for")]
19 [
Attribute(
ENotification.UNKNOWN.ToString(),
desc:
"The Start notification id to which the voting type is linked. Leave UNKNOWN to not have a notification", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
ENotification))]
22 [
Attribute(
ENotification.UNKNOWN.ToString(),
desc:
"The Succeed notification id to which the voting type is linked. Leave UNKNOWN to not have a notification", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
ENotification))]
25 [
Attribute(
ENotification.UNKNOWN.ToString(),
desc:
"The Fail notification id to which the voting type is linked. Leave UNKNOWN to not have a notification", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
ENotification))]
28 [
Attribute(
ENotification.UNKNOWN.ToString(),
desc:
"Local notification send when player casts vote. Leave UNKNOWN to not have a notification", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
ENotification))]
31 [
Attribute(
ENotification.UNKNOWN.ToString(),
desc:
"Local notification send when player abstains from voting. Leave UNKNOWN to not have a notification", uiwidget: UIWidgets.SearchComboBox, enums: ParamEnumArray.FromEnum(
ENotification))]
36 string GetStartVotingName()
39 return m_sStartVotingName;
41 return "ERROR MISSING START VOTE IN UIINFO";
46 string GetCancelVotingName()
49 return m_sCancelVotingName;
51 return "ERROR MISSING CANCEL VOTE IN UIINFO";
56 string GetRevoteName()
66 string GetAbstainVoteName()
69 return m_sAbstainVoteName;
71 return "ERROR MISSING ABSTAIN VOTE IN UIINFO";
77 string GetStickyNotificationText()
79 return m_sStickyNotificationText;
87 return m_iStartNotificationId;
95 return m_iSucceededNotificationId;
103 return m_iFailedNotificationId;
111 return m_eVoteCastedLocalNotification;
119 return m_eVoteAbstainedLocalNotification;