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

◆ Draw() [2/3]

static void GUIDraggableItemGrid.Draw ( DraggableItemGrid_Layout gridLayout,
GUIItemGrid::GetItemScaleHandler scaleHandler,
GUIItemGrid::CursorOver cursorOverHandler,
GUIItemGrid::DrawItemHandler drawhandler,
int itemCount,
float scrollOffset,
float momentum,
int draggingState,
Microsoft::Xna::Framework::Vector2 dragPosition,
GUIItemGrid::GetItemSizeHandler itemSizeHandler,
bool drawMissingItems = false,
bool allowMouseScroll = false,
bool disableDragScroll = false )
inlinestatic

Definition at line 171 of file GUIDraggableItemGrid.cs.

172 {
173 IntPtr invoke_impl = scaleHandler.invoke_impl;
174 IntPtr method_code = scaleHandler.method_code;
175 IntPtr method = scaleHandler.method;
176 if (gridLayout.ExplicitDragRegionSize)
177 {
180 float x = gridLayout.FirstItemLocation.X;
181 float y = gridLayout.FirstItemLocation.Y;
182 float x2 = gridLayout.DragRegionEndItemLocation.X;
183 float y2 = gridLayout.DragRegionEndItemLocation.Y;
186 return;
187 }
188 Debug.LogError("Not supported!!");
189 bool dragHorizontal = gridLayout.DragHorizontal;
190 if (dragHorizontal)
191 {
192 if (!dragHorizontal)
193 {
194 }
195 Debug.LogError("Not supported!!");
196 return;
197 }
198 bool explicitDragRegionSize = gridLayout.ExplicitDragRegionSize;
200 {
201 }
203 {
204 }
205 float y3 = gridLayout.ExtraElementSpacing.Y;
206 }
class f__AnonymousType0<< Count > j__TPar
static void LogError(object message)
Definition Debug.cs:62

References j__TPar, UnityEngine.Debug.LogError(), and Microsoft.Xna.Framework.Vector2.X.