This is a packet family that is used to send/receive packets about Law.
== Server-to-Client ==
=== PACKET_REPLY ===
Description: Shows the player a message box
<pre>
MessageID: 1
</pre>
Message ID Options:
* 1 = "You cannot marry anyone because you already have a partner."
* 2 = "You cannot divorce because you do not have any partner"
* 3 = "Your public records have been changed by the registration service."
* 4 = "You have not enough coins."
* 5 = "The name you entered doesn't match with your partner."
* 6 = "The registration service is curently too busy to complete your request."
* 7 = "Your partner has requested a divorce, you are no longer married."
=== PACKET_OPEN ===
Description: Opens up the law menu
<pre>
Session Token: 4
</pre>
== Client-to-Server ==
=== PACKET_REQUEST ===
Description: Player requesting a marriage or divorce
<pre>
LawAction: 1
Session Token: 4
Unknown: 1
Partner: String
</pre>
LawAction Options:
* 1 = Marriage
* 2 = Divorce
=== PACKET_OPEN ===
Description: Player talking to a lawyer
<pre>
NPC ID: 2
</pre> |