My Project v1
Project
载入中...
搜索中...
未找到
ModsManageContentScreen
类 ModsManageContentScreen 继承关系图:
ModsManageContentScreen 的协作图:

class  ModItem
 

Public 类型

enum  StateFilter { UninstallState , InstallState }
 

Public 成员函数

 ModsManageContentScreen ()
 
override void Enter (object[] parameters)
 
override void Leave ()
 
override void Update ()
 
void UpdateListWithBusyDialog (bool fast=false)
 
void UpdateList (bool fast=false)
 
void SetModItemList ()
 
void ReadyForScan (CancellableBusyDialog busyDialog)
 
int ScanModFile (string path, CancellableBusyDialog busyDialog=null)
 
int FastScanModFile (bool showTips=true)
 
ModItem GetModItem (string fileName, bool IsDirectory)
 
bool InstallModChange ()
 
void SetPath (string path)
 
string SetPathText (string path)
 
void AddCommonPath (string path)
 
void UpdateModFromCommunity (ModInfo modInfo)
 
- Public 成员函数 继承自 Game.Screen
 Screen ()
 
- Public 成员函数 继承自 Game.CanvasWidget
Vector2? GetWidgetPosition (Widget widget)
 
void SetWidgetPosition (Widget widget, Vector2? position)
 
override void WidgetRemoved (Widget widget)
 
override void MeasureOverride (Vector2 parentAvailableSize)
 
override void ArrangeOverride ()
 
- Public 成员函数 继承自 Game.ContainerWidget
 ContainerWidget ()
 
override void UpdateCeases ()
 
void AddChildren (Widget widget)
 
void RemoveChildren (Widget widget)
 
void ClearChildren ()
 
virtual void WidgetAdded (Widget widget)
 
override void MeasureOverride (Vector2 parentAvailableSize)
 
override void ArrangeOverride ()
 
override void Dispose ()
 
- Public 成员函数 继承自 Game.Widget
 Widget ()
 
void LoadContents (object eventsTarget, XElement node)
 
void LoadProperties (object eventsTarget, XElement node)
 
void LoadChildren (object eventsTarget, XElement node)
 
bool IsChildWidgetOf (ContainerWidget containerWidget)
 
virtual void ChangeParent (ContainerWidget parentWidget)
 
void Measure (Vector2 parentAvailableSize)
 
void Arrange (Vector2 position, Vector2 parentActualSize)
 
virtual void Draw (DrawContext dc)
 
virtual void Overdraw (DrawContext dc)
 
virtual bool HitTest (Vector2 point)
 
Widget HitTestGlobal (Vector2 point, Func< Widget, bool > predicate=null)
 
Vector2 ScreenToWidget (Vector2 p)
 
Vector2 WidgetToScreen (Vector2 p)
 
BoundingRectangle TransformBoundsToParent (Vector2 size)
 
BoundingRectangle TransformBoundsToGlobal (Vector2 size)
 

静态 Public 成员函数

static bool IsOldApiVersionMod (ModItem modItem, out string details)
 
static Stream GetDecipherStream (Stream stream)
 
static bool StrengtheningMod (string path)
 
- 静态 Public 成员函数 继承自 Game.CanvasWidget
static void SetPosition (Widget widget, Vector2 position)
 
- 静态 Public 成员函数 继承自 Game.ContainerWidget
static void ArrangeChildWidgetInCell (Vector2 c1, Vector2 c2, Widget widget)
 
- 静态 Public 成员函数 继承自 Game.Widget
static Widget LoadWidget (object eventsTarget, XElement node, ContainerWidget parentWidget)
 
static bool TestOverlap (Widget w1, Widget w2)
 
static bool IsNodeIncludedOnCurrentPlatform (XElement node)
 
static void UpdateWidgetsHierarchy (Widget rootWidget)
 
static void LayoutWidgetsHierarchy (Widget rootWidget, Vector2 availableSize)
 
static void DrawWidgetsHierarchy (Widget rootWidget)
 
static Type FindTypeFromXmlName (string name, string namespaceName)
 
static Widget HitTestGlobal (Widget widget, Vector2 point, Func< Widget, bool > predicate)
 
static void UpdateWidgetsHierarchy (Widget widget, ref bool isMouseCursorVisible)
 

Public 属性

ListPanelWidget m_modsContentList
 
LabelWidget m_topBarLabel
 
LabelWidget m_modsContentLabel
 
ButtonWidget m_actionButton
 
ButtonWidget m_actionButton2
 
ButtonWidget m_actionButton3
 
ButtonWidget m_uninstallFilterButton
 
ButtonWidget m_installFilterButton
 
ButtonWidget m_upDirectoryButton
 
StateFilter m_filter
 
List< ModItemm_installModList = []
 
List< ModItemm_uninstallModList = []
 
List< ModInfom_installModInfo = []
 
List< ModInfom_lastInstallModInfo = []
 
List< string > m_latestScanModList = []
 
int m_count
 
bool m_androidSystem
 
bool m_androidDataPathEnterEnabled
 
string m_androidDataPath = "android:/Android/data"
 
