Show / Hide Table of Contents

Class MyEntityList

Inheritance
System.Object
MyEntityList
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public static class MyEntityList : Object

Methods

GetDescriptionText(MyEntityList.MyEntityListInfoItem)

Declaration
public static string GetDescriptionText(MyEntityList.MyEntityListInfoItem item)
Parameters
Type Name Description
MyEntityList.MyEntityListInfoItem item
Returns
Type Description
System.String

GetEntityList(MyEntityList.MyEntityTypeEnum)

Declaration
public static List<MyEntityList.MyEntityListInfoItem> GetEntityList(MyEntityList.MyEntityTypeEnum selectedType)
Parameters
Type Name Description
MyEntityList.MyEntityTypeEnum selectedType
Returns
Type Description
System.Collections.Generic.List<MyEntityList.MyEntityListInfoItem>

GetEntityList(MyEntityList.MyEntityTypeEnum, IEnumerable<MyEntity>)

Declaration
public static List<MyEntityList.MyEntityListInfoItem> GetEntityList(MyEntityList.MyEntityTypeEnum selectedType, IEnumerable<MyEntity> entities)
Parameters
Type Name Description
MyEntityList.MyEntityTypeEnum selectedType
System.Collections.Generic.IEnumerable<MyEntity> entities
Returns
Type Description
System.Collections.Generic.List<MyEntityList.MyEntityListInfoItem>

GetFormattedDisplayName(MyEntityList.MyEntitySortOrder, MyEntityList.MyEntityListInfoItem)

Declaration
public static StringBuilder GetFormattedDisplayName(MyEntityList.MyEntitySortOrder selectedOrder, MyEntityList.MyEntityListInfoItem item)
Parameters
Type Name Description
MyEntityList.MyEntitySortOrder selectedOrder
MyEntityList.MyEntityListInfoItem item
Returns
Type Description
System.Text.StringBuilder

GetPlayersMinimalDistance(MyEntity, ICollection<MyPlayer>)

Declaration
public static float GetPlayersMinimalDistance(MyEntity entity, ICollection<MyPlayer> players)
Parameters
Type Name Description
MyEntity entity
System.Collections.Generic.ICollection<Sandbox.Game.World.MyPlayer> players
Returns
Type Description
System.Single

ProceedEntityAction(MyEntity, MyEntityList.EntityListAction)

Declaration
public static void ProceedEntityAction(MyEntity entity, MyEntityList.EntityListAction action)
Parameters
Type Name Description
MyEntity entity
MyEntityList.EntityListAction action

SortEntityList(MyEntityList.MyEntitySortOrder, ref List<MyEntityList.MyEntityListInfoItem>, Boolean)

Declaration
public static void SortEntityList(MyEntityList.MyEntitySortOrder selectedOrder, ref List<MyEntityList.MyEntityListInfoItem> items, bool invertOrder)
Parameters
Type Name Description
MyEntityList.MyEntitySortOrder selectedOrder
System.Collections.Generic.List<MyEntityList.MyEntityListInfoItem> items
System.Boolean invertOrder
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