Show / Hide Table of Contents

Class UserUI

Inheritance
System.Object
UserUI
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public class UserUI : Object

Constructors

UserUI()

Declaration
public UserUI()

Properties

AllSkillsDisplayed

Declaration
public ThreadSafeAction AllSkillsDisplayed { get; }
Property Value
Type Description
ThreadSafeAction

CurrentTab

Information of the last tab selected by the user

Declaration
public string CurrentTab { get; set; }
Property Value
Type Description
System.String

CurrentViewEditor

Declaration
public ViewEditor CurrentViewEditor { get; set; }
Property Value
Type Description
ViewEditor

FormSelected

Declaration
public ThreadSafeAction FormSelected { get; }
Property Value
Type Description
ThreadSafeAction

MinimapOpened

Declaration
public ThreadSafeAction MinimapOpened { get; }
Property Value
Type Description
ThreadSafeAction

MinimapPan

Declaration
public ThreadSafeAction MinimapPan { get; }
Property Value
Type Description
ThreadSafeAction

MinimapTooltip

Declaration
public ThreadSafeAction MinimapTooltip { get; }
Property Value
Type Description
ThreadSafeAction

MinimapWorldLayerSelect

Declaration
public ThreadSafeAction MinimapWorldLayerSelect { get; }
Property Value
Type Description
ThreadSafeAction

MinimapZoom

Declaration
public ThreadSafeAction MinimapZoom { get; }
Property Value
Type Description
ThreadSafeAction

OnClose

Declaration
public ThreadSafeAction<string> OnClose { get; }
Property Value
Type Description
ThreadSafeAction<System.String>

OnCreateRubble

Declaration
public ThreadSafeAction<string> OnCreateRubble { get; }
Property Value
Type Description
ThreadSafeAction<System.String>

OnOpen

Declaration
public ThreadSafeAction<string> OnOpen { get; }
Property Value
Type Description
ThreadSafeAction<System.String>

OnOpenedDiscordServer

Declaration
public ThreadSafeAction OnOpenedDiscordServer { get; }
Property Value
Type Description
ThreadSafeAction

OnTabSelected

Declaration
public ThreadSafeAction<string> OnTabSelected { get; }
Property Value
Type Description
ThreadSafeAction<System.String>

WorldObjectUIOpened

Declaration
public ThreadSafeAction<WorldObject> WorldObjectUIOpened { get; }
Property Value
Type Description
ThreadSafeAction<WorldObject>

Methods

Init(User)

Declaration
public void Init(User user)
Parameters
Type Name Description
User user

Logout()

When the player logout, we close any open ViewEditor and unsubscribe.

Declaration
public void Logout()

SubscribeTutorial(ThreadSafeAction, Func<Boolean>)

Declaration
public void SubscribeTutorial(ThreadSafeAction onChanged, Func<bool> func)
Parameters
Type Name Description
ThreadSafeAction onChanged
System.Func<System.Boolean> func

SubscribeTutorial(String, ThreadSafeAction, Func<Boolean>)

Declaration
public void SubscribeTutorial(string title, ThreadSafeAction onChanged, Func<bool> func)
Parameters
Type Name Description
System.String title
ThreadSafeAction onChanged
System.Func<System.Boolean> func

SubscribeTutorial<T1>(ThreadSafeAction<T1>, Func<T1, Boolean>)

Declaration
public void SubscribeTutorial<T1>(ThreadSafeAction<T1> onChanged, Func<T1, bool> func)
Parameters
Type Name Description
ThreadSafeAction<T1> onChanged
System.Func<T1, System.Boolean> func
Type Parameters
Name Description
T1

SubscribeTutorial<T>(String, ThreadSafeAction<T>, Func<T, Boolean>)

Declaration
public void SubscribeTutorial<T>(string title, ThreadSafeAction<T> onChanged, Func<T, bool> func)
Parameters
Type Name Description
System.String title
ThreadSafeAction<T> onChanged
System.Func<T, System.Boolean> func
Type Parameters
Name Description
T

SubscribeTutorial<T1, T2>(ThreadSafeAction<T1, T2>, Func<T1, T2, Boolean>)

Declaration
public void SubscribeTutorial<T1, T2>(ThreadSafeAction<T1, T2> onChanged, Func<T1, T2, bool> func)
Parameters
Type Name Description
ThreadSafeAction<T1, T2> onChanged
System.Func<T1, T2, System.Boolean> func
Type Parameters
Name Description
T1
T2

SubscribeTutorial<T1, T2>(String, ThreadSafeAction<T1, T2>, Func<T1, T2, Boolean>)

Declaration
public void SubscribeTutorial<T1, T2>(string title, ThreadSafeAction<T1, T2> onChanged, Func<T1, T2, bool> func)
Parameters
Type Name Description
System.String title
ThreadSafeAction<T1, T2> onChanged
System.Func<T1, T2, System.Boolean> func
Type Parameters
Name Description
T1
T2

UnsubscribeAll()

Declaration
public void UnsubscribeAll()

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