C# 클래스 Terraria.ModLoader.IO.ItemIO

파일 보기 프로젝트 열기: bluemagic123/tModLoader 1 사용 예제들

공개 메소드들

메소드 설명
Load ( TagCompound tag ) : System.Item
Load ( Item item, TagCompound tag ) : void
LoadLegacy ( Item item, BinaryReader reader, bool readStack = false, bool readFavorite = false ) : void
LoadLegacyInventory ( Item inv, BinaryReader reader, bool readStack = false, bool readFavorite = false ) : void
Receive ( BinaryReader reader, bool readStack = false, bool readFavorite = false ) : Item
Receive ( Item item, BinaryReader reader, bool readStack = false, bool readFavorite = false ) : void
ReceiveModData ( Item item, BinaryReader reader ) : void
Save ( Item item ) : TagCompound
Send ( Item item, BinaryWriter writer, bool writeStack = false, bool writeFavourite = false ) : void
SendModData ( Item item, BinaryWriter writer ) : void

비공개 메소드들

메소드 설명
LegacyModData ( int type, BinaryReader reader, bool hasGlobalSaving = true ) : byte[]
LoadGlobals ( Item item, IList list ) : void
LoadLegacyModData ( Item item, byte data, bool hasGlobalSaving = true ) : void
SaveGlobals ( Item item ) : List
WriteVanillaID ( Item item, BinaryWriter writer ) : void

메소드 상세

Load() 공개 정적인 메소드

public static Load ( TagCompound tag ) : System.Item
tag TagCompound
리턴 System.Item

Load() 공개 정적인 메소드

public static Load ( Item item, TagCompound tag ) : void
item Item
tag TagCompound
리턴 void

LoadLegacy() 공개 정적인 메소드

public static LoadLegacy ( Item item, BinaryReader reader, bool readStack = false, bool readFavorite = false ) : void
item Item
reader BinaryReader
readStack bool
readFavorite bool
리턴 void

LoadLegacyInventory() 공개 정적인 메소드

public static LoadLegacyInventory ( Item inv, BinaryReader reader, bool readStack = false, bool readFavorite = false ) : void
inv Item
reader BinaryReader
readStack bool
readFavorite bool
리턴 void

Receive() 공개 정적인 메소드

public static Receive ( BinaryReader reader, bool readStack = false, bool readFavorite = false ) : Item
reader BinaryReader
readStack bool
readFavorite bool
리턴 Item

Receive() 공개 정적인 메소드

public static Receive ( Item item, BinaryReader reader, bool readStack = false, bool readFavorite = false ) : void
item Item
reader BinaryReader
readStack bool
readFavorite bool
리턴 void

ReceiveModData() 공개 정적인 메소드

public static ReceiveModData ( Item item, BinaryReader reader ) : void
item Item
reader BinaryReader
리턴 void

Save() 공개 정적인 메소드

public static Save ( Item item ) : TagCompound
item Item
리턴 TagCompound

Send() 공개 정적인 메소드

public static Send ( Item item, BinaryWriter writer, bool writeStack = false, bool writeFavourite = false ) : void
item Item
writer BinaryWriter
writeStack bool
writeFavourite bool
리턴 void

SendModData() 공개 정적인 메소드

public static SendModData ( Item item, BinaryWriter writer ) : void
item Item
writer BinaryWriter
리턴 void