explicit assign layer type number
Prepare to move palette.xml loading process to ObjectSaveLoader class