string m_path
 
string m_lastPath
 
string m_uninstallPath = ModsManager.ModDisPath
 
string m_installPath = ModsManager.ModsPath
 
bool m_updatable
 
bool m_firstEnterInstallScreen
 
bool m_firstEnterScreen
 
bool m_cancelScan
 
List< string > m_scanFailPaths = []
 
CancellableBusyDialog m_cancellableBusyDialog
 
List< string > m_commonPathList = []
 
bool m_isAdmin
 
string[] m_commonPaths = []
 
- Public 属性 继承自 Game.CanvasWidget
Dictionary< Widget, Vector2 > m_positions = []
 
- Public 属性 继承自 Game.ContainerWidget
readonly WidgetsList Children
 
- Public 属性 继承自 Game.Widget
Action< Vector2 > MeasureOverride1
 
Action Update1
 
bool m_isVisible
 
bool m_isEnabled
 
Vector2 m_actualSize
 
Vector2 m_desiredSize
 
Vector2 m_parentDesiredSize
 
BoundingRectangle m_globalBounds
 
Vector2 m_parentOffset
 
bool m_isLayoutTransformIdentity = true
 
bool m_isRenderTransformIdentity = true
 
Matrix m_layoutTransform = Matrix.Identity
 
Matrix m_renderTransform = Matrix.Identity
 
Matrix m_globalTransform = Matrix.Identity
 
Matrix? m_invertedGlobalTransform
 
float? m_globalScale
 
Color m_colorTransform = Color.White
 
Color m_globalColorTransform
 
WidgetInput m_widgetsHierarchyInput
 

静态 Public 属性

static string fName = "ModsManageContentScreen"
 
static string HeadingCode = "有头有脸天才少年,耍猴表演敢为人先"
 
static string HeadingCode2 = "修改他人mod请获得原作者授权,否则小心出名!"
 
- 静态 Public 属性 继承自 Game.Widget
static Queue< DrawContextm_drawContextsCache = new()
 
static int LayersLimit = -1
 
static bool DrawWidgetBounds = false
 

额外继承的成员函数

- 属性 继承自 Game.CanvasWidget
Vector2 Size = new Vector2(-1f) [get, set]
 
- 属性 继承自 Game.ContainerWidget
IEnumerable< WidgetAllChildren [get]
 
- 属性 继承自 Game.Widget
WidgetInput WidgetsHierarchyInput [get, set]
 
WidgetInput Input [get]
 
Matrix LayoutTransform [get, set]
 
Matrix RenderTransform [get, set]
 
Matrix GlobalTransform [get]
 
float GlobalScale [get]
 
Matrix InvertedGlobalTransform [get]
 
BoundingRectangle GlobalBounds [get]
 
Color ColorTransform [get, set]
 
Color GlobalColorTransform [get]
 
virtual string Name [get, set]
 
object Tag [get, set]
 
virtual bool IsVisible [get, set]
 
virtual bool IsEnabled [get, set]
 
virtual bool IsHitTestVisible [get, set]
 
bool IsVisibleGlobal [get]
 
bool IsEnabledGlobal [get]
 
bool ClampToBounds [get, set]
 
virtual Vector2 Margin [get, set]
 
virtual WidgetAlignment HorizontalAlignment [get, set]
 
virtual WidgetAlignment VerticalAlignment [get, set]
 
Vector2 ActualSize [get]
 
Vector2 DesiredSize [get, set]
 
Vector2 ParentDesiredSize [get]
 
bool IsUpdateEnabled = true [get, set]
 
bool IsDrawEnabled = true [get, set]
 
bool IsDrawRequired [get, set]
 
bool IsOverdrawRequired [get, set]
 
XElement Style [set]
 
ContainerWidget ParentWidget [get, set]
 
Widget RootWidget [get]
 

成员枚举类型说明

◆ StateFilter

enum ModsManageContentScreen.StateFilter
枚举值
UninstallState 
InstallState 

构造及析构函数说明

◆ ModsManageContentScreen()

ModsManageContentScreen.ModsManageContentScreen ( )
函数调用图:

成员函数说明

◆ AddCommonPath()

void ModsManageContentScreen.AddCommonPath ( string path)
这是这个函数的调用关系图:

◆ Enter()

override void ModsManageContentScreen.Enter ( object[] parameters)
virtual

重载 Game.Screen .

函数调用图:

◆ FastScanModFile()

int ModsManageContentScreen.FastScanModFile ( bool showTips = true)
函数调用图:
这是这个函数的调用关系图:

◆ GetDecipherStream()

static Stream ModsManageContentScreen.GetDecipherStream ( Stream stream)
static
这是这个函数的调用关系图:

◆ GetModItem()

ModItem ModsManageContentScreen.GetModItem ( string fileName,
bool IsDirectory )
函数调用图:
这是这个函数的调用关系图:

◆ InstallModChange()

bool ModsManageContentScreen.InstallModChange ( )
这是这个函数的调用关系图:

◆ IsOldApiVersionMod()

static bool ModsManageContentScreen.IsOldApiVersionMod ( ModItem modItem,
out string details )
static
函数调用图:
这是这个函数的调用关系图:

