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> |