IS MSL

From LFS Manual
Jump to navigationJump to search

Introduction

The MSg Local packet contains text messages sent to LFS. It is similar to IS_MSX, but messages only appear on the local computer's game.

IS_MSL packet properties
Type Name Description
byte Size 132
byte Type ISP_MSL
byte ReqI 0
byte Sound sound effect (see Message Sounds below)
char Msg[128] last byte must be zero

Packet Details

Size

The size of the packet is always 132 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_MSL.

ReqI

ReqI is always equal to zero.

Sound

The message can play a sound when displayed in LFS. It must be one of the values in the SND_ enumeration.

Msg

The bytes representing the message. The message is padded with zeros. The last byte is always zero.