M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Member Functions | |
VirtualPlayer (int index, string name, PlayerId playerID, ICommunicator communicator) | |
T | AddComponent< T > () |
PeerComponent | AddComponent (Type peerComponentType) |
PeerComponent | AddComponent (uint componentId) |
PeerComponent | GetComponent (uint componentId) |
T | GetComponent< T > () |
PeerComponent | GetComponent (Type peerComponentType) |
void | RemoveComponent< T > (bool synched=true) |
void | RemoveComponent (PeerComponent component) |
void | OnDisconnect () |
void | SynchronizeComponentsTo (VirtualPlayer peer) |
void | UpdateIndexForReconnectingPlayer (int playerIndex) |
Static Public Member Functions | |
static List< T > | Peers< T > () |
static void | Reset () |
Public Attributes | |
readonly ICommunicator | Communicator |
Dictionary< int, List< int > > | UsedCosmetics |
Properties | |
static Dictionary< Type, object > | PeerComponents [get] |
string | BannerCode [get, set] |
BodyProperties | BodyProperties [get, set] |
int | Race [get, set] |
bool | IsFemale [get, set] |
PlayerId | Id [get, set] |
int | Index [get] |
bool | IsMine [get] |
string | UserName [get] |
Platform provided (GDK, Steam, etc.) name of the peer. Used in logging. MissionPeer.DisplayedName is used to display the name in game. | |
int | ChosenBadgeIndex [get, set] |
TaleWorlds.Core.VirtualPlayer.VirtualPlayer | ( | int | index, |
string | name, | ||
PlayerId | playerID, | ||
ICommunicator | communicator | ||
) |
|
static |
T | : | PeerComponent |
|
static |
T TaleWorlds.Core.VirtualPlayer.AddComponent< T > | ( | ) |
T | : | PeerComponent | |
T | : | new() |
PeerComponent TaleWorlds.Core.VirtualPlayer.AddComponent | ( | Type | peerComponentType | ) |
PeerComponent TaleWorlds.Core.VirtualPlayer.AddComponent | ( | uint | componentId | ) |
PeerComponent TaleWorlds.Core.VirtualPlayer.GetComponent | ( | uint | componentId | ) |
T TaleWorlds.Core.VirtualPlayer.GetComponent< T > | ( | ) |
T | : | PeerComponent |
PeerComponent TaleWorlds.Core.VirtualPlayer.GetComponent | ( | Type | peerComponentType | ) |
void TaleWorlds.Core.VirtualPlayer.RemoveComponent< T > | ( | bool | synched = true | ) |
T | : | PeerComponent |
void TaleWorlds.Core.VirtualPlayer.RemoveComponent | ( | PeerComponent | component | ) |
void TaleWorlds.Core.VirtualPlayer.OnDisconnect | ( | ) |
void TaleWorlds.Core.VirtualPlayer.SynchronizeComponentsTo | ( | VirtualPlayer | peer | ) |
void TaleWorlds.Core.VirtualPlayer.UpdateIndexForReconnectingPlayer | ( | int | playerIndex | ) |
readonly ICommunicator TaleWorlds.Core.VirtualPlayer.Communicator |
Dictionary<int, List<int> > TaleWorlds.Core.VirtualPlayer.UsedCosmetics |
|
staticget |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
getset |