M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.Common Class Reference

Static Public Member Functions

static byte[] CombineBytes (byte[] arr1, byte[] arr2, byte[] arr3=null, byte[] arr4=null, byte[] arr5=null)
 
static string CalculateMD5Hash (string input)
 
static string ToRoman (int number)
 
static int GetDJB2 (string str)
 
static byte[] SerializeObjectAsJson (object o)
 
static string SerializeObjectAsJsonString (object o)
 
static T DeserializeObjectFromJson< T > (string json)
 
static byte[] SerializeObject (Object sObject)
 
static Object DeserializeObject (byte[] serializeData)
 
static Object DeserializeObject (byte[] serializeData, int index, int length)
 
static byte[] FromUrlSafeBase64 (string base64)
 
static Type FindType (string typeName)
 
static void MemoryCleanupGC (bool forceTimer=false)
 
static object DynamicInvokeWithLog (this Delegate method, params object[] args)
 
static object InvokeWithLog (this MethodInfo methodInfo, object obj, params object[] args)
 
static object InvokeWithLog (this ConstructorInfo constructorInfo, params object[] args)
 
static bool TextContainsSpecialCharacters (string text)
 
static uint ParseIpAddress (string address)
 
static bool IsAllLetters (string text)
 
static bool IsAllLettersOrWhiteSpaces (string text)
 
static bool IsCharAsian (char character)
 
static void SetInvariantCulture ()
 
static MethodInfo GetMethodInfo (Expression< Action > expression)
 
static MethodInfo GetMethodInfo< T > (Expression< Action< T > > expression)
 
static MethodInfo GetMethodInfo< T, TResult > (Expression< Func< T, TResult > > expression)
 
static MethodInfo GetMethodInfo (LambdaExpression expression)
 

Properties

static IPlatformFileHelper PlatformFileHelper [get, set]
 
static string ConfigName [get]
 
static ParallelOptions ParallelOptions [get]
 

Member Function Documentation

◆ CombineBytes()

static byte[] TaleWorlds.Library.Common.CombineBytes ( byte[] arr1,
byte[] arr2,
byte[] arr3 = null,
byte[] arr4 = null,
byte[] arr5 = null )
static

◆ CalculateMD5Hash()

static string TaleWorlds.Library.Common.CalculateMD5Hash ( string input)
static

◆ ToRoman()

static string TaleWorlds.Library.Common.ToRoman ( int number)
static

◆ GetDJB2()

static int TaleWorlds.Library.Common.GetDJB2 ( string str)
static

◆ SerializeObjectAsJson()

static byte[] TaleWorlds.Library.Common.SerializeObjectAsJson ( object o)
static

◆ SerializeObjectAsJsonString()

static string TaleWorlds.Library.Common.SerializeObjectAsJsonString ( object o)
static

◆ DeserializeObjectFromJson< T >()

static T TaleWorlds.Library.Common.DeserializeObjectFromJson< T > ( string json)
static

◆ SerializeObject()

static byte[] TaleWorlds.Library.Common.SerializeObject ( Object sObject)
static

◆ DeserializeObject() [1/2]

static Object TaleWorlds.Library.Common.DeserializeObject ( byte[] serializeData)
static

◆ DeserializeObject() [2/2]

static Object TaleWorlds.Library.Common.DeserializeObject ( byte[] serializeData,
int index,
int length )
static

◆ FromUrlSafeBase64()

static byte[] TaleWorlds.Library.Common.FromUrlSafeBase64 ( string base64)
static

◆ FindType()

static Type TaleWorlds.Library.Common.FindType ( string typeName)
static

◆ MemoryCleanupGC()

static void TaleWorlds.Library.Common.MemoryCleanupGC ( bool forceTimer = false)
static

◆ DynamicInvokeWithLog()

static object TaleWorlds.Library.Common.DynamicInvokeWithLog ( this Delegate method,
params object[] args )
static

◆ InvokeWithLog() [1/2]

static object TaleWorlds.Library.Common.InvokeWithLog ( this MethodInfo methodInfo,
object obj,
params object[] args )
static

◆ InvokeWithLog() [2/2]

static object TaleWorlds.Library.Common.InvokeWithLog ( this ConstructorInfo constructorInfo,
params object[] args )
static

◆ TextContainsSpecialCharacters()

static bool TaleWorlds.Library.Common.TextContainsSpecialCharacters ( string text)
static

◆ ParseIpAddress()

static uint TaleWorlds.Library.Common.ParseIpAddress ( string address)
static

◆ IsAllLetters()

static bool TaleWorlds.Library.Common.IsAllLetters ( string text)
static

◆ IsAllLettersOrWhiteSpaces()

static bool TaleWorlds.Library.Common.IsAllLettersOrWhiteSpaces ( string text)
static

◆ IsCharAsian()

static bool TaleWorlds.Library.Common.IsCharAsian ( char character)
static

◆ SetInvariantCulture()

static void TaleWorlds.Library.Common.SetInvariantCulture ( )
static

◆ GetMethodInfo() [1/2]

static MethodInfo TaleWorlds.Library.Common.GetMethodInfo ( Expression< Action > expression)
static

◆ GetMethodInfo< T >()

static MethodInfo TaleWorlds.Library.Common.GetMethodInfo< T > ( Expression< Action< T > > expression)
static

◆ GetMethodInfo< T, TResult >()

static MethodInfo TaleWorlds.Library.Common.GetMethodInfo< T, TResult > ( Expression< Func< T, TResult > > expression)
static

◆ GetMethodInfo() [2/2]

static MethodInfo TaleWorlds.Library.Common.GetMethodInfo ( LambdaExpression expression)
static

Property Documentation

◆ PlatformFileHelper

IPlatformFileHelper TaleWorlds.Library.Common.PlatformFileHelper
staticgetset

◆ ConfigName

string TaleWorlds.Library.Common.ConfigName
staticget

◆ ParallelOptions

ParallelOptions TaleWorlds.Library.Common.ParallelOptions
staticget