Class SettlementConfig.CultureToInfluenceRadiusMapper
Formula that determines the influence radius given the culture.
Inheritance
System.Object
SettlementConfig.CultureToInfluenceRadiusMapper
Assembly: Eco.Gameplay.dll
Syntax
public sealed class CultureToInfluenceRadiusMapper : MulticastDelegate
Constructors
CultureToInfluenceRadiusMapper(Object, IntPtr)
Declaration
public CultureToInfluenceRadiusMapper(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(Settlement, Deed, Single, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(Settlement settlement, Deed deed, float culture, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
Settlement |
settlement |
|
Deed |
deed |
|
System.Single |
culture |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual ValResult<float> EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Invoke(Settlement, Deed, Single)
Declaration
public virtual ValResult<float> Invoke(Settlement settlement, Deed deed, float culture)
Parameters
Type |
Name |
Description |
Settlement |
settlement |
|
Deed |
deed |
|
System.Single |
culture |
|
Returns
Extension Methods