实体
模型信息 CModelInfo
查看 Markdown按 id 查模型信息与车型判断
CModelInfo.h
按模型 id 查 CBaseModelInfo*;换皮 / 判断车型常用。
static CBaseModelInfo* GetModelInfo(int modelId);
static CBaseModelInfo** ms_modelInfoPtrs;
static const int& ms_modelInfoCount;static CBaseModelInfo* GetModelInfo(const char* name, int* modelId);
static CBaseModelInfo* GetModelInfo(const char* name, int minModelId, int maxModelId);
static CBaseModelInfo* GetModelInfoUInt16(const char* name, int* modelId);
static CBaseModelInfo* GetModelInfoFromHashKey(unsigned int arg0, int* modelId);static bool IsPedModel(int modelId);
static bool IsVehicleModel(int modelId);static eVehicleType GetVehicleModelType(int modelId);
static bool IsBikeModel(int modelId);
static bool IsBmxModel(int modelId);
static bool IsBoatModel(int modelId);
static bool IsCarModel(int modelId);
static bool IsHeliModel(int modelId);
static bool IsMonsterTruckModel(int modelId);
static bool IsPlaneModel(int modelId);
static bool IsQuadBikeModel(int modelId);
static bool IsTrailerModel(int modelId);
static bool IsTrainModel(int modelId);static int FindNextModel(eModelInfoType type, int startModelId, bool searchForward = true, bool warpAround = true);
评论