Changes

Jump to navigation Jump to search
→‎Get connected player info: add missing 'requires SMAPI' notes
Line 57: Line 57:  
| <tt>Mods</tt>
 
| <tt>Mods</tt>
 
| <tt>IEnumerable&lt;IMultiplayerPeerMod&gt;</tt>
 
| <tt>IEnumerable&lt;IMultiplayerPeerMod&gt;</tt>
| The mods they have installed. Each mod includes the name, unique ID, and version.
+
| (Requires SMAPI.) The mods they have installed. Each mod includes the name, unique ID, and version.
 
|-
 
|-
 
| <tt>GetMod(id)</tt>
 
| <tt>GetMod(id)</tt>
 
| ''method'' returns <tt>IMultiplayerPeerMod</tt>
 
| ''method'' returns <tt>IMultiplayerPeerMod</tt>
| A method which returns the mod with the given mod ID using the same case-insensitivity rules as SMAPI, if available. For example, this can be used to check if a mod is installed: <code>if (peer.GetMod("Pathoschild.ContentPatcher") != null)</code>.
+
| (Requires SMAPI.) A method which returns the mod with the given mod ID using the same case-insensitivity rules as SMAPI, if available. For example, this can be used to check if a mod is installed: <code>if (peer.GetMod("Pathoschild.ContentPatcher") != null)</code>.
 
|}
 
|}
  
translators
8,437

edits

Navigation menu