Skip to content

Commit d2cbe05

Browse files
Add create logging
1 parent e0b9124 commit d2cbe05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/src/CSharpResourceImpl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ bool CSharpResourceImpl::OnEvent(const alt::CEvent* ev) {
259259

260260
void CSharpResourceImpl::OnCreateBaseObject(alt::IBaseObject* object) {
261261
if (object != nullptr) {
262+
server->LogInfo(alt::String("create: ") + std::to_string((uint8_t)object->GetType()));
262263
switch (object->GetType()) {
263264
case alt::IBaseObject::Type::PLAYER: {
264265
auto player = dynamic_cast<alt::IPlayer*>(object);

0 commit comments

Comments
 (0)