Show / Hide Table of Contents

Class TooltipServerRequest

Represents a request for contents of several tooltip parts.

Inheritance
System.Object
TooltipServerRequest
Namespace: Eco.Shared.Items
Assembly: Eco.Shared.dll
Syntax
public sealed class TooltipServerRequest : ValueType

Constructors

TooltipServerRequest(Int32, Int32, List<TooltipPartServerRequest>)

Declaration
public TooltipServerRequest(int mainTargetControllerID, int mainTargetTypeID, List<TooltipPartServerRequest> partRequests)
Parameters
Type Name Description
System.Int32 mainTargetControllerID
System.Int32 mainTargetTypeID
System.Collections.Generic.List<TooltipPartServerRequest> partRequests

Fields

MainTargetControllerID

If request is sent because tooltip is being opened for some specific view this should contain this view's ControllerID. Otherwise should be 0.

Declaration
public int MainTargetControllerID
Field Value
Type Description
System.Int32

MainTargetTypeID

If request is sent because tooltip is being opened for some specific view this should contain this view type's ID. Otherwise should be 0.

Declaration
public int MainTargetTypeID
Field Value
Type Description
System.Int32

PartRequests

Requests for specific tooltip parts.

Declaration
public List<TooltipPartServerRequest> PartRequests
Field Value
Type Description
System.Collections.Generic.List<TooltipPartServerRequest>

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