Engine/ac/dynobj/cc_character.cpp
int CCCharacter::Serialize(const char *address, char *buffer, int bufsize) {
    CharacterInfo *chaa = (CharacterInfo*)address;
    StartSerialize(buffer);
    SerializeInt(chaa->index_id);
    return EndSerialize();
}
// serialize the object into BUFFER (which is BUFSIZE bytes)
// return number of bytes used
serialize the object into BUFFER (which is BUFSIZE bytes)
return number of bytes used
serialize the object into BUFFER ( which is BUFSIZE bytes ) return number of bytes used
int CCCharacter::Serialize(const char *address, char *buffer, int bufsize) {
    CharacterInfo *chaa = (CharacterInfo*)address;
    StartSerialize(buffer);
    SerializeInt(chaa->index_id);
    return EndSerialize();
}
int CCCharacter :: Serialize ( const char * address , char * buffer , int bufsize ) { CharacterInfo * chaa = ( CharacterInfo * ) address ; StartSerialize ( buffer ) ; SerializeInt ( chaa -> index_id ) ; return EndSerialize ( ) ; }
serialize the object into BUFFER (which is BUFSIZE bytes)
return number of bytes used
serialize the object into BUFFER ( which is BUFSIZE bytes ) return number of bytes used