Elin Modding Docs Doc
All Classes Namespaces
AM_Copy Class Reference
Inheritance diagram for AM_Copy:
AM_BaseTileSelect ActionMode EClass AM_Blueprint

Public Types

enum  Mode { Copy , Place , Create }
 

Public Member Functions

override string OnSetSubMenuButton (int a, UIButton b)
 
override void OnClickSubMenu (int a)
 
override HitResult HitTest (Point point, Point start)
 
override void OnSelectStart (Point point)
 
override void OnSelectEnd (bool cancel)
 
override void OnAfterProcessTiles (Point start, Point end)
 
virtual void OnSave (PartialMap _partial)
 
override void OnRenderTile (Point point, HitResult result, int dir)
 
override void OnUpdateInput ()
 
override void RotateUnderMouse ()
 
void Clear ()
 
override void OnCancel ()
 
void Import (string path)
 
void ImportDialog (string dir=null)
 
void RefreshMenu (bool show)
 
override void OnActivate ()
 
override void OnDeactivate ()
 
- Public Member Functions inherited from ActionMode
virtual int TopHeight (Point p)
 
virtual void SEExecuteSummary ()
 
virtual bool HighlightWall (Point p)
 
virtual bool IsRoofEditMode (Card c=null)
 
virtual bool IsFillMode ()
 
virtual int GetDefaultTile (Point p)
 
virtual void OnShowExtraHint (UINote n)
 
void Activate (bool toggle=true, bool forceActivate=false)
 
unsafe void RefreshTexts ()
 
virtual string GetSimpleText (Card c)
 
void ClearSimpleTexts ()
 
void Deactivate ()
 
virtual void OnBeforeUpdate ()
 
virtual void OnAfterUpdate ()
 
virtual void OnUpdateCursor ()
 
void OnRotate ()
 
void SetCursorOnMap (CursorInfo cursor)
 
void UpdateInput ()
 
void InputMovement ()
 
virtual void InputWheel (int wheel)
 
void DoFunc (CoreConfig.GameFuncBuild func)
 
void DoFunc (CoreConfig.GameFunc func)
 
virtual void OnScroll ()
 
void TryRightClickCloseWidget ()
 
bool TryShowWidgetMenu ()
 
HitResult _HitTest (Point point, Point start)
 
virtual MeshPass GetGuidePass (Point point)
 
unsafe void OnRenderTileFloor (Point point, HitResult result)
 
virtual bool CanProcessTiles ()
 
virtual void OnBeforeProcessTiles ()
 
virtual void OnProcessTiles (Point point, int dir)
 
virtual void OnFinishProcessTiles ()
 
virtual void OnRefreshSummary (Point point, HitResult result, HitSummary summary)
 
void ShowLayer ()
 
virtual Layer OnShowLayer ()
 
void HideLayer ()
 
virtual void OnHideLayer ()
 
virtual string GetHintText ()
 
virtual ref string SetMouseInfo (ref string s)
 
void TogglePause ()
 
void Pause (bool sound=false)
 
void UnPause (bool sound=false)
 
void ChangeGameSpeed (int a, bool sound=false)
 

Public Attributes

string overwritePath
 
PartialMap partialMap
 
DirectoryInfo dir
 
DirectoryInfo dirUser
 
- Public Attributes inherited from ActionMode
Layer layer
 
int brushRadius = 4
 

Properties

override BaseTileSelector.SelectType selectType [get]
 
override bool IsBuildMode [get]
 
override BuildMenu.Mode buildMenuMode [get]
 
override bool UseSubMenu [get]
 
override bool SubMenuAsGroup [get]
 
virtual AM_Copy.Mode mode [get]
 
PartialMapMenu menu [get]
 
override int CostMoney [get]
 
- Properties inherited from AM_BaseTileSelect
override CursorInfo DefaultCursor [get]
 
override bool enableMouseInfo [get]
 
override bool ShowMouseoverTarget [get]
 
override bool CanSelectTile [get]
 
override AreaHighlightMode AreaHihlight [get]
 
TaskManager.Designations Designations [get]
 
override string idSound [get]
 
override bool AllowMiddleClickFunc [get]
 
override bool ShowMaskedThings [get]
 
- Properties inherited from ActionMode
static AM_Adv AdvOrRegion [get]
 
static bool IsAdv [get]
 
virtual float gameSpeed [get]
 
bool IsActive [get]
 
virtual BaseTileSelector.HitType hitType [get]
 
