C# Class OfflineServer.CarDefinitions

Mostra file Open project: berkay2578/nfsw-server

Public Properties

Property Type Description
baseCarId String>.Dictionary
physicsProfileHashNormal String>.Dictionary
physicsProfileHashReversed String>.Dictionary

Public Methods

Method Description
defineFromBaseCarId ( System.Int64 baseCarId ) : String

Converts the given BaseCarId to its equivalent car make and model string if definition is present.

defineFromPhysicsProfileHash ( System.Int64 physicsProfileHash, System.Boolean checkForReversedPhysicsProfileHash = true, System.Boolean checkForBaseCarId = false, System.Int64 baseCarId ) : String

Converts the given car data to its equivalent car make and model string if definition is present.

Method Details

defineFromBaseCarId() public static method

Converts the given BaseCarId to its equivalent car make and model string if definition is present.
public static defineFromBaseCarId ( System.Int64 baseCarId ) : String
baseCarId System.Int64 Car's BaseCar entry
return String

defineFromPhysicsProfileHash() public static method

Converts the given car data to its equivalent car make and model string if definition is present.
public static defineFromPhysicsProfileHash ( System.Int64 physicsProfileHash, System.Boolean checkForReversedPhysicsProfileHash = true, System.Boolean checkForBaseCarId = false, System.Int64 baseCarId ) : String
physicsProfileHash System.Int64 Car's PhysicsProfileHash entry
checkForReversedPhysicsProfileHash System.Boolean Whether to also check for negative entries.
checkForBaseCarId System.Boolean Whether to search in BaseCarIdDefinitions too
baseCarId System.Int64 Car's BaseCar entry. MUST BE GIVEN IF checkForBaseCarId IS TRUE.
return String

Property Details

baseCarId public_oe static_oe property

public static Dictionary baseCarId
return String>.Dictionary

physicsProfileHashNormal public_oe static_oe property

public static Dictionary physicsProfileHashNormal
return String>.Dictionary

physicsProfileHashReversed public_oe static_oe property

public static Dictionary physicsProfileHashReversed
return String>.Dictionary