MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zEntTeleportBox_Save

Function zEntTeleportBox_Save

src/SB/Game/zEntTeleportBox.cpp:358–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358void zEntTeleportBox_Save(_zEntTeleportBox* ent, xSerial* s)
359{
360 zEntSave(ent, s);
361
362 if (ent->status == STATUS_OPEN)
363 {
364 s->Write_b1(1);
365 }
366 else
367 {
368 s->Write_b1(0);
369 }
370
371 s->Write(ent->currPlrState);
372}
373
374void zEntTeleportBox_Load(_zEntTeleportBox* ent, xSerial* s)
375{

Callers 1

zSceneSaveFunction · 0.85

Calls 3

zEntSaveFunction · 0.85
Write_b1Method · 0.80
WriteMethod · 0.80

Tested by

no test coverage detected