Show / Hide Table of Contents

Class MyContractHauling

Inheritance
System.Object
MyContractHauling
Implements
IMyContractHauling
IMyContract
Namespace: Sandbox.ModAPI.Contracts
Assembly: Sandbox.Game.dll
Syntax
public class MyContractHauling : Object, IMyContractHauling, IMyContract

Constructors

MyContractHauling(Int64, Int32, Int32, Int32, Int64)

Declaration
public MyContractHauling(long startBlockId, int moneyReward, int collateral, int duration, long endBlockId)
Parameters
Type Name Description
System.Int64 startBlockId
System.Int32 moneyReward
System.Int32 collateral
System.Int32 duration
System.Int64 endBlockId

Properties

Collateral

Declaration
public int Collateral { get; }
Property Value
Type Description
System.Int32

Duration

Declaration
public int Duration { get; }
Property Value
Type Description
System.Int32

EndBlockId

Declaration
public long EndBlockId { get; }
Property Value
Type Description
System.Int64

MoneyReward

Declaration
public int MoneyReward { get; }
Property Value
Type Description
System.Int32

OnContractAcquired

Declaration
public Action<long> OnContractAcquired { get; set; }
Property Value
Type Description
System.Action<System.Int64>

OnContractFailed

Declaration
public Action OnContractFailed { get; set; }
Property Value
Type Description
System.Action

OnContractSucceeded

Declaration
public Action OnContractSucceeded { get; set; }
Property Value
Type Description
System.Action

StartBlockId

Declaration
public long StartBlockId { get; }
Property Value
Type Description
System.Int64

Implements

IMyContractHauling
IMyContract
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