virtual BaseTileSelector.SelectType selectType [get]
 
virtual BaseTileSelector.BoxType boxType [get]
 
virtual bool ContinuousClick [get]
 
virtual int hitW [get]
 
virtual int hitH [get]
 
HitSummary Summary [get]
 
bool Multisize [get]
 
virtual string id [get]
 
virtual CursorInfo DefaultCursor [get]
 
virtual string idHelpTopic [get]
 
virtual string idSound [get]
 
virtual bool enableMouseInfo [get]
 
virtual bool hideBalloon [get]
 
virtual string textHintTitle [get]
 
virtual bool AllowAutoClick [get]
 
virtual bool ShowActionHint [get]
 
virtual bool ShowMouseoverTarget [get]
 
virtual AreaHighlightMode AreaHihlight [get]
 
virtual bool CanSelectTile [get]
 
virtual bool CanTargetOutsideBounds [get]
 
virtual bool ShouldPauseGame [get]
 
virtual bool FixFocus [get]
 
virtual bool HideSubWidgets [get]
 
virtual bool IsBuildMode [get]
 
virtual bool ShowBuildWidgets [get]
 
virtual BuildMenu.Mode buildMenuMode [get]
 
virtual bool ShouldHideBuildMenu [get]
 
virtual bool CanTargetFog [get]
 
virtual int CostMoney [get]
 
virtual bool AllowBuildModeShortcuts [get]
 
virtual bool AllowMiddleClickFunc [get]
 
virtual bool AllowHotbar [get]
 
virtual bool AllowGeneralInput [get]
 
virtual bool ShowMaskedThings [get]
 
virtual int SelectorHeight [get]
 
virtual bool AllowWheelZoom [get]
 
virtual float TargetZoom [get]
 
virtual BaseTileMap.CardIconMode cardIconMode [get]
 
virtual BaseGameScreen TargetGameScreen [get]
 
virtual bool IsNoMap [get]
 
virtual bool UseSubMenu [get]
 
virtual bool UseSubMenuSlider [get]
 
virtual bool SubMenuAsGroup [get]
 
virtual int SubMenuModeIndex [get]
 
virtual bool ShowExtraHint [get]
 
