polserver/pol-core/pol/equipdsc.cpp
turleypol 21577d8e5b
Clang Tidy concat namespaces (#855)
* tidy

* Automated clang-tidy change: modernize-concat-nested-namespaces

* compile test

* fix namespace

---------

Co-authored-by: Clang Tidy <clang-tidy@users.noreply.github.com>
2026-01-17 10:30:21 +01:00

30 lines
621 B
C++

/** @file
*
* @par History
*/
#include "equipdsc.h"
namespace Pol::Core
{
EquipDesc::EquipDesc( u32 objtype, Clib::ConfigElem& elem, Type type, const Plib::Package* pkg )
: ItemDesc( objtype, elem, type, pkg ), is_intrinsic( false ), is_pc_intrinsic( false )
{
}
void EquipDesc::PopulateStruct( Bscript::BStruct* descriptor ) const
{
base::PopulateStruct( descriptor );
}
size_t EquipDesc::estimatedSize() const
{
return base::estimatedSize() + sizeof( bool ) /*is_intrinsic*/
+ sizeof( bool ); /*is_pc_intrinsic*/
}
/*
EquipDesc::EquipDesc()
{
}
*/
} // namespace Pol::Core