mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 05:31:07 +03:00
feat(object): manage post init flag across base object classes
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
Some checks are pending
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run
This commit is contained in:
parent
3d02539112
commit
8cf0abb1b1
@ -10,6 +10,10 @@ CGCorpse_C::~CGCorpse_C() {
|
||||
|
||||
void CGCorpse_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
// TODO
|
||||
|
||||
this->CGObject_C::PostInit(time, init, a4);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGCorpse_C::SetStorage(uint32_t* storage, uint32_t* saved) {
|
||||
|
||||
@ -10,6 +10,10 @@ CGDynamicObject_C::~CGDynamicObject_C() {
|
||||
|
||||
void CGDynamicObject_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
// TODO
|
||||
|
||||
this->CGObject_C::PostInit(time, init, a4);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGDynamicObject_C::SetStorage(uint32_t* storage, uint32_t* saved) {
|
||||
|
||||
@ -10,6 +10,10 @@ CGGameObject_C::~CGGameObject_C() {
|
||||
|
||||
void CGGameObject_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
// TODO
|
||||
|
||||
this->CGObject_C::PostInit(time, init, a4);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGGameObject_C::SetStorage(uint32_t* storage, uint32_t* saved) {
|
||||
|
||||
@ -9,6 +9,8 @@ CGItem_C::~CGItem_C() {
|
||||
}
|
||||
|
||||
void CGItem_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
this->CGObject_C::PostInit(time, init, a4);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
@ -60,6 +60,8 @@ void CGObject_C::Reenable() {
|
||||
}
|
||||
|
||||
void CGObject_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
this->m_postInited = true;
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
@ -13,6 +13,10 @@ CGPlayer_C::~CGPlayer_C() {
|
||||
|
||||
void CGPlayer_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
// TODO
|
||||
|
||||
this->CGUnit_C::PostInit(time, init, a4);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGPlayer_C::SetStorage(uint32_t* storage, uint32_t* saved) {
|
||||
|
||||
@ -101,6 +101,10 @@ CGUnit_C::~CGUnit_C() {
|
||||
|
||||
void CGUnit_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
// TODO
|
||||
|
||||
this->CGObject_C::PostInit(time, init, a4);
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGUnit_C::PostMovementUpdate(const CClientMoveUpdate& move, int32_t activeMover) {
|
||||
|
||||
@ -66,8 +66,7 @@ int32_t PostInitObject(CDataStore* msg, uint32_t time, bool a3) {
|
||||
}
|
||||
|
||||
if (object->m_postInited) {
|
||||
// TODO
|
||||
return 1;
|
||||
return CallMirrorHandlers(msg, true, guid);
|
||||
}
|
||||
|
||||
switch (typeID) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user