Vixen
c7401864
csharp
public sealed class MailMessage

A letter, with whatever is attached to it and whatever is owed on it.

Read the guide page for this →

Fields and properties (13)

  • public MailId Id

    Its id.

  • public PlayerId From

    Who sent it, or None for the world.

  • public PlayerId To

    Who it is for.

  • public string Subject

    What it says on the outside.

  • public string Body

    What it says inside.

  • public ReadOnlySpan<MailAttachment> Attachments

    What is attached, in asset order.

  • public long Cod

    What the recipient must pay to take it, or zero.

  • public DefId CodCurrency

    What they must pay it in.

  • public float SentAt

    When it was sent, on the caller's clock.

  • public float Expires

    When it goes back, on the caller's clock. Infinity for a letter that never does.

  • public bool IsClaimed

    Whether the attachments have been taken.

  • public bool IsRead

    Whether it has been read.

  • public bool HasAttachments

    Whether there is anything on it to take.

Used by (3)

  • AuctionTestsVixen.Gameplay.Economy.Tests
  • MailTestsVixen.Gameplay.Economy.Tests
  • PostOfficeVixen.Gameplay.Economy