Applying this attribute to a property in MultiplayerOptions.cs does the following things:
More...
Inherits Attribute.
- It makes it automatically available as a console command for dedicated server.
- By applying the proper ReplicationOccurrence, you get extra checks if you forget to replicate this property to clients.
◆ ReplicationOccurrence
Enumerator |
---|
Never | |
AtMapLoad | |
Immediately | |
◆ MultiplayerOptionsProperty()
TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.MultiplayerOptionsProperty |
( |
MultiplayerOptions::OptionValueType |
optionValueType, |
|
|
ReplicationOccurrence |
replicationOccurrence, |
|
|
string |
description = null , |
|
|
int |
boundsMin = 0 , |
|
|
int |
boundsMax = 0 , |
|
|
string[] |
validGameModes = null , |
|
|
bool |
hasMultipleSelections = false , |
|
|
Type |
enumType = null |
|
) |
| |
◆ OptionValueType
◆ Replication
◆ Description
readonly string TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.Description |
◆ BoundsMin
readonly int TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.BoundsMin |
◆ BoundsMax
readonly int TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.BoundsMax |
◆ ValidGameModes
readonly string [] TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.ValidGameModes |
◆ HasMultipleSelections
readonly bool TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.HasMultipleSelections |
◆ EnumType
readonly Type TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.EnumType |
◆ HasBounds
bool TaleWorlds.MountAndBlade.MultiplayerOptionsProperty.HasBounds |
|
get |