Class DaggerfallBankManager
Inheritance
DaggerfallBankManager
Assembly: Assembly-CSharp.dll
Syntax
public static class DaggerfallBankManager
Fields
|
Improve this Doc
View Source
goldUnitWeightInKg
Declaration
public const float goldUnitWeightInKg = 0.0025F
Field Value
|
Improve this Doc
View Source
loanMaxPerLevel
Declaration
public static int loanMaxPerLevel
Field Value
Properties
|
Improve this Doc
View Source
BankAccounts
Declaration
public static BankRecordData_v1[] BankAccounts { get; set; }
Property Value
|
Improve this Doc
View Source
Houses
Declaration
public static HouseData_v1[] Houses { get; set; }
Property Value
|
Improve this Doc
View Source
OwnedHouseKey
Declaration
public static int OwnedHouseKey { get; }
Property Value
|
Improve this Doc
View Source
OwnedShip
Declaration
public static ShipType OwnedShip { get; set; }
Property Value
|
Improve this Doc
View Source
OwnsHouse
Declaration
public static bool OwnsHouse { get; }
Property Value
|
Improve this Doc
View Source
OwnsShip
Declaration
public static bool OwnsShip { get; }
Property Value
Methods
|
Improve this Doc
View Source
AllocateHouseToPlayer(BuildingSummary, Int32)
Declaration
public static void AllocateHouseToPlayer(BuildingSummary house, int regionIndex)
Parameters
|
Improve this Doc
View Source
AssignShipToPlayer(ShipType)
Declaration
public static void AssignShipToPlayer(ShipType shipType)
Parameters
|
Improve this Doc
View Source
DepositAll_LOC(Int32)
Declaration
public static TransactionResult DepositAll_LOC(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
DepositGold(Int32, Int32)
Declaration
public static TransactionResult DepositGold(int amount, int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
amount |
|
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
GetAccountTotal(Int32)
Gets amount of gold in specified region
Declaration
public static long GetAccountTotal(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
GetHousePrice(BuildingSummary)
Declaration
public static int GetHousePrice(BuildingSummary house)
Parameters
Returns
|
Improve this Doc
View Source
GetHouseSellPrice(BuildingSummary)
Declaration
public static int GetHouseSellPrice(BuildingSummary house)
Parameters
Returns
|
Improve this Doc
View Source
GetLoanDueDate(Int32)
Gets loan due date in classic time format for specified region
Declaration
public static long GetLoanDueDate(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
GetLoanDueDateString(Int32)
Declaration
public static string GetLoanDueDateString(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
GetLoanedTotal(Int32)
Gets the amount due for loan in specified region
Declaration
public static long GetLoanedTotal(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
GetShipCameraDist(ShipType)
Declaration
public static float GetShipCameraDist(ShipType ship)
Parameters
Returns
|
Improve this Doc
View Source
GetShipCoords()
Declaration
public static DFPosition GetShipCoords()
Returns
|
Improve this Doc
View Source
GetShipModelId(ShipType)
Declaration
public static uint GetShipModelId(ShipType ship)
Parameters
Returns
|
Improve this Doc
View Source
GetShipPrice(ShipType)
Declaration
public static int GetShipPrice(ShipType ship)
Parameters
Returns
|
Improve this Doc
View Source
GetShipSellPrice(ShipType)
Declaration
public static int GetShipSellPrice(ShipType ship)
Parameters
Returns
|
Improve this Doc
View Source
HasDefaulted(Int32)
Declaration
public static bool HasDefaulted(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
HasLoan(Int32)
Declaration
public static bool HasLoan(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
IsHouseOwned(Int32)
Declaration
public static bool IsHouseOwned(int buildingKey)
Parameters
Type |
Name |
Description |
Int32 |
buildingKey |
|
Returns
|
Improve this Doc
View Source
MakeTransaction(TransactionType, Int32, Int32)
Declaration
public static void MakeTransaction(TransactionType type, int amount, int regionIndex)
Parameters
|
Improve this Doc
View Source
PurchaseHouse(BuildingSummary, Int32)
Declaration
public static TransactionResult PurchaseHouse(BuildingSummary house, int regionIndex)
Parameters
Returns
|
Improve this Doc
View Source
PurchaseShip(ShipType, Int32)
Declaration
public static TransactionResult PurchaseShip(ShipType shipType, int regionIndex)
Parameters
Returns
|
Improve this Doc
View Source
RaiseTransactionEvent(TransactionType, TransactionResult, Int32)
Declaration
public static void RaiseTransactionEvent(TransactionType type, TransactionResult result, int amount)
Parameters
|
Improve this Doc
View Source
ReadNativeBankData(SaveTreeBaseRecord)
Declaration
public static void ReadNativeBankData(SaveTreeBaseRecord records)
Parameters
|
Improve this Doc
View Source
ResetShip()
Declaration
public static void ResetShip()
|
Improve this Doc
View Source
SellHouse(Int32)
Declaration
public static TransactionResult SellHouse(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
SellShip(Int32)
Declaration
public static TransactionResult SellShip(int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
SetDefaulted(Int32, Boolean)
Declaration
public static void SetDefaulted(int regionIndex, bool defaulted)
Parameters
|
Improve this Doc
View Source
SetupAccounts()
Declaration
public static void SetupAccounts()
|
Improve this Doc
View Source
SetupHouses()
Declaration
public static void SetupHouses()
|
Improve this Doc
View Source
Withdraw_LOC(Int32, Int32)
Declaration
public static TransactionResult Withdraw_LOC(int amount, int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
amount |
|
Int32 |
regionIndex |
|
Returns
|
Improve this Doc
View Source
WithdrawGold(Int32, Int32)
Declaration
public static TransactionResult WithdrawGold(int amount, int regionIndex)
Parameters
Type |
Name |
Description |
Int32 |
amount |
|
Int32 |
regionIndex |
|
Returns
Events
|
Improve this Doc
View Source
OnBorrowLoan
Declaration
public static event DaggerfallBankManager.Transaction OnBorrowLoan
Event Type
|
Improve this Doc
View Source
OnBuyHouse
Declaration
public static event DaggerfallBankManager.Transaction OnBuyHouse
Event Type
|
Improve this Doc
View Source
OnBuyShip
Declaration
public static event DaggerfallBankManager.Transaction OnBuyShip
Event Type
|
Improve this Doc
View Source
OnDepositGold
Declaration
public static event DaggerfallBankManager.Transaction OnDepositGold
Event Type
|
Improve this Doc
View Source
OnDepositLOC
Declaration
public static event DaggerfallBankManager.Transaction OnDepositLOC
Event Type
|
Improve this Doc
View Source
OnRepayLoan
Declaration
public static event DaggerfallBankManager.Transaction OnRepayLoan
Event Type
|
Improve this Doc
View Source
OnSellHouse
Declaration
public static event DaggerfallBankManager.Transaction OnSellHouse
Event Type
|
Improve this Doc
View Source
OnSellShip
Declaration
public static event DaggerfallBankManager.Transaction OnSellShip
Event Type
|
Improve this Doc
View Source
OnTransaction
Declaration
public static event DaggerfallBankManager.Transaction OnTransaction
Event Type
|
Improve this Doc
View Source
OnWithdrawGold
Declaration
public static event DaggerfallBankManager.Transaction OnWithdrawGold
Event Type
|
Improve this Doc
View Source
OnWithdrawLOC
Declaration
public static event DaggerfallBankManager.Transaction OnWithdrawLOC
Event Type