tModLoader v2024.08
A mod to make and play Terraria mods
NPCWasChatWithTracker Class Reference

Inherits IPersistentPerWorldContent, and IOnPlayerJoining.

Public Member Functions

bool GetWasChatWith (NPC npc)
 
bool GetWasChatWith (string persistentId)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void OnPlayerJoining (int playerIndex)
 
void RegisterChatStartWith (NPC npc)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void SetWasChatWithDirectly (string persistentId)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Load (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void Reset ()
 
void Save (BinaryWriter writer)
 
void ValidateWorld (BinaryReader reader, int gameVersionSaveWasMadeOn)
 
void OnPlayerJoining (int playerIndex)
 

Member Function Documentation

◆ Load()

void NPCWasChatWithTracker.Load ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)

◆ OnPlayerJoining()

void NPCWasChatWithTracker.OnPlayerJoining ( int  playerIndex)

Implements IOnPlayerJoining.

◆ Reset()

void NPCWasChatWithTracker.Reset ( )

◆ Save()

void NPCWasChatWithTracker.Save ( BinaryWriter  writer)

◆ ValidateWorld()

void NPCWasChatWithTracker.ValidateWorld ( BinaryReader  reader,
int  gameVersionSaveWasMadeOn 
)