C# Class Terraria.ModLoader.ModNet

Mostrar archivo Open project: bluemagic123/tModLoader Class Usage Examples

Public Methods

Method Description
GetMod ( int netID ) : Mod
IsModdedClient ( int i ) : bool

Private Methods

Method Description
AssignNetIDs ( ) : void
DownloadNextMod ( ) : void
HandleModPacket ( BinaryReader reader, int whoAmI ) : void
HijackGetData ( byte &messageType, BinaryReader &reader, int playerNumber ) : bool
NetReload ( ) : void
OnModsDownloaded ( bool needsReload ) : void
ReadNetIDs ( BinaryReader reader ) : void
ReceiveMod ( BinaryReader reader ) : void
SendMod ( string modName, int toClient ) : void
SendNetIDs ( int toClient ) : void
SyncClientMods ( BinaryReader reader ) : void
SyncMods ( int clientIndex ) : void

Method Details

GetMod() public static method

public static GetMod ( int netID ) : Mod
netID int
return Mod

IsModdedClient() public static method

public static IsModdedClient ( int i ) : bool
i int
return bool