◆ Leave()

override void ModsManageContentScreen.Leave ( )
virtual

重载 Game.Screen .

函数调用图:

◆ ReadyForScan()

void ModsManageContentScreen.ReadyForScan ( CancellableBusyDialog busyDialog)
函数调用图:
这是这个函数的调用关系图:

◆ ScanModFile()

int ModsManageContentScreen.ScanModFile ( string path,
CancellableBusyDialog busyDialog = null )
函数调用图:
这是这个函数的调用关系图:

◆ SetModItemList()

void ModsManageContentScreen.SetModItemList ( )
函数调用图:
这是这个函数的调用关系图:

◆ SetPath()

void ModsManageContentScreen.SetPath ( string path)
这是这个函数的调用关系图:

◆ SetPathText()

string ModsManageContentScreen.SetPathText ( string path)
这是这个函数的调用关系图:

◆ StrengtheningMod()

static bool ModsManageContentScreen.StrengtheningMod ( string path)
static
函数调用图:

◆ Update()

override void ModsManageContentScreen.Update ( )
virtual

重载 Game.Widget .

函数调用图:

◆ UpdateList()

void ModsManageContentScreen.UpdateList ( bool fast = false)
函数调用图:
这是这个函数的调用关系图:

◆ UpdateListWithBusyDialog()

void ModsManageContentScreen.UpdateListWithBusyDialog ( bool fast = false)
函数调用图:
这是这个函数的调用关系图:

◆ UpdateModFromCommunity()

void ModsManageContentScreen.UpdateModFromCommunity ( ModInfo modInfo)

类成员变量说明

◆ fName

string ModsManageContentScreen.fName = "ModsManageContentScreen"
static

◆ HeadingCode

string ModsManageContentScreen.HeadingCode = "有头有脸天才少年,耍猴表演敢为人先"
static

◆ HeadingCode2

string ModsManageContentScreen.HeadingCode2 = "修改他人mod请获得原作者授权,否则小心出名!"
static

◆ m_actionButton

ButtonWidget ModsManageContentScreen.m_actionButton

◆ m_actionButton2

ButtonWidget ModsManageContentScreen.m_actionButton2

◆ m_actionButton3

ButtonWidget ModsManageContentScreen.m_actionButton3

◆ m_androidDataPath

string ModsManageContentScreen.m_androidDataPath = "android:/Android/data"

◆ m_androidDataPathEnterEnabled

bool ModsManageContentScreen.m_androidDataPathEnterEnabled

◆ m_androidSystem

bool ModsManageContentScreen.m_androidSystem

◆ m_cancellableBusyDialog

CancellableBusyDialog ModsManageContentScreen.m_cancellableBusyDialog

◆ m_cancelScan

bool ModsManageContentScreen.m_cancelScan

◆ m_commonPathList

List<string> ModsManageContentScreen.m_commonPathList = []

◆ m_commonPaths

string [] ModsManageContentScreen.m_commonPaths = []

◆ m_count

int ModsManageContentScreen.m_count

◆ m_filter

StateFilter ModsManageContentScreen.m_filter

◆ m_firstEnterInstallScreen

bool ModsManageContentScreen.m_firstEnterInstallScreen

◆ m_firstEnterScreen

bool ModsManageContentScreen.m_firstEnterScreen

◆ m_installFilterButton

ButtonWidget ModsManageContentScreen.m_installFilterButton

◆ m_installModInfo

List<ModInfo> ModsManageContentScreen.m_installModInfo = []

◆ m_installModList

List<ModItem> ModsManageContentScreen.m_installModList = []

◆ m_installPath

string ModsManageContentScreen.m_installPath = ModsManager.ModsPath

◆ m_isAdmin

bool ModsManageContentScreen.m_isAdmin

◆ m_lastInstallModInfo

List<ModInfo> ModsManageContentScreen.m_lastInstallModInfo = []

◆ m_lastPath

string ModsManageContentScreen.m_lastPath

◆ m_latestScanModList

List<string> ModsManageContentScreen.m_latestScanModList = []

◆ m_modsContentLabel

LabelWidget ModsManageContentScreen.m_modsContentLabel

◆ m_modsContentList

ListPanelWidget ModsManageContentScreen.m_modsContentList

◆ m_path

string ModsManageContentScreen.m_path

◆ m_scanFailPaths

List<string> ModsManageContentScreen.m_scanFailPaths = []

◆ m_topBarLabel

LabelWidget ModsManageContentScreen.m_topBarLabel

◆ m_uninstallFilterButton

ButtonWidget ModsManageContentScreen.m_uninstallFilterButton

◆ m_uninstallModList

List<ModItem> ModsManageContentScreen.m_uninstallModList = []

◆ m_uninstallPath

string ModsManageContentScreen.m_uninstallPath = ModsManager.ModDisPath

◆ m_updatable

bool ModsManageContentScreen.m_updatable

◆ m_upDirectoryButton

ButtonWidget ModsManageContentScreen.m_upDirectoryButton

该类的文档由以下文件生成: