Inherits TaleWorlds.Core.PeerComponent.
|
delegate void | OnUpdateEquipmentSetIndexEventDelegate (MissionPeer lobbyPeer, int equipmentSetIndex) |
|
delegate void | OnPerkUpdateEventDelegate (MissionPeer peer) |
|
delegate void | OnTeamChangedDelegate (NetworkCommunicator peer, Team previousTeam, Team newTeam) |
|
delegate void | OnCultureChangedDelegate (BasicCultureObject newCulture) |
|
delegate void | OnPlayerKilledDelegate (MissionPeer killerPeer, MissionPeer killedPeer) |
|
| MissionPeer () |
|
void | SetMutedFromPlatform (bool isMuted) |
|
void | SetMuted (bool isMuted) |
|
void | ResetRequestedKickPollCount () |
|
void | IncrementRequestedKickPollCount () |
|
int | GetSelectedPerkIndexWithPerkListIndex (int troopIndex, int perkListIndex) |
|
bool | SelectPerk (int perkListIndex, int perkIndex, int enforcedSelectedTroopIndex=-1) |
|
void | HandleVoteChange (CultureVoteTypes voteType, BasicCultureObject culture) |
|
override void | OnFinalize () |
|
override void | OnInitialize () |
|
int | GetAmountOfAgentVisualsForPeer () |
|
PeerVisualsHolder | GetVisuals (int visualIndex) |
|
void | ClearVisuals (int visualIndex) |
|
void | ClearAllVisuals (bool freeResources=false) |
|
void | OnVisualsSpawned (PeerVisualsHolder visualsHolder, int visualIndex) |
|
IEnumerable< IAgentVisual > | GetAllAgentVisualsForPeer () |
|
IAgentVisual | GetAgentVisualForPeer (int visualsIndex) |
|
IAgentVisual | GetAgentVisualForPeer (int visualsIndex, out IAgentVisual mountAgentVisuals) |
|
void | TickInactivityStatus () |
|
void | OnKillAnotherPeer (MissionPeer victimPeer) |
|
void | OverrideCultureWithTeamCulture () |
|
int | GetNumberOfTimesPeerKilledPeer (MissionPeer killedPeer) |
|
void | ResetKillRegistry () |
|
void | OnTeamInitialPerkInfoReceived (int[] perks) |
|
virtual void | Initialize () |
|
T | GetComponent< T > () |
|
virtual void | OnInitialize () |
|
virtual void | OnFinalize () |
|
void | OnInitialize () |
|
void | OnFinalize () |
|
|
DateTime | JoinTime [get] |
|
bool | EquipmentUpdatingExpired = false [get, set] |
|
bool | TeamInitialPerkInfoReady [get] |
|
bool | HasSpawnedAgentVisuals [get, set] |
|
int | SelectedTroopIndex [get, set] |
|
int | NextSelectedTroopIndex [get, set] |
|
MissionRepresentativeBase | Representative [get] |
|
IReadOnlyList< int[]> | Perks [get] |
|
string | DisplayedName [get] |
|
IReadOnlyList< MPPerkObject > | SelectedPerks [get] |
|
Timer | SpawnTimer [get] |
|
bool | HasSpawnTimerExpired [get, set] |
|
BasicCultureObject | VotedForBan [get] |
|
BasicCultureObject | VotedForSelection [get] |
|
bool | WantsToSpawnAsBot [get, set] |
|
int | SpawnCountThisRound [get, set] |
|
int | RequestedKickPollCount [get] |
|
int | KillCount [get] |
|
int | AssistCount [get] |
|
int | DeathCount [get] |
|
int | Score [get] |
|
int | BotsUnderControlAlive [get, set] |
|
int | BotsUnderControlTotal [get] |
|
bool | IsControlledAgentActive [get] |
|
Agent | ControlledAgent [get, set] |
|
Agent | FollowedAgent [get, set] |
|
Team | Team [get, set] |
|
BasicCultureObject | Culture [get, set] |
|
Formation | ControlledFormation [get, set] |
|
bool | IsAgentAliveForChatting [get] |
|
bool | IsMutedFromPlatform [get] |
|
bool | IsMuted [get] |
|
bool | IsMutedFromGameOrPlatform [get] |
|
VirtualPlayer | Peer [get, set] |
|
string | Name [get] |
| Platform provided (GDK, Steam, etc.) name of the peer. Used in logging. MissionPeer.DisplayedName is used to display the name in game. More...
|
|
bool | IsMine [get] |
|
uint | TypeId [get, set] |
|
◆ MissionPeer()
TaleWorlds.MountAndBlade.MissionPeer.MissionPeer |
( |
| ) |
|
◆ OnUpdateEquipmentSetIndexEventDelegate()
delegate void TaleWorlds.MountAndBlade.MissionPeer.OnUpdateEquipmentSetIndexEventDelegate |
( |
MissionPeer |
lobbyPeer, |
|
|
int |
equipmentSetIndex |
|
) |
| |
◆ OnPerkUpdateEventDelegate()
delegate void TaleWorlds.MountAndBlade.MissionPeer.OnPerkUpdateEventDelegate |
( |
MissionPeer |
peer | ) |
|
◆ OnTeamChangedDelegate()
◆ OnCultureChangedDelegate()
delegate void TaleWorlds.MountAndBlade.MissionPeer.OnCultureChangedDelegate |
( |
BasicCultureObject |
newCulture | ) |
|
◆ OnPlayerKilledDelegate()
delegate void TaleWorlds.MountAndBlade.MissionPeer.OnPlayerKilledDelegate |
( |
MissionPeer |
killerPeer, |
|
|
MissionPeer |
killedPeer |
|
) |
| |
◆ SetMutedFromPlatform()
void TaleWorlds.MountAndBlade.MissionPeer.SetMutedFromPlatform |
( |
bool |
isMuted | ) |
|
◆ SetMuted()
void TaleWorlds.MountAndBlade.MissionPeer.SetMuted |
( |
bool |
isMuted | ) |
|
◆ ResetRequestedKickPollCount()
void TaleWorlds.MountAndBlade.MissionPeer.ResetRequestedKickPollCount |
( |
| ) |
|
◆ IncrementRequestedKickPollCount()
void TaleWorlds.MountAndBlade.MissionPeer.IncrementRequestedKickPollCount |
( |
| ) |
|
◆ GetSelectedPerkIndexWithPerkListIndex()
int TaleWorlds.MountAndBlade.MissionPeer.GetSelectedPerkIndexWithPerkListIndex |
( |
int |
troopIndex, |
|
|
int |
perkListIndex |
|
) |
| |
◆ SelectPerk()
bool TaleWorlds.MountAndBlade.MissionPeer.SelectPerk |
( |
int |
perkListIndex, |
|
|
int |
perkIndex, |
|
|
int |
enforcedSelectedTroopIndex = -1 |
|
) |
| |
◆ HandleVoteChange()
◆ OnFinalize()
override void TaleWorlds.MountAndBlade.MissionPeer.OnFinalize |
( |
| ) |
|
|
virtual |
◆ OnInitialize()
override void TaleWorlds.MountAndBlade.MissionPeer.OnInitialize |
( |
| ) |
|
|
virtual |
◆ GetAmountOfAgentVisualsForPeer()
int TaleWorlds.MountAndBlade.MissionPeer.GetAmountOfAgentVisualsForPeer |
( |
| ) |
|
◆ GetVisuals()
◆ ClearVisuals()
void TaleWorlds.MountAndBlade.MissionPeer.ClearVisuals |
( |
int |
visualIndex | ) |
|
◆ ClearAllVisuals()
void TaleWorlds.MountAndBlade.MissionPeer.ClearAllVisuals |
( |
bool |
freeResources = false | ) |
|
◆ OnVisualsSpawned()
void TaleWorlds.MountAndBlade.MissionPeer.OnVisualsSpawned |
( |
PeerVisualsHolder |
visualsHolder, |
|
|
int |
visualIndex |
|
) |
| |
◆ GetAllAgentVisualsForPeer()
IEnumerable< IAgentVisual > TaleWorlds.MountAndBlade.MissionPeer.GetAllAgentVisualsForPeer |
( |
| ) |
|
◆ GetAgentVisualForPeer() [1/2]
IAgentVisual TaleWorlds.MountAndBlade.MissionPeer.GetAgentVisualForPeer |
( |
int |
visualsIndex | ) |
|
◆ GetAgentVisualForPeer() [2/2]
IAgentVisual TaleWorlds.MountAndBlade.MissionPeer.GetAgentVisualForPeer |
( |
int |
visualsIndex, |
|
|
out IAgentVisual |
mountAgentVisuals |
|
) |
| |
◆ TickInactivityStatus()
void TaleWorlds.MountAndBlade.MissionPeer.TickInactivityStatus |
( |
| ) |
|
◆ OnKillAnotherPeer()
void TaleWorlds.MountAndBlade.MissionPeer.OnKillAnotherPeer |
( |
MissionPeer |
victimPeer | ) |
|
◆ OverrideCultureWithTeamCulture()
void TaleWorlds.MountAndBlade.MissionPeer.OverrideCultureWithTeamCulture |
( |
| ) |
|
◆ GetNumberOfTimesPeerKilledPeer()
int TaleWorlds.MountAndBlade.MissionPeer.GetNumberOfTimesPeerKilledPeer |
( |
MissionPeer |
killedPeer | ) |
|
◆ ResetKillRegistry()
void TaleWorlds.MountAndBlade.MissionPeer.ResetKillRegistry |
( |
| ) |
|
◆ OnTeamInitialPerkInfoReceived()
void TaleWorlds.MountAndBlade.MissionPeer.OnTeamInitialPerkInfoReceived |
( |
int[] |
perks | ) |
|
◆ NumberOfPerkLists
const int TaleWorlds.MountAndBlade.MissionPeer.NumberOfPerkLists = 3 |
|
static |
◆ MaxNumberOfTroopTypesPerCulture
const int TaleWorlds.MountAndBlade.MissionPeer.MaxNumberOfTroopTypesPerCulture = 16 |
|
static |
◆ MinKDACount
const int TaleWorlds.MountAndBlade.MissionPeer.MinKDACount = -1000 |
|
static |
◆ MaxKDACount
const int TaleWorlds.MountAndBlade.MissionPeer.MaxKDACount = 100000 |
|
static |
◆ MinScore
const int TaleWorlds.MountAndBlade.MissionPeer.MinScore = -1000000 |
|
static |
◆ MaxScore
const int TaleWorlds.MountAndBlade.MissionPeer.MaxScore = 1000000 |
|
static |
◆ MinSpawnTimer
const int TaleWorlds.MountAndBlade.MissionPeer.MinSpawnTimer = 3 |
|
static |
◆ CaptainBeingDetachedThreshold
int TaleWorlds.MountAndBlade.MissionPeer.CaptainBeingDetachedThreshold = 125 |
◆ JoinTime
DateTime TaleWorlds.MountAndBlade.MissionPeer.JoinTime |
|
get |
◆ EquipmentUpdatingExpired
bool TaleWorlds.MountAndBlade.MissionPeer.EquipmentUpdatingExpired = false |
|
getset |
◆ TeamInitialPerkInfoReady
bool TaleWorlds.MountAndBlade.MissionPeer.TeamInitialPerkInfoReady |
|
get |
◆ HasSpawnedAgentVisuals
bool TaleWorlds.MountAndBlade.MissionPeer.HasSpawnedAgentVisuals |
|
getset |
◆ SelectedTroopIndex
int TaleWorlds.MountAndBlade.MissionPeer.SelectedTroopIndex |
|
getset |
◆ NextSelectedTroopIndex
int TaleWorlds.MountAndBlade.MissionPeer.NextSelectedTroopIndex |
|
getset |
◆ Representative
◆ Perks
IReadOnlyList<int[]> TaleWorlds.MountAndBlade.MissionPeer.Perks |
|
get |
◆ DisplayedName
string TaleWorlds.MountAndBlade.MissionPeer.DisplayedName |
|
get |
◆ SelectedPerks
IReadOnlyList<MPPerkObject> TaleWorlds.MountAndBlade.MissionPeer.SelectedPerks |
|
get |
◆ SpawnTimer
Timer TaleWorlds.MountAndBlade.MissionPeer.SpawnTimer |
|
get |
◆ HasSpawnTimerExpired
bool TaleWorlds.MountAndBlade.MissionPeer.HasSpawnTimerExpired |
|
getset |
◆ VotedForBan
◆ VotedForSelection
◆ WantsToSpawnAsBot
bool TaleWorlds.MountAndBlade.MissionPeer.WantsToSpawnAsBot |
|
getset |
◆ SpawnCountThisRound
int TaleWorlds.MountAndBlade.MissionPeer.SpawnCountThisRound |
|
getset |
◆ RequestedKickPollCount
int TaleWorlds.MountAndBlade.MissionPeer.RequestedKickPollCount |
|
get |
◆ KillCount
int TaleWorlds.MountAndBlade.MissionPeer.KillCount |
|
get |
◆ AssistCount
int TaleWorlds.MountAndBlade.MissionPeer.AssistCount |
|
get |
◆ DeathCount
int TaleWorlds.MountAndBlade.MissionPeer.DeathCount |
|
get |
◆ Score
int TaleWorlds.MountAndBlade.MissionPeer.Score |
|
get |
◆ BotsUnderControlAlive
int TaleWorlds.MountAndBlade.MissionPeer.BotsUnderControlAlive |
|
getset |
◆ BotsUnderControlTotal
int TaleWorlds.MountAndBlade.MissionPeer.BotsUnderControlTotal |
|
get |
◆ IsControlledAgentActive
bool TaleWorlds.MountAndBlade.MissionPeer.IsControlledAgentActive |
|
get |
◆ ControlledAgent
Agent TaleWorlds.MountAndBlade.MissionPeer.ControlledAgent |
|
getset |
◆ FollowedAgent
Agent TaleWorlds.MountAndBlade.MissionPeer.FollowedAgent |
|
getset |
◆ Team
Team TaleWorlds.MountAndBlade.MissionPeer.Team |
|
getset |
◆ Culture
◆ ControlledFormation
Formation TaleWorlds.MountAndBlade.MissionPeer.ControlledFormation |
|
getset |
◆ IsAgentAliveForChatting
bool TaleWorlds.MountAndBlade.MissionPeer.IsAgentAliveForChatting |
|
get |
◆ IsMutedFromPlatform
bool TaleWorlds.MountAndBlade.MissionPeer.IsMutedFromPlatform |
|
get |
◆ IsMuted
bool TaleWorlds.MountAndBlade.MissionPeer.IsMuted |
|
get |
◆ IsMutedFromGameOrPlatform
bool TaleWorlds.MountAndBlade.MissionPeer.IsMutedFromGameOrPlatform |
|
get |
◆ OnEquipmentIndexRefreshed
◆ OnPerkSelectionUpdated
◆ OnPreTeamChanged
◆ OnTeamChanged
◆ OnPlayerKilled