MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / read

Method read

source/game/StarSystemWorld.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void CelestialOrbit::read(DataStream& ds) {
37 target = ds.read<CelestialCoordinate>();
38 direction = ds.read<int>();
39 enterTime = ds.read<double>();
40 enterPosition = ds.read<Vec2F>();
41}
42
43bool CelestialOrbit::operator==(CelestialOrbit const& rhs) const {
44 return target == rhs.target

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected