Вопрос Can't get binary name anymore!

Начинающий
Статус
Оффлайн
Регистрация
16 Авг 2022
Сообщения
36
Реакции[?]
4
Поинты[?]
4K
Hello, after the last update, the structure of CSchemaBinding changed.

C++:
CSchemaClassBinding* CBaseEntity::SchemaBinding() const
{
    CSchemaClassBinding* binding = CallVFunc<0, CSchemaClassBinding*>();
    return binding;
}

struct CSchemaClassBinding
{
    PAD(4);
    const char* BinaryName; // ex: C_World
}
For example for C_DOTAGamerulesProxy it retuns C_BaseEntity or for C_DOTA_BaseNPC_Tower it returns C_DOTA_BaseNPC
Is it removed? should I use class name instead of binary name?

It seems calling virtual function 0 doesn't return CSchemaClassBinding I guess.
 
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
16 Авг 2022
Сообщения
36
Реакции[?]
4
Поинты[?]
4K
Edit: okay, they just moved it from first to the last function. also the structure is changed a little bit
C++:
CSchemaClassBinding* CBaseEntity::SchemaBinding() const
{
    CSchemaClassBinding* schemaBinding = nullptr;
    CallVFunc<34, void>(&schemaBinding);

    return schemaBinding;
}
 
Сверху Снизу