C# Class Terraria.ModLoader.IO.BinaryIO

Afficher le fichier Open project: bluemagic123/tModLoader

Méthodes publiques

Méthode Description
ReadItem ( this reader, bool readStack = false, bool readFavorite = false ) : System.Item
ReadVarInt ( this reader ) : int
SafeRead ( this reader, Action read ) : void
SafeWrite ( this writer, Action write ) : void
WriteItem ( this writer, System.Item item, bool readStack = false, bool readFavorite = false ) : void
WriteVarInt ( this writer, int value ) : void

Method Details

ReadItem() public static méthode

public static ReadItem ( this reader, bool readStack = false, bool readFavorite = false ) : System.Item
reader this
readStack bool
readFavorite bool
Résultat System.Item

ReadVarInt() public static méthode

public static ReadVarInt ( this reader ) : int
reader this
Résultat int

SafeRead() public static méthode

public static SafeRead ( this reader, Action read ) : void
reader this
read Action
Résultat void

SafeWrite() public static méthode

public static SafeWrite ( this writer, Action write ) : void
writer this
write Action
Résultat void

WriteItem() public static méthode

public static WriteItem ( this writer, System.Item item, bool readStack = false, bool readFavorite = false ) : void
writer this
item System.Item
readStack bool
readFavorite bool
Résultat void

WriteVarInt() public static méthode

public static WriteVarInt ( this writer, int value ) : void
writer this
value int
Résultat void