Beispiel #1
0
 public void WriteTo(IStarboundStream stream)
 {
     stream.WriteUInt16(background);
     stream.WriteUInt8(backgroundHueShift);
     stream.WriteUInt8(backgroundColorVariant);
     stream.WriteUInt16(backgroundMod);
     stream.WriteUInt8(backgroundModHueShift);
     stream.WriteUInt16(foreground);
     stream.WriteUInt8(foregroundHueShift);
     stream.WriteUInt8(foregroundColorVariant);
     stream.WriteUInt16(foregroundMod);
     stream.WriteUInt8(foregroundModHueShift);
     stream.WriteUInt8(collision);
     stream.WriteUInt8(blockBiomeIndex);
     stream.WriteUInt8(environmentBiomeIndex);
     stream.WriteUInt8(LiquidLevel);
     stream.WriteFloat(Gravity);
     stream.WriteUInt16(DungeonID);
 }
Beispiel #2
0
 public override void Write(IStarboundStream stream)
 {
     stream.WriteUInt16(DungeonId);
     stream.WriteBoolean(IsProtected);
 }