DayZ 1.26
DayZ Explorer by KGB
|
Структуры данных | |
class | WorkspaceWidget |
class | Widget |
class | TextWidget |
class | UIWidget |
class | EditBoxWidget |
class | SimpleProgressBarWidget |
class | BaseListboxWidget |
class | SimpleListboxWidget |
class | SpacerWidget |
class | ScriptedWidgetEventHandler |
map: item x vector(index, width, height) Подробнее... | |
Определения типов | |
typedef TypeID | WidgetType |
typedef TypeID | EventType |
Перечисления | |
enum | WidgetFlags { SOURCEALPHA , BLEND , ADDITIVE , VISIBLE , NOWRAP , CENTER , VCENTER , HEXACTPOS , VEXACTPOS , EXACTPOS , HEXACTSIZE , VEXACTSIZE , EXACTSIZE , NOFILTER , RALIGN , STRETCH , FLIPU , FLIPV , CUSTOMUV , IGNOREPOINTER , DISABLED , NOFOCUS , CLIPCHILDREN , RENDER_ALWAYS , NOCLEAR , DRAGGABLE } |
enum | WidgetAlignment |
enum | VideoCommand { PLAY , STOP , REWIND , POSITION , REPEAT , ISPLAYING , KILL } |
Legacy, do not use. Подробнее... | |
enum | VideoState { NONE , PLAYING , PAUSED , STOPPED , FINISHED } |
enum | VideoCallback { ON_PLAY , ON_PAUSE , ON_STOP , ON_END , ON_LOAD , ON_SEEK , ON_BUFFERING_START , ON_BUFFERING_END } |
enum | ControlID { CID_NONE = 0 , CID_SELECT = 1 , CID_BACK , CID_LEFT , CID_RIGHT , CID_UP , CID_DOWN , CID_MENU , CID_DRAG , CID_TABLEFT , CID_TABRIGHT , CID_RADIALMENU , CID_COUNT } |
Переменные | |
WA_LEFT = 0 | |
WA_RIGHT = 1 | |
WA_CENTER = 2 | |
WA_TOP = 0 | |
WA_BOTTOM = 1 | |
WorkspaceWidget | Widget () |
Defined in code. | |
enum VideoCommand | GetScrollbarWidth |
Элементы перечислений | |
---|---|
CID_NONE | |
CID_SELECT | |
CID_BACK | |
CID_LEFT | |
CID_RIGHT | |
CID_UP | |
CID_DOWN | |
CID_MENU | |
CID_DRAG | |
CID_TABLEFT | |
CID_TABRIGHT | |
CID_RADIALMENU | |
CID_COUNT |
|
private |
Элементы перечислений | |
---|---|
ON_PLAY | |
ON_PAUSE | |
ON_STOP | |
ON_END | |
ON_LOAD | |
ON_SEEK | |
ON_BUFFERING_START | |
ON_BUFFERING_END |
|
private |
|
private |
Используется в AddArrow(), IEntity::AddArrow(), DayZInfected::AddArrow(), ManBase::AddArrow(), Particle::AddAsChild(), Particle::CreateParticleEffect(), ManBase::SetDecayEffects(), ManBase::SpawnBreathVaporEffect(), ManBase::SpawnDrowningBubbles(), UndergroundTriggerCarrierBase::SpawnTrigger() и Land_WarheadStorage_Main::SpawnTriggers().
Insert new Row, if row = -1, new Row is inserted at the end otherwise at row index.
|
private |
Create widgets by WidgetType.
|
private |
Create widgets from *.layout file.
Enable/Disable subtitles.
|
private |
Используется в OptionSelectorBase::OptionSelector().
Используется в ClosableHeader::ClosableHeader(), ClosableContainer::DropReceived(), HandsContainer::ElectricityIcon(), ContainerWithElectricManager::ElectricityIcon(), Header::Header(), Icon::Icon(), Icon::InitEx(), InitWidgets(), PluginBase::InitWidgets(), Inventory(), Header::SetItemPreview() и SlotsContainer::SlotsContainer().
Используется в InventoryItemSuper::EEHealthLevelChanged().
Используется в InventoryItem::GetColorString() и InventoryItem::WriteVarsToCTX().
|
private |
|
private |
Get item.
row | int Index of row |
column | int Index of column |
string
Value in widget on row and column Progress determines which alpha values are opaque using the mask. For progress x, pixels with alpha in mask < x will be opaque and alpha in mask > x will be transparent. For smooth transition see GetMaskTransitionWidth.
Transition width 0.1 and progress 0.2 mean that values in mask lower than progress will be opaque. Values higher than (progress + width) will be transparent and values between progress and (progress + width) will be smoothly transitioned.
|
private |
Перекрестные ссылки m_Name.
Используется в ActionEnterLadder::ActionCondition(), GetComponentIndex(), ActionTargetsCursor::GetOnScreenPosition(), IsComponentInSelection(), RegisterAttacks(), HumanInventory::ReplaceItemInElsewhereWithNewinHandsImpl() и HumanInventory::ReplaceItemInHandsWithNewImpl().
Get parent of the Effect.
Object
The parent of the Effect Перекрестные ссылки m_ParentObject.
Используется в BuildPartServer(), DayZPlayer::CameraHandler(), Bolt_Base::CanBeActionTarget(), CanUseToolToBuildPart(), CanUseToolToDismantlePart(), ClosableHeader::ClosableHeader(), CreateCollisionTrigger(), DestroyMaterialsServer(), DestroyPartServer(), EntityLightSource::DetachFromParent(), DismantlePartServer(), DrawDebugCollisionBox(), DropNonUsableMaterialsServer(), DayZPlayer::EOnContact(), GetAttachmentParent(), GetCollisionBoxData(), EffectParticle::GetCurrentLocalPosition(), DayZPlayer::GetDebugText(), GetMaterialType(), ParticleSource::GetParticleParent(), GetRequiredParts(), HasConflictPart(), HasMaterials(), HasMaterialWithQuantityAttached(), HasRequiredPart(), HideConstructionPart(), HideConstructionPartPhysics(), IsColliding(), IsCollidingEx(), EntityAI::IsInTransport(), DayZPlayer::IsInVehicle(), Entity::IsInventoryVisible(), HumanCommandVehicle::IsObjectIgnoredOnGettingOut(), MaterialIsRuined(), ManBase::OnVehicleSeatDriverEnter(), EffectParticle::ReAttach(), ReceiveMaterialsServer(), EffectParticle::SetCurrentLocalPosition(), SetLockOnAttachedMaterials(), AttachmentsGroupContainer::SetNextActive(), LayoutHolder::SetNextActive(), AttachmentsGroupContainer::SetPreviousActive(), LayoutHolder::SetPreviousActive(), ShowConstructionPart(), ShowConstructionPartPhysics(), EffectParticle::Start(), Particle::StopParticle(), TakeMaterialsServer(), PlayerContainer::TransferItem(), ZombieContainer::TransferItem(), DayZPlayer::TriggerPullPlayerOutOfVehicle(), UpdateConstructionParts(), Container::UpdateHeaderText() и VicinityContainer::UpdateInterval().
Используется в InventoryItemSuper::EEHealthLevelChanged().
|
private |
Get the current state of the video.
Get text proportion - ratio between button height and button text height in interval <0,1>
Get text proportion - ratio between button height and button text height in interval <0,1>
Get the current time of the video.
Используется в Widget::Play().
|
private |
Используется в PluginBase::IsMouseInScene().
QoL direct method to check for playing state (buffering while playing will still return true)
Используется в Widget::Play().
Check if subtitles are disabled (enabled by default if available, so it will return false even if there are none)
Load a video file.
Используется в Widget::LoadVideo().
Loads image. When image of this 'num' is already loaded, then is replaced by new one.
num | Number of image (0...7) |
name | Name of image file |
noCache | Do not cache the texture |
Loads texture as mask used for alpha masking.
resource | Resource name of the texture to load |
Legacy, preferably not used, left for backwards compat.
Перекрестные ссылки Widget::Load() и name.
|
private |
Используется в ScriptedWidgetEventHandler::OnMouseEnter().
Используется в ScriptedWidgetEventHandler::OnMouseLeave().
Pauses video playback.
Используется в Widget::Play().
Starts video playback.
Используется в Widget::Play().
|
inlineprivate |
Legacy, preferably not used, left for backwards compat.
Перекрестные ссылки Widget::GetTime(), Widget::IsPlaying(), Widget::Pause(), Widget::Play(), Widget::SetLooping(), Widget::SetTime() и Widget::Unload().
Используется в InventoryItemSuper::EEHealthLevelChanged().
|
private |
Set a callback for a certain video event.
|
private |
|
private |
Используется в UIScriptedMenu::BackButtonFocus(), UIScriptedMenu::CheckNewOptions(), UIScriptedMenu::CloseOnline(), UIScriptedMenu::ColorDisable(), ColorDisable(), ServerBrowserTab::ColorDisable(), UIScriptedMenu::ColorDisabled(), OptionSelectorBase::ColorHighlight(), UIScriptedMenu::ColorRed(), ScriptedWidgetEventHandler::ColorRed(), ScriptedWidgetEventHandler::ColorRed(), UIScriptedMenu::ColorWhite(), ScriptedWidgetEventHandler::Focus(), ScriptedWidgetEventHandler::FocusFirst(), GetNextEntry(), GetPrevEntry(), UIScriptedMenu::Init(), ScriptedWidgetEventHandler::OnChange(), OptionSelectorBase::OnFocus(), UIScriptedMenu::OnMouseButtonDown(), ScriptedWidgetEventHandler::OnMouseEnter(), OnMouseEnter(), ServerBrowserTab::OnMouseEnter(), UIScriptedMenu::OnMouseLeave(), OptionSelectorBase::OnMouseLeave(), ServerBrowserTab::OnMouseLeave(), ScriptedWidgetEventHandler::OnSelect(), UIScriptedMenu::OnShow(), OnShow(), ServerBrowserTab::SetEnableFilters(), ServerBrowserTab::SetFocusServers(), ScriptedWidgetEventHandler::UpdateEntry() и UIScriptedMenu::UpdateMenuFocus().
sets Widget typu RTTextureWidgetTypeID, to which it is possible to reference in shader as $rendertarget it is posible to use only after object selection. When selecting another object, it is necessary to set GUI widget again
|
private |
Switches to another image, if it's loaded
num | Number of image. |
|
private |
Set whether the video should loop.
Используется в Widget::Play().
Set global LV of widgets, value between [-15, 0], default: 0, lower value is less bright.
See GetMaskProgress for explanation.
value | Expected in range [0; 1] |
See GetMaskTransitionWidth for transition width explanation.
value | Expected in range [0; 1] |
Set global lighting of objects in widgets, value between [0, 1], default: 1, lower value is less bright.
when period > 1 then every n-th frame will be rendered. Offset is initial counter.
|
private |
Используется в ScriptedWidgetEventHandler::CreateFollowedObject().
|
private |
Используется в updateSlotsCount().
Используется в ServerBrowserTab::Construct() и ServerBrowserTab::ToggleSort().
set text exact size. Exact Text flag must be enabled. 0 equals original size.
|
private |
align | ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT |
Set global LV of the text in widgets, value between [-15, 0], default: 0, lower value is less bright.
Set text proportion - ratio between button height and button text height in interval <0,1>
Set text proportion - ratio between button height and button text height in interval <0,1>
|
private |
align | ALIGN_CENTER, ALIGN_TOP, ALIGN_BOTTOM |
Set the desired time for the video (preload decides whether it will already load the next frames too)
Используется в Widget::Play().
When WF_CUSTOMUV is set, we can supply our own UV coords instead of computed ones.
uv | Pointer to array of at least 8 floats (4 corners * 2 floats for u/v) |
direct mouse cursor visibility control
Используется в CGame::RefreshMouseCursorVisibility().
Stop video playback (cancels everything and sets it back at time 0)
Unload the video, freeing up all resources.
Используется в Widget::Play().
don't show crosshair if it's disabled in profile or from server
Перекрестные ссылки CleanupEntries(), CONTROLLER_DESELECT_TIMEOUT, CONTROLLER_TILT_TRESHOLD_SELECT, dBodyGetVelocityAt(), EffectBoatWaterBase::EnableEmitor(), g_Game, ScriptedWidgetEventHandler::GetActionManager(), GetAngleInDegrees(), GetCurrentCrossHair(), GetGame(), GetLocalPosition(), GetMouseDistance(), GetMousePointerAngle(), GetObjectByDegAngle(), EffectParticle::GetParticle(), ScriptedWidgetEventHandler::GetPlayer(), GetZone(), HideRadialSelector(), InitDebug(), InitEntityEntries(), Math::InverseLerp(), DayZPlayer::IsPlayerSelected(), IsPlaying(), IsUsingController(), IsUsingMouse(), last_time, m_AM, m_ControllerAngle, m_ControllerTilt, m_ControllerTimout, m_DevSyncPlugin, EffectBoatWaterBase::m_EmitorCount, m_Handlers, m_IsControllerTimoutEnabled, m_IsInit, m_IsModeSelf, m_Player, m_player, m_RegisteredClass, m_SelectedObject, m_Stamina, m_StaminaLastValue, m_StaminaZoneOffset, m_TargetDisplayNameW, m_TargetEntity, m_UpdateTimer, m_WidgetInitialized, MAX_HANDLERS_COUNT, MOUSE_SAFE_ZONE_RADIUS, ProcessSound(), randomValuesArray, Refresh(), SelectCrossHair(), SetAgents(), SetAllowUpdate(), Particle::SetParticleParam(), ShowCrossHair(), ShowRadialSelector(), EffectParticle::Stop(), UpdataControllerInput(), EffectBoatWaterBase::UpdatePosToSeaLevel(), EffectBoatWaterBase::UpdateSpeedState(), UpdateZones() и USAGE_COUNT.
Используется в ScriptedWidgetEventHandler::ContinuousActionProgress(), CrossHairSelector(), GameplayEffectsData::ForceStop(), Init(), ScriptedWidgetEventHandler::ItemActionsWidget(), ScriptedWidgetEventHandler::ProjectedCrosshair(), RadialProgressBar::RadialProgressBar(), ParticleSource::SetWiggle(), ScriptedWidgetEventHandler::~ContinuousActionProgress(), ~CrossHairSelector(), ScriptedWidgetEventHandler::~ItemActionsWidget(), ScriptedWidgetEventHandler::~ProjectedCrosshair() и RadialProgressBar::~RadialProgressBar().
|
private |
WA_BOTTOM = 1 |
WA_CENTER = 2 |
WA_LEFT = 0 |
WA_RIGHT = 1 |
WA_TOP = 0 |
|
private |
Defined in code.