Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.OriginalCommunityContentScreen
类 Game.OriginalCommunityContentScreen 继承关系图:
Game.OriginalCommunityContentScreen 的协作图:

Public 类型

enum  Order {
  ByRank , ByTime , ByDownloads , BySize ,
  ByVersionNewest , ByVersionOldest
}

Public 成员函数

 OriginalCommunityContentScreen ()
override void Enter (object[] parameters)
override void Update ()
void PopulateList (string cursor)
void DownloadEntry (OriginalCommunityContentEntry entry)
void DeleteEntry (OriginalCommunityContentEntry entry)
Public 成员函数 继承自 Game.Screen
virtual void Leave ()
Public 成员函数 继承自 Game.CanvasWidget
Vector2GetWidgetPosition (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 ()
virtual void LoadContents (object eventsTarget, XElement node)
virtual void LoadProperties (object eventsTarget, XElement node)
virtual void LoadChildren (object eventsTarget, XElement node)
virtual bool IsChildWidgetOf (ContainerWidget containerWidget)
virtual void ChangeParent (ContainerWidget parentWidget)
virtual void Measure (Vector2 parentAvailableSize)
virtual void Arrange (Vector2 position, Vector2 parentActualSize)
virtual void Draw (DrawContext dc)
virtual void Overdraw (DrawContext dc)
virtual bool HitTest (Vector2 point)
virtual Widget HitTestGlobal (Vector2 point, Func< Widget, bool > predicate=null)
virtual Vector2 ScreenToWidget (Vector2 p)
virtual Vector2 WidgetToScreen (Vector2 p)
virtual BoundingRectangle TransformBoundsToParent (Vector2 size)
virtual BoundingRectangle TransformBoundsToGlobal (Vector2 size)

静态 Public 成员函数

static string GetFilterDisplayName (object filter)
static string GetOrderDisplayName (Order order)
static bool IsEntryTypeDownloadSupported (OriginalExternalContentType type)
static string GetEntryTypeDescription (OriginalExternalContentType type)
静态 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_listPanel
LinkWidget m_moreLink
LabelWidget m_orderLabel
ButtonWidget m_changeOrderButton
LabelWidget m_filterLabel
ButtonWidget m_changeFilterButton
TextBoxWidget m_searchTextBox
LabelWidget m_searchLabel
LinkWidget m_clearSearchLink
ButtonWidget m_downloadButton
ButtonWidget m_deleteButton
ButtonWidget m_moreOptionsButton
CancellableBusyDialog m_busyDialog = new($"[{fName1}:2]", false)
object m_filter
Order m_order
string m_search
double m_itemsCacheExpiryTime
int m_populatingListCount
Dictionary< string, IEnumerable< object > > m_itemsCache = new()
Public 属性 继承自 Game.CanvasWidget
Dictionary< Widget, Vector2m_positions = []
Public 属性 继承自 Game.ContainerWidget
readonly WidgetsList Children
Public 属性 继承自 Game.Widget
Action< Vector2MeasureOverride1
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
Matrixm_invertedGlobalTransform
float? m_globalScale
Color m_colorTransform = Color.White
Color m_globalColorTransform
WidgetInput m_widgetsHierarchyInput

静态 Public 属性

const string fName = "OriginalCommunityContentScreen"
const string fName1 = "CommunityContentScreen"
静态 Public 属性 继承自 Game.Widget
static Queue< DrawContextm_drawContextsCache = new()
static int LayersLimit = -1
static bool DrawWidgetBounds = false

额外继承的成员函数

属性 继承自 Game.CanvasWidget
Vector2 Size = new(-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]
object ExtraData [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 float MarginLeft [get, set]
virtual float MarginRight [get, set]
virtual float MarginTop [get, set]
virtual float MarginBottom [get, set]
virtual Vector4 Margin4 [get, set]
virtual float MarginHorizontalSum [get]
virtual float MarginVerticalSum [get]
virtual Vector2 MarginHorizontalSumAndVerticalSum [get]
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]

详细描述

在文件 OriginalCommunityContentScreen.cs5 行定义.

成员枚举类型说明

◆ Order

枚举值
ByRank 
ByTime 
ByDownloads 
BySize 
ByVersionNewest 
ByVersionOldest 

在文件 OriginalCommunityContentScreen.cs6 行定义.

构造及析构函数说明

◆ OriginalCommunityContentScreen()

Game.OriginalCommunityContentScreen.OriginalCommunityContentScreen ( )

在文件 OriginalCommunityContentScreen.cs56 行定义.

函数调用图:

成员函数说明

◆ DeleteEntry()

void Game.OriginalCommunityContentScreen.DeleteEntry ( OriginalCommunityContentEntry entry)

在文件 OriginalCommunityContentScreen.cs289 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ DownloadEntry()

void Game.OriginalCommunityContentScreen.DownloadEntry ( OriginalCommunityContentEntry entry)

在文件 OriginalCommunityContentScreen.cs271 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Enter()

override void Game.OriginalCommunityContentScreen.Enter ( object[] parameters)
virtual

重载 Game.Screen .

在文件 OriginalCommunityContentScreen.cs103 行定义.

函数调用图:

◆ GetEntryTypeDescription()

string Game.OriginalCommunityContentScreen.GetEntryTypeDescription ( OriginalExternalContentType type)
static

在文件 OriginalCommunityContentScreen.cs369 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GetFilterDisplayName()

string Game.OriginalCommunityContentScreen.GetFilterDisplayName ( object filter)
static

在文件 OriginalCommunityContentScreen.cs335 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GetOrderDisplayName()

string Game.OriginalCommunityContentScreen.GetOrderDisplayName ( Order order)
static

在文件 OriginalCommunityContentScreen.cs347 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ IsEntryTypeDownloadSupported()

bool Game.OriginalCommunityContentScreen.IsEntryTypeDownloadSupported ( OriginalExternalContentType type)
static

在文件 OriginalCommunityContentScreen.cs359 行定义.

这是这个函数的调用关系图:

◆ PopulateList()

void Game.OriginalCommunityContentScreen.PopulateList ( string cursor)

在文件 OriginalCommunityContentScreen.cs206 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Update()

override void Game.OriginalCommunityContentScreen.Update ( )
virtual

重载 Game.Widget .

在文件 OriginalCommunityContentScreen.cs110 行定义.

函数调用图:

类成员变量说明

◆ fName

const string Game.OriginalCommunityContentScreen.fName = "OriginalCommunityContentScreen"
static

在文件 OriginalCommunityContentScreen.cs39 行定义.

◆ fName1

const string Game.OriginalCommunityContentScreen.fName1 = "CommunityContentScreen"
static

在文件 OriginalCommunityContentScreen.cs40 行定义.

◆ m_busyDialog

CancellableBusyDialog Game.OriginalCommunityContentScreen.m_busyDialog = new($"[{fName1}:2]", false)

在文件 OriginalCommunityContentScreen.cs42 行定义.

◆ m_changeFilterButton

ButtonWidget Game.OriginalCommunityContentScreen.m_changeFilterButton

在文件 OriginalCommunityContentScreen.cs25 行定义.

◆ m_changeOrderButton

ButtonWidget Game.OriginalCommunityContentScreen.m_changeOrderButton

在文件 OriginalCommunityContentScreen.cs21 行定义.

◆ m_clearSearchLink

LinkWidget Game.OriginalCommunityContentScreen.m_clearSearchLink

在文件 OriginalCommunityContentScreen.cs31 行定义.

◆ m_deleteButton

ButtonWidget Game.OriginalCommunityContentScreen.m_deleteButton

在文件 OriginalCommunityContentScreen.cs35 行定义.

◆ m_downloadButton

ButtonWidget Game.OriginalCommunityContentScreen.m_downloadButton

在文件 OriginalCommunityContentScreen.cs33 行定义.

◆ m_filter

object Game.OriginalCommunityContentScreen.m_filter

在文件 OriginalCommunityContentScreen.cs44 行定义.

◆ m_filterLabel

LabelWidget Game.OriginalCommunityContentScreen.m_filterLabel

在文件 OriginalCommunityContentScreen.cs23 行定义.

◆ m_itemsCache

Dictionary<string, IEnumerable<object> > Game.OriginalCommunityContentScreen.m_itemsCache = new()

在文件 OriginalCommunityContentScreen.cs54 行定义.

◆ m_itemsCacheExpiryTime

double Game.OriginalCommunityContentScreen.m_itemsCacheExpiryTime

在文件 OriginalCommunityContentScreen.cs50 行定义.

◆ m_listPanel

ListPanelWidget Game.OriginalCommunityContentScreen.m_listPanel

在文件 OriginalCommunityContentScreen.cs15 行定义.

◆ m_moreLink

LinkWidget Game.OriginalCommunityContentScreen.m_moreLink

在文件 OriginalCommunityContentScreen.cs17 行定义.

◆ m_moreOptionsButton

ButtonWidget Game.OriginalCommunityContentScreen.m_moreOptionsButton

在文件 OriginalCommunityContentScreen.cs37 行定义.

◆ m_order

Order Game.OriginalCommunityContentScreen.m_order

在文件 OriginalCommunityContentScreen.cs46 行定义.

◆ m_orderLabel

LabelWidget Game.OriginalCommunityContentScreen.m_orderLabel

在文件 OriginalCommunityContentScreen.cs19 行定义.

◆ m_populatingListCount

int Game.OriginalCommunityContentScreen.m_populatingListCount

在文件 OriginalCommunityContentScreen.cs52 行定义.

◆ m_search

string Game.OriginalCommunityContentScreen.m_search

在文件 OriginalCommunityContentScreen.cs48 行定义.

◆ m_searchLabel

LabelWidget Game.OriginalCommunityContentScreen.m_searchLabel

在文件 OriginalCommunityContentScreen.cs29 行定义.

◆ m_searchTextBox

TextBoxWidget Game.OriginalCommunityContentScreen.m_searchTextBox

在文件 OriginalCommunityContentScreen.cs27 行定义.


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