Show / Hide Table of Contents

Class TransportManager

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
TransportManager
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class TransportManager : MonoBehaviour

Fields

| Improve this Doc View Source

DrawHorse

Declaration
public bool DrawHorse
Field Value
Type Description
Boolean
| Improve this Doc View Source

RidingVolumeScale

Declaration
public float RidingVolumeScale
Field Value
Type Description
Single
| Improve this Doc View Source

ScaleFactorX

Declaration
public const float ScaleFactorX = 0.8F
Field Value
Type Description
Single

Properties

| Improve this Doc View Source

BoardShipPosition

Declaration
public PlayerPositionData_v1 BoardShipPosition { get; set; }
Property Value
Type Description
PlayerPositionData_v1
| Improve this Doc View Source

FrameIndex

Declaration
public int FrameIndex { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

IsOnFoot

True when player is on foot.

Declaration
public bool IsOnFoot { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

RidingTexture

Declaration
public ImageData RidingTexture { get; }
Property Value
Type Description
ImageData
| Improve this Doc View Source

ShipAvailiable

Declaration
public TransportManager.PlayerShipAvailiable ShipAvailiable { get; set; }
Property Value
Type Description
TransportManager.PlayerShipAvailiable
| Improve this Doc View Source

TransportMode

Declaration
public TransportModes TransportMode { get; set; }
Property Value
Type Description
TransportModes

Methods

| Improve this Doc View Source

HasCart()

True when player owns a cart

Declaration
public bool HasCart()
Returns
Type Description
Boolean
| Improve this Doc View Source

HasHorse()

True when player owns a horse

Declaration
public bool HasHorse()
Returns
Type Description
Boolean
| Improve this Doc View Source

IsOnShip()

True when there's a recorded position before boarding and player is on the ship

Declaration
public bool IsOnShip()
Returns
Type Description
Boolean
| Improve this Doc View Source

ToggleMount()

Mounts a horse or cart if available if on foot, otherwise gets on foot

Declaration
public void ToggleMount()

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX