TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.WorldSections Class Reference
+ Collaboration diagram for Terraria.WorldSections:

Classes

struct  IterationState
 

Public Member Functions

 WorldSections (int numSectionsX, int numSectionsY)
 
void SetSectionAsRefreshed (int x, int y)
 
bool SectionNeedsRefresh (int x, int y)
 
void SetAllFramedSectionsAsNeedingRefresh ()
 
bool SectionLoaded (int x, int y)
 
bool SectionFramed (int x, int y)
 
bool MapSectionDrawn (int x, int y)
 
void ClearMapDraw ()
 
void SetSectionFramed (int x, int y)
 
void SetSectionLoaded (int x, int y)
 
void SetAllSectionsLoaded ()
 
void SetTilesLoaded (int startX, int startY, int endXInclusive, int endYInclusive)
 
bool GetNextMapDraw (Vector2 playerPos, out int x, out int y)
 
bool TileLoaded (int tileX, int tileY)
 
bool TilesLoaded (int startX, int startY, int endXInclusive, int endYInclusive)
 

Static Public Attributes

const int BitIndex_SectionLoaded = 0
 
const int BitIndex_SectionFramed = 1
 
const int BitIndex_SectionMapDrawn = 2
 
const int BitIndex_SectionNeedsRefresh = 3
 

Properties

bool AnyUnfinishedSections [get]
 
bool AnyNeedRefresh [get]
 

Private Member Functions

void SetSectionLoaded (ref BitsByte section)
 

Private Attributes

int width
 
int height
 
BitsByte[] data
 
int mapSectionsLeft
 
int frameSectionsLeft
 
int _sectionsNeedingRefresh
 
IterationState prevFrame
 
IterationState prevMap
 

Detailed Description

Definition at line 7 of file WorldSections.cs.


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