BallisticNG
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | Public Attributes | Properties
Source.Interface.MenuUI.Managers.NgMenuContentManager.BngShip Struct Reference

Represents a ship on the menu. More...

List of all members.

Public Member Functions

string GetLiveryName (int index)
 Returns the name of the livery with the given index.
ShipLivery GetLiveryByName (string name, out int index)
 Returns a livery by its name.

Public Attributes

string DisplayName
 The name to display on the menu.
string DisplayDescription
 the description to display on the menu.
List< ShipLiveryShipLiveries
 The liveries textures to load into the interface.
bool IsCustomShip
 If true then this ship is a custom ship.
bool CsfFormat
 If true then this ship is a custom ship using the new csf format.
bool IsLocked = > UserProgress.CurrentRank < UnlockRank && !NgNetworkBase.CurrentNetwork || NgCampaign.NgCampaign.Enabled && LockedInCampaign && !NgCampaign.NgCampaign.CurrentList.BarracudaAllowed || Ship == EShips.PrecisionShip && !PrecisionSave.PrecisionShipUnlocked && !NgNetworkBase.CurrentNetwork && !Cheats.MaxRank || NgNetworkBase.CurrentNetwork && !MultiplayerAllowed
 If true then this ship is locked.
bool IsLockedInCampaign = > NgCampaign.NgCampaign.Enabled && LockedInCampaign && !NgCampaign.NgCampaign.CurrentList.BarracudaAllowed
 If true then this ship is currently locked but only inside of the current campaign.
int UnlockRank
 The rank needed to unlock this ship.
string UnlockText
 The text to display when this ship is locked.
bool LockedInCampaign
 if true then this ship will be unavailable in the campaign.
string FilePath
 If this is a custom ship then this points to the ship file.
EShips Ship
 THe enumeration value of this ship, used to load the ship prefabs for data.
VrCockpitVisibility CockpitVisibility
 The cockpit visibility for this ship, used for VR.
ShipClass Class
 The class that this ship belongs in.
Vector3 Offset
 How much to offset the ship mesh by.
Vector3 Rotation
 How much to rotate the ship mesh by.
Vector3 Scale
 How much to the scale the ship by.
bool IsWorkshop
 If true then this is a workshop ship.
ulong WorkshopID
 The workshop ID of this ship if it's a workshop ship.
int AccelerationStat
int SpeedStat
int HandlingStat
int ShieldStat
int FirepowerStat
bool AiIgnoreLiveryIndex

Properties

bool MultiplayerAllowed [get]
 If true then this ship is available in multiplayer.

Detailed Description

Represents a ship on the menu.


Member Function Documentation

Returns a livery by its name.

Returns the name of the livery with the given index.

Parameters:
index

Member Data Documentation

The class that this ship belongs in.

The cockpit visibility for this ship, used for VR.

If true then this ship is a custom ship using the new csf format.

the description to display on the menu.

The name to display on the menu.

If this is a custom ship then this points to the ship file.

If true then this ship is a custom ship.

bool Source.Interface.MenuUI.Managers.NgMenuContentManager.BngShip.IsLocked = > UserProgress.CurrentRank < UnlockRank && !NgNetworkBase.CurrentNetwork || NgCampaign.NgCampaign.Enabled && LockedInCampaign && !NgCampaign.NgCampaign.CurrentList.BarracudaAllowed || Ship == EShips.PrecisionShip && !PrecisionSave.PrecisionShipUnlocked && !NgNetworkBase.CurrentNetwork && !Cheats.MaxRank || NgNetworkBase.CurrentNetwork && !MultiplayerAllowed

If true then this ship is locked.

If true then this ship is currently locked but only inside of the current campaign.

If true then this is a workshop ship.

if true then this ship will be unavailable in the campaign.

How much to offset the ship mesh by.

How much to rotate the ship mesh by.

How much to the scale the ship by.

THe enumeration value of this ship, used to load the ship prefabs for data.

The liveries textures to load into the interface.

The rank needed to unlock this ship.

The text to display when this ship is locked.

The workshop ID of this ship if it's a workshop ship.


Property Documentation

If true then this ship is available in multiplayer.


The documentation for this struct was generated from the following file: