C# Класс OfflineServer.CarDefinitions

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
baseCarId String>.Dictionary
physicsProfileHashNormal String>.Dictionary
physicsProfileHashReversed String>.Dictionary

Открытые методы

Метод Описание
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.

Описание методов

defineFromBaseCarId() публичный статический Метод

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
Результат String

defineFromPhysicsProfileHash() публичный статический Метод

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.
Результат String

Описание свойств

baseCarId публичное статическое свойство

public static Dictionary baseCarId
Результат String>.Dictionary

physicsProfileHashNormal публичное статическое свойство

public static Dictionary physicsProfileHashNormal
Результат String>.Dictionary

physicsProfileHashReversed публичное статическое свойство

public static Dictionary physicsProfileHashReversed
Результат String>.Dictionary