forked from Pathoschild/SMAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMessageType.cs
More file actions
26 lines (22 loc) · 824 Bytes
/
MessageType.cs
File metadata and controls
26 lines (22 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using StardewValley;
namespace StardewModdingAPI.Framework.Networking
{
/// <summary>Network message types recognized by SMAPI and Stardew Valley.</summary>
internal enum MessageType : byte
{
/*********
** SMAPI
*********/
/// <summary>A data message intended for mods to consume.</summary>
ModMessage = 254,
/// <summary>Metadata context about a player synced by SMAPI.</summary>
ModContext = 255,
/*********
** Vanilla
*********/
/// <summary>Metadata about the host server sent to a farmhand.</summary>
ServerIntroduction = Multiplayer.serverIntroduction,
/// <summary>Metadata about a player sent to a farmhand or server.</summary>
PlayerIntroduction = Multiplayer.playerIntroduction
}
}