terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
GUIMap Class Reference

Public Types

enum  MinimapFrameStyle {
  Default , Golden , Remix , Sticks ,
  StoneGold , TwigLeaf , Leaf , Retro ,
  Valkyrie
}
 

Public Member Functions

void LoadContent (ContentManager content)
 
void LoadDefaultZoom ()
 
bool IsCursorOverFullScreenMapControls (global::Cursor cursor)
 
void CleanupMapTargets ()
 
void DrawToMap ()
 
IEnumerator DrawToMap_Section_Sliced (int secX, int secY)
 
unsafe void DrawToMap_Section (int secX, int secY)
 
void ResetMapPing ()
 
void DrawMap ()
 
 GUIMap ()
 

Public Attributes

bool miniMapEnabled = true
 
Microsoft.Xna.Framework.Graphics.Texture2D miniMapOpen
 
Microsoft.Xna.Framework.Graphics.Texture2D miniMapClosed
 
string BackingMiniTextureId
 
string BackingLargeTextureId
 

Properties

GUIMap.MinimapFrameStyle ActiveFrameStyle [get, set]
 
int WorldScreenWidth [get]
 
int WorldScreenHeight [get]
 
class< DrawToMap_Section_SlicedIDisposable [set]
 

Private Member Functions

unsafe void ClearMap ()
 
unsafe void ApplyMap ()
 
unsafe void InitialiseTargets ()
 
unsafe void ApplySection (int xStart, int xEnd, int yStart, int yEnd)
 
void DrawMapFullscreenBackground (Microsoft.Xna.Framework.Vector2 screenPosition, int screenWidth, int screenHeight)
 

Private Attributes

bool grabbedMap
 
int activeX
 
int activeY
 
Microsoft.Xna.Framework.Graphics.Texture2D[] mapTarget
 
bool[] mapDirty
 
NativeArray< ushort >[] mapTextureData
 
unsafe ushort * mapTextureDataPtr
 
bool minimapPressed
 
bool mapPressed
 
bool mapPressedLast
 
bool mapZoomInPressed
 
bool mapZoomOutPressed
 
bool mapZoomResetPressed
 
float ZoomInButtonScale
 
float ZoomOutButtonScale
 
float ZoomDefaultButtonScale
 
float ToggleButtonScale
 
float MapButtonScale = (float)16256
 
bool use565Map
 
GUIMap.MinimapFrameStyle _activeFrameStyle
 
bool draggingSlider
 
float ZoomValue
 
float TinyScrollScale
 
float TinyXOffset
 
float TinyYOffset
 
float TinyW
 
float TinyH
 
GUIControllerFullScreenMap _controller
 
DateTime _lastPingMouseDownTime
 
Microsoft.Xna.Framework.Vector2 _lastPingMousePosition
 
int LastFrame = 1
 
class< DrawToMap_Section_Slicedd__41: IEnumerator<object>
 
class< DrawToMap_Section_SlicedIEnumerator
 

Static Private Attributes

const int MapTextureDimensions = 256
 

Detailed Description

Definition at line 18 of file GUIMap.cs.


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