Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ZoneInspector.ResizeUtil Class Reference

Public Member Functions

void Apply ()
 

Public Attributes

int newSize
 
Vector2Int offset
 

Detailed Description

Definition at line 67 of file ZoneInspector.cs.

Member Function Documentation

◆ Apply()

void ZoneInspector.ResizeUtil.Apply ( )
inline

Definition at line 73 of file ZoneInspector.cs.

74 {
75 if (EMono._map.Size != newSize)
76 {
78 }
79 if (offset.x != 0 || offset.y != 0)
80 {
82 }
83 }
Definition: EMono.cs:4
static Map _map
Definition: EMono.cs:17
int Size
Definition: MapBounds.cs:20
void Shift(Vector2Int offset)
Definition: Map.cs:254
void Resize(int newSize)
Definition: Map.cs:226

References EMono._map, ZoneInspector.ResizeUtil.newSize, ZoneInspector.ResizeUtil.offset, Map.Resize(), Map.Shift(), and MapBounds.Size.

Member Data Documentation

◆ newSize

int ZoneInspector.ResizeUtil.newSize

Definition at line 69 of file ZoneInspector.cs.

Referenced by ZoneInspector.ResizeUtil.Apply().

◆ offset

Vector2Int ZoneInspector.ResizeUtil.offset

Definition at line 71 of file ZoneInspector.cs.

Referenced by ZoneInspector.ResizeUtil.Apply().


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