Skip to content

Commit 6c69310

Browse files
committed
把schema联网结构体的虚函数更新加上
1 parent 7928b31 commit 6c69310

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sdk/schema.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ inline constexpr uint64_t hash_64_fnv1a_const(const char* const str, const uint6
7777
if (!IsStruct) { \
7878
((CEntityInstance*)this)->NetworkStateChanged(m_key.offset, arrayIndex, -1); \
7979
} else { \
80+
CALL_VIRTUAL(void, 1, this, m_key.offset, 0xFFFFFFFF, 0xFFFFFFFF); \
8081
} \
8182
} \
8283
} \
@@ -99,6 +100,7 @@ inline constexpr uint64_t hash_64_fnv1a_const(const char* const str, const uint6
99100
if (!IsStruct) { \
100101
((CEntityInstance*)this)->NetworkStateChanged(m_key.offset); \
101102
} else { \
103+
CALL_VIRTUAL(void, 1, this, m_key.offset, 0xFFFFFFFF, 0xFFFFFFFF); \
102104
} \
103105
} \
104106
} \

0 commit comments

Comments
 (0)