C# Класс Artemis.Profiles.ProfileModel

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DrawLayers void

Открытые методы

Метод Описание
Equals ( object obj ) : bool
FixBoundaries ( Rect keyboardRectangle ) : void

Looks at all the layers wthin the profile and makes sure they are within boundaries of the given rectangle

FixOrder ( ) : void
GetHashCode ( ) : int
GetLayers ( ) : List

Gives all the layers and their children in a flat list

GetRenderLayers ( IDataModel dataModel, bool keyboardOnly, bool ignoreConditions = false ) : List

Generates a flat list containing all layers that must be rendered on the keyboard, the first mouse layer to be rendered and the first headset layer to be rendered

ProfileModel ( ) : System
ResizeLayers ( KeyboardProvider target ) : void

Resizes layers that are shown in the editor and match exactly the full keyboard widht and height

Защищенные методы

Метод Описание
Equals ( ProfileModel other ) : bool

Приватные методы

Метод Описание
DrawLayers ( Graphics g, IEnumerable renderLayers, IDataModel dataModel, Rect rect, bool preview, bool updateAnimations ) : void

Draw all the given layers on the given rect

Описание методов

Equals() защищенный Метод

protected Equals ( ProfileModel other ) : bool
other ProfileModel
Результат bool

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

FixBoundaries() публичный Метод

Looks at all the layers wthin the profile and makes sure they are within boundaries of the given rectangle
public FixBoundaries ( Rect keyboardRectangle ) : void
keyboardRectangle Rect
Результат void

FixOrder() публичный Метод

public FixOrder ( ) : void
Результат void

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

GetLayers() публичный Метод

Gives all the layers and their children in a flat list
public GetLayers ( ) : List
Результат List

GetRenderLayers() публичный Метод

Generates a flat list containing all layers that must be rendered on the keyboard, the first mouse layer to be rendered and the first headset layer to be rendered
public GetRenderLayers ( IDataModel dataModel, bool keyboardOnly, bool ignoreConditions = false ) : List
dataModel IDataModel Instance of said game data model
keyboardOnly bool Whether or not to ignore anything but keyboards
ignoreConditions bool
Результат List

ProfileModel() публичный Метод

public ProfileModel ( ) : System
Результат System

ResizeLayers() публичный Метод

Resizes layers that are shown in the editor and match exactly the full keyboard widht and height
public ResizeLayers ( KeyboardProvider target ) : void
target Artemis.DeviceProviders.KeyboardProvider The new keyboard to adjust the layers for
Результат void