mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 07:40:26 +02:00
Remove serialization again from IUserData
This can't work as on deserialize it would need to have the type for IUserData already. And that's impossible with the way it's used right now. Would need some kind of factory or so probably, but I'll ignore this for now. Note that it's still possible to call some serialization manually on the derived classes by adding it there if needed. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6568 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -29,12 +29,6 @@ namespace io
|
||||
return getType() == other.getType();
|
||||
}
|
||||
|
||||
//! Writes data attributes
|
||||
virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options=0) const {}
|
||||
|
||||
//! Reads data attributes
|
||||
virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options=0) {}
|
||||
|
||||
//! Used internally by Irrlicht to check if data has changed
|
||||
bool operator!=(const IUserData& other) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user