M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Public Member Functions | |
Banner () | |
Banner (Banner banner) | |
Banner (string bannerKey) | |
Banner (string bannerKey, uint color1, uint color2) | |
void | SetBannerVisual (IBannerVisual visual) |
void | ChangePrimaryColor (UInt32 mainColor) |
void | ChangeBackgroundColor (UInt32 primaryColor, UInt32 secondaryColor) |
void | ChangeIconColors (UInt32 color) |
void | RotateBackgroundToRight () |
void | RotateBackgroundToLeft () |
void | SetBackgroundMeshId (int meshId) |
string | Serialize () |
void | Deserialize (string message) |
void | ClearAllIcons () |
void | AddIconData (BannerData iconData) |
void | AddIconData (BannerData iconData, int index) |
void | RemoveIconDataAtIndex (int index) |
uint | GetPrimaryColor () |
uint | GetSecondaryColor () |
uint | GetFirstIconColor () |
int | GetVersionNo () |
Static Public Member Functions | |
static Banner | CreateRandomClanBanner (int seed=-1) |
static Banner | CreateRandomBanner () |
static Banner | CreateOneColoredEmptyBanner (int colorIndex) |
static Banner | CreateOneColoredBannerWithOneIcon (uint backgroundColor, uint iconColor, int iconMeshId) |
static string | GetBannerCodeFromBannerDataList (MBList< BannerData > bannerDataList) |
static List< BannerData > | GetBannerDataFromBannerCode (string bannerCode) |
Static Public Attributes | |
const int | MaxSize = 8000 |
const int | BannerFullSize = 1528 |
const int | BannerEditableAreaSize = 512 |
const int | MaxIconCount = 32 |
const int | BackgroundDataIndex = 0 |
const int | BannerIconDataIndex = 1 |
Properties | |
MBReadOnlyList< BannerData > | BannerDataList [get] |
IBannerVisual | BannerVisual [get] |
TaleWorlds.Core.Banner.Banner | ( | ) |
TaleWorlds.Core.Banner.Banner | ( | Banner | banner | ) |
TaleWorlds.Core.Banner.Banner | ( | string | bannerKey | ) |
TaleWorlds.Core.Banner.Banner | ( | string | bannerKey, |
uint | color1, | ||
uint | color2 | ||
) |
void TaleWorlds.Core.Banner.SetBannerVisual | ( | IBannerVisual | visual | ) |
void TaleWorlds.Core.Banner.ChangePrimaryColor | ( | UInt32 | mainColor | ) |
void TaleWorlds.Core.Banner.ChangeBackgroundColor | ( | UInt32 | primaryColor, |
UInt32 | secondaryColor | ||
) |
void TaleWorlds.Core.Banner.ChangeIconColors | ( | UInt32 | color | ) |
void TaleWorlds.Core.Banner.RotateBackgroundToRight | ( | ) |
void TaleWorlds.Core.Banner.RotateBackgroundToLeft | ( | ) |
void TaleWorlds.Core.Banner.SetBackgroundMeshId | ( | int | meshId | ) |
string TaleWorlds.Core.Banner.Serialize | ( | ) |
void TaleWorlds.Core.Banner.Deserialize | ( | string | message | ) |
void TaleWorlds.Core.Banner.ClearAllIcons | ( | ) |
void TaleWorlds.Core.Banner.AddIconData | ( | BannerData | iconData | ) |
void TaleWorlds.Core.Banner.AddIconData | ( | BannerData | iconData, |
int | index | ||
) |
void TaleWorlds.Core.Banner.RemoveIconDataAtIndex | ( | int | index | ) |
|
static |
|
static |
|
static |
|
static |
uint TaleWorlds.Core.Banner.GetPrimaryColor | ( | ) |
uint TaleWorlds.Core.Banner.GetSecondaryColor | ( | ) |
uint TaleWorlds.Core.Banner.GetFirstIconColor | ( | ) |
int TaleWorlds.Core.Banner.GetVersionNo | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
get |
|
get |