longtianchi
Member
I want to know what is the mechanism of item class save in servuo.
I opened item class and found that it inherited ISerializable interface class.
He has [void Serialize (GenericWriter writer);] this function.
But this does not seem to have much to do with serialization.
I found the class of GenericWriter again, and found it was just an abstract class.
I see a BinaryFileWriter below that implements specific functionality, and I guess somewhere they're associated. But I can't find this location. Who can tell me exactly how to save it?
I opened item class and found that it inherited ISerializable interface class.
He has [void Serialize (GenericWriter writer);] this function.
But this does not seem to have much to do with serialization.
I found the class of GenericWriter again, and found it was just an abstract class.
I see a BinaryFileWriter below that implements specific functionality, and I guess somewhere they're associated. But I can't find this location. Who can tell me exactly how to save it?