BaseTileSelector tileSelector [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from ActionMode
static void OnGameInstantiated ()
 
- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Static Public Attributes inherited from ActionMode
static ActionMode DefaultMode
 
static AM_Title Title = new AM_Title()
 
static AM_Sim Sim
 
static AM_ViewZone View
 
static AM_Adv Adv
 
static AM_Region Region
 
static AM_ADV_Target AdvTarget
 
static AM_EloMap EloMap
 
static AM_Inspect Inspect
 
static AM_NoMap NoMap
 
static AM_MiniGame MiniGame
 
static AM_NewZone NewZone
 
static AM_Bird Bird
 
static AM_Mine Mine
 
static AM_Dig Dig
 
static AM_Harvest Harvest
 
static AM_Cut Cut
 
static AM_StateEditor StateEditor
 
static AM_Picker Picker
 
static AM_Copy Copy
 
static AM_Blueprint Blueprint
 
static AM_Build Build
 
static AM_CreateArea CreateArea
 
static AM_EditArea EditArea
 
static AM_ExpandArea ExpandArea
 
static AM_Deconstruct Deconstruct
 
static AM_Select Select
 
static AM_RemoveDesignation RemoveDesignation
 
static AM_ViewMap ViewMap
 
static AM_Terrain Terrain
 
static AM_Populate Populate
 
static AM_EditMarker EditMarker
 
static AM_Visibility Visibility
 
static AM_Cinema Cinema
 
static AM_Paint Paint
 
static AM_FlagCell FlagCell
 
static ActionMode LastBuildMode
 
static SourceMaterial.Row lastEditorMat
 
static bool ignoreSound
 
static float[] GameSpeeds
 
static List< TCSimpleTextsimpleTexts = new List<TCSimpleText>()
 
- Static Public Attributes inherited from EClass
static Core core
 
- Static Protected Attributes inherited from ActionMode
static Vector3 mpos
 

Detailed Description

Definition at line 8 of file AM_Copy.cs.

Member Enumeration Documentation

◆ Mode

enum AM_Copy.Mode

Definition at line 393 of file AM_Copy.cs.

Member Function Documentation

◆ Clear()

void AM_Copy.Clear ( )

Definition at line 259 of file AM_Copy.cs.

◆ HitTest()

override HitResult AM_Copy.HitTest ( Point point,
Point start )
virtual

Reimplemented from ActionMode.

Definition at line 102 of file AM_Copy.cs.

◆ Import()

void AM_Copy.Import ( string path)

Definition at line 295 of file AM_Copy.cs.

◆ ImportDialog()

void AM_Copy.ImportDialog ( string dir = null)

Definition at line 302 of file AM_Copy.cs.

◆ OnActivate()

override void AM_Copy.OnActivate ( )
virtual

Reimplemented from ActionMode.

Definition at line 352 of file AM_Copy.cs.

◆ OnAfterProcessTiles()

override void AM_Copy.OnAfterProcessTiles ( Point start,
Point end )
virtual

Reimplemented from ActionMode.

Definition at line 141 of file AM_Copy.cs.

◆ OnCancel()

override void AM_Copy.OnCancel ( )
virtual

Reimplemented from ActionMode.

Definition at line 267 of file AM_Copy.cs.

◆ OnClickSubMenu()

override void AM_Copy.OnClickSubMenu ( int a)
virtual

Reimplemented from ActionMode.

Definition at line 96 of file AM_Copy.cs.

◆ OnDeactivate()

override void AM_Copy.OnDeactivate ( )
virtual

Reimplemented from ActionMode.

Definition at line 363 of file AM_Copy.cs.

◆ OnRenderTile()

override void AM_Copy.OnRenderTile ( Point point,
HitResult result,
int dir )
virtual

Reimplemented from ActionMode.

Definition at line 206 of file AM_Copy.cs.

◆ OnSave()

virtual void AM_Copy.OnSave ( PartialMap _partial)
virtual

Definition at line 194 of file AM_Copy.cs.

◆ OnSelectEnd()

override void AM_Copy.OnSelectEnd ( bool cancel)
virtual

Reimplemented from ActionMode.

Definition at line 132 of file AM_Copy.cs.

◆ OnSelectStart()

override void AM_Copy.OnSelectStart ( Point point)
virtual

Reimplemented from ActionMode.

Definition at line 126 of file AM_Copy.cs.

◆ OnSetSubMenuButton()

override string AM_Copy.OnSetSubMenuButton ( int a,
UIButton b )
virtual

Reimplemented from ActionMode.

Definition at line 85 of file AM_Copy.cs.

◆ OnUpdateInput()

override void AM_Copy.OnUpdateInput ( )
virtual

Reimplemented from ActionMode.

Definition at line 235 of file AM_Copy.cs.

◆ RefreshMenu()

void AM_Copy.RefreshMenu ( bool show)

Definition at line 315 of file AM_Copy.cs.

◆ RotateUnderMouse()

override void AM_Copy.RotateUnderMouse ( )
virtual

Reimplemented from ActionMode.

Definition at line 248 of file AM_Copy.cs.

Member Data Documentation

◆ dir

DirectoryInfo AM_Copy.dir

Definition at line 387 of file AM_Copy.cs.

◆ dirUser

DirectoryInfo AM_Copy.dirUser

Definition at line 390 of file AM_Copy.cs.

◆ overwritePath

string AM_Copy.overwritePath

Definition at line 381 of file AM_Copy.cs.

◆ partialMap

PartialMap AM_Copy.partialMap

Definition at line 384 of file AM_Copy.cs.

Property Documentation

◆ buildMenuMode

override BuildMenu.Mode AM_Copy.buildMenuMode
get

Definition at line 36 of file AM_Copy.cs.

◆ CostMoney

override int AM_Copy.CostMoney
get

Definition at line 222 of file AM_Copy.cs.

◆ IsBuildMode

override bool AM_Copy.IsBuildMode
get

Definition at line 26 of file AM_Copy.cs.

◆ menu

PartialMapMenu AM_Copy.menu
get

Definition at line 76 of file AM_Copy.cs.

◆ mode

virtual AM_Copy.Mode AM_Copy.mode
get

Definition at line 66 of file AM_Copy.cs.

◆ selectType

override BaseTileSelector.SelectType AM_Copy.selectType
get

Definition at line 12 of file AM_Copy.cs.

◆ SubMenuAsGroup

override bool AM_Copy.SubMenuAsGroup
get

Definition at line 56 of file AM_Copy.cs.

◆ UseSubMenu

override bool AM_Copy.UseSubMenu
get

Definition at line 46 of file AM_Copy.cs.


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