SendSnapshot

class SendSnapshot : IncomingGameMessage

Send snapshot message is sent when a player reports another player.

Rules table:

| Id |                     Rule                    |
|----|:-------------------------------------------:|
| 3 | Exploiting a bug |
| 4 | Staff impersonation |
| 5 | Buying/selling accounts and services |
| 6 | Macroing or use of bots |
| 7 | Boxing in the Deadman Tournament |
| 8 | Encouraging rule breaking |
| 10 | Advertising websites |
| 11 | Muling in the Deadman Tournament |
| 12 | Asking for or providing contact information |
| 14 | Scamming |
| 15 | Seriously offensive language |
| 16 | Solicitation |
| 17 | Disruptive behaviour |
| 18 | Offensive account name |
| 19 | Real-life threats |
| 20 | Breaking real-world laws |
| 21 | Player-run Games of Chance |

Constructors

Link copied to clipboard
constructor(name: String, ruleId: Int, mute: Boolean)

Properties

Link copied to clipboard
open override val category: ClientProtCategory
Link copied to clipboard

whether to mute the player. This option is only possible by Player and Jagex moderators.

Link copied to clipboard

the name of the player that is being reported

Link copied to clipboard
val ruleId: Int

the rule that the player broke (see table above). Note that the rule ids are internal and not what one sees on the interface, as the rule ids must be persistent across years of usage. Additionally, the "Boxing in Deadman Tournament" and "Muling in the Deadman Tournament" rules can only be selected if the player is logged into a Deadman world. Additionally worth noting that the rule ids are 1 less than what is shown in clientscripts, as the clientscript command behind sending the snapshot decrements 1 from the value prior to submitting it to the server.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String