public void Write(BinaryWriter writer) { PositionTrigger.Write(writer); writer.Write(MovingBlockSync.Index); if (MovingBlockSync.Index == -2) { DarkCubeRadius.Write(writer); writer.Write(DarkCubeMovingBlockSync.Index); } writer.Write((ushort)KeyEvents.Count); PositionCube.Write(writer); KeyEvents.WriteCore(writer); }
public void Write(BinaryWriter writer) { Position.Write(writer); writer.Write(Zoom); Radius.Write(writer); if (Zoom != -1) { return; } writer.Write(Reset); writer.Write(StartDelay); writer.Write(Duration); writer.Write(Value); writer.Write(SingleUse); writer.Write(ValueIsAngle); }
public void Write(BinaryWriter writer) { Point.Write(writer); Size.Write(writer); }
public void Write(BinaryWriter writer) { Position.Write(writer); writer.Write(RespawnZ); Radius.Write(writer); }