terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.DataStructures.NPCFollowState Class Reference
+ Collaboration diagram for Terraria.DataStructures.NPCFollowState:

Public Member Functions

void FollowPlayer (int playerIndex)
 
void StopFollowing ()
 
void Clear (NPC npcToBelongTo)
 
void WriteTo (BinaryWriter writer)
 
void ReadFrom (BinaryReader reader)
 
void Update ()
 
 NPCFollowState ()
 

Properties

Vector2 BreadcrumbPosition [get, set]
 
bool IsFollowingPlayer [get, set]
 
Player PlayerBeingFollowed [get, set]
 

Private Member Functions

bool ShouldSync ()
 
void MoveNPCBackHome ()
 
void UpdateBreadcrumbs (Player player)
 

Private Attributes

NPC _npc
 
int? _playerIndexBeingFollowed
 
Vector2 _floorBreadcrumb
 

Detailed Description

Definition at line 11 of file NPCFollowState.cs.


The documentation for this class was generated from the following file: