Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
DelimitedMessageType
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace AqwSocketClient\Enums;
6
7/**
8 * Defines the possible types for messages that use the **delimited format** (e.g., using '%').
9 */
10enum DelimitedMessageType: string
11{
12    /**
13     * General server message, often containing status or initialization data.
14     */
15    case Server = 'server';
16
17    /**
18     * Response from the server indicating the outcome of a login attempt.
19     */
20    case LoginResponse = 'loginResponse';
21
22    /**
23     * Message signaling that a player has left the current area/screen.
24     */
25    case ExitArea = 'exitArea';
26
27    /**
28     * Message signaling a change in player state or the detection of a new player.
29     */
30    case PlayerChange = 'uotls';
31
32    /**
33     * Message related to server warnings
34     */
35    case Warning = 'warning';
36}