M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Member Functions | |
MultiplayerIntermissionVotingManager () | |
void | AddMapItem (string mapID) |
void | AddCultureItem (string cultureID) |
void | AddVote (PlayerId voterID, string itemID, int voteCount) |
void | SetVotesOfMap (int mapItemIndex, int voteCount) |
void | SetVotesOfCulture (int cultureItemIndex, int voteCount) |
void | ClearVotes () |
void | ClearItems () |
bool | IsCultureItem (string itemID) |
bool | IsMapItem (string itemID) |
void | HandlePlayerDisconnect (PlayerId playerID) |
bool | IsPeerVotedForItem (NetworkCommunicator peer, string itemID) |
void | SortVotesAndPickBest () |
Public Attributes | |
bool | IsMapVoteEnabled |
bool | IsCultureVoteEnabled |
MultiplayerIntermissionState | CurrentVoteState |
Static Public Attributes | |
const int | MaxAllowedMapCount = 100 |
Properties | |
static MultiplayerIntermissionVotingManager | Instance [get] |
List< IntermissionVoteItem > | MapVoteItems [get] |
List< IntermissionVoteItem > | CultureVoteItems [get] |
TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.MultiplayerIntermissionVotingManager | ( | ) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.AddMapItem | ( | string | mapID | ) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.AddCultureItem | ( | string | cultureID | ) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.AddVote | ( | PlayerId | voterID, |
string | itemID, | ||
int | voteCount | ||
) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.SetVotesOfMap | ( | int | mapItemIndex, |
int | voteCount | ||
) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.SetVotesOfCulture | ( | int | cultureItemIndex, |
int | voteCount | ||
) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.ClearVotes | ( | ) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.ClearItems | ( | ) |
bool TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.IsCultureItem | ( | string | itemID | ) |
bool TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.IsMapItem | ( | string | itemID | ) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.HandlePlayerDisconnect | ( | PlayerId | playerID | ) |
bool TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.IsPeerVotedForItem | ( | NetworkCommunicator | peer, |
string | itemID | ||
) |
void TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.SortVotesAndPickBest | ( | ) |
|
static |
bool TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.IsMapVoteEnabled |
bool TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.IsCultureVoteEnabled |
MultiplayerIntermissionState TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.CurrentVoteState |
|
staticget |
|
get |
|
get |
MapItemAddedDelegate TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.OnMapItemAdded |
CultureItemAddedDelegate TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.OnCultureItemAdded |
MapItemVoteCountChangedDelegate TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.OnMapItemVoteCountChanged |
CultureItemVoteCountChangedDelegate TaleWorlds.MountAndBlade.MultiplayerIntermissionVotingManager.OnCultureItemVoteCountChanged |