C# Class Traveler.Extensions.DirectEveExtension

Exibir arquivo Open project: rixim/Questor

Public Methods

Method Description
DistanceFromMe ( this directEve, double x, double y, double z ) : double

Calculate distance from me

GetApproachingEntity ( this directEve ) : DirectEve.DirectEntity

Returns the entity that we're approaching

GetBookmarkById ( this directEve, long bookmarkId ) : DirectEve.DirectBookmark

return a bookmark by it's id

Return's null if no bookmark was found

GetEntitiesByName ( this directEve, string name ) : IEnumerable

Get all entities with the name

GetEntityByName ( this directEve, string name ) : DirectEve.DirectEntity

Get the first entity with a certain name

Method Details

DistanceFromMe() public static method

Calculate distance from me
public static DistanceFromMe ( this directEve, double x, double y, double z ) : double
directEve this
x double
y double
z double
return double

GetApproachingEntity() public static method

Returns the entity that we're approaching
public static GetApproachingEntity ( this directEve ) : DirectEve.DirectEntity
directEve this
return DirectEve.DirectEntity

GetBookmarkById() public static method

return a bookmark by it's id
Return's null if no bookmark was found
public static GetBookmarkById ( this directEve, long bookmarkId ) : DirectEve.DirectBookmark
directEve this
bookmarkId long
return DirectEve.DirectBookmark

GetEntitiesByName() public static method

Get all entities with the name
public static GetEntitiesByName ( this directEve, string name ) : IEnumerable
directEve this
name string
return IEnumerable

GetEntityByName() public static method

Get the first entity with a certain name
public static GetEntityByName ( this directEve, string name ) : DirectEve.DirectEntity
directEve this
name string
return DirectEve.DirectEntity