Terraria ModLoader  0.11.1
A framework for Terraria mods
Terraria.ModLoader.ModSideExtensions Class Reference

Static Public Member Functions

static string ToFriendlyString (this ModSide sortmode)
 

Detailed Description

Definition at line 16 of file ModSide.cs.

Member Function Documentation

◆ ToFriendlyString()

static string Terraria.ModLoader.ModSideExtensions.ToFriendlyString ( this ModSide  sortmode)
static

Definition at line 18 of file ModSide.cs.

18  {
19  switch (sortmode) {
20  case ModSide.Both:
21  return "Both";
22  case ModSide.Client:
23  return "Client";
24  case ModSide.Server:
25  return "Server";
26  case ModSide.NoSync:
27  return "NoSync";
28  }
29  return "Unknown";
30  }
ModSide
A ModSide enum defines how mods are synced between clients and servers. You can set your mod's ModSid...
Definition: ModSide.cs:4