| 35 | }; |
| 36 | |
| 37 | void SLocationKey::save(IWriter& stream) |
| 38 | { |
| 39 | stream.w(&object_id, sizeof(object_id)); |
| 40 | |
| 41 | stream.w_stringZ(spot_type); |
| 42 | stream.w_u8(location->IsUserDefined() ? 1 : 0); |
| 43 | location->save(stream); |
| 44 | } |
| 45 | |
| 46 | void SLocationKey::load(IReader& stream) |
| 47 | { |
nothing calls this directly
no test coverage detected