Message Public
Message public events are sent when the player talks in public.
Chat types table:
| Id | Type |
|----|:------------------:|
| 0 | Normal |
| 1 | Autotyper |
| 2 | Friend channel |
| 3 | Clan main channel |
| 4 | Clan guest channel |Content copied to clipboard
Colour table:
| Id | Prefix | Hex Value |
|-------|-----------|:--------------------------:|
| 0 | yellow: | 0xFFFF00 |
| 1 | red: | 0xFF0000 |
| 2 | green: | 0x00FF00 |
| 3 | cyan: | 0x00FFFF |
| 4 | purple: | 0xFF00FF |
| 5 | white: | 0xFFFFFF |
| 6 | flash1: | 0xFF0000/0xFFFF00 |
| 7 | flash2: | 0x0000FF/0x00FFFF |
| 8 | flash3: | 0x00B000/0x80FF80 |
| 9 | glow1: | 0xFF0000-0xFFFF00-0x00FFFF |
| 10 | glow2: | 0xFF0000-0x00FF00-0x0000FF |
| 11 | glow3: | 0xFFFFFF-0x00FF00-0x00FFFF |
| 12 | rainbow: | N/A |
| 13-20 | pattern*: | N/A |Content copied to clipboard
Effects table:
| Id | Prefix |
|----|---------|
| 1 | wave: |
| 2 | wave2: |
| 3 | shake: |
| 4 | scroll: |
| 5 | slide: |Content copied to clipboard
Clan types table:
| Id | Type |
|----|:-------------:|
| 0 | Normal clan |
| 1 | Group ironman |
| 2 | PvP Arena |Content copied to clipboard
Types
Link copied to clipboard
A class for message colour patterns, allowing easy conversion from the byte array to the respective 24-bit RGB colours. This wrapper class additionally provides a helpful isValid function, as it is possible to otherwise send bad data from the client and crash the players in vicinity.
Properties
Link copied to clipboard
the colour pattern attached to the message, if the colour value is in range of 13-20 (inclusive), otherwise null