DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
HitDirectionImagesBase.c
См. документацию.
1
3{
5
15
16 protected void PerformRegisterImages()
17 {
18 /*
19 RegisterImage("gui/layouts/gameplay/HitDirectionIndication.layout","Single_indicator_Splash_1");
20 RegisterImage("gui/layouts/gameplay/HitDirectionIndication.layout","Single_indicator_Splash_2");
21 ...
22 */
23 }
24
25 protected void RegisterImage(string layout_path, string image_name)
26 {
27 GetTypeLayoutPathArray().Insert(layout_path);
28 GetTypeImagePathArray().Insert(image_name);
29 }
30
35
38
40 void GetCurrentImageData(out Widget layout, out Widget image)
41 {
43 image = layout.FindAnyWidget(GetTypeImagePathArray()[m_ImageIndex]);
44 }
45}
@ Count
Определения RandomGeneratorSyncManager.c:8
proto native WorkspaceWidget GetWorkspace()
array< string > GetTypeLayoutPathArray()
Определения HitDirectionImagesBase.c:36
void RandomizeImageIdx()
Определения HitDirectionImagesBase.c:31
array< string > GetTypeImagePathArray()
Определения HitDirectionImagesBase.c:37
void GetCurrentImageData(out Widget layout, out Widget image)
Layout should be sufficient for generic manipulation of the hit image.
Определения HitDirectionImagesBase.c:40
void HitDirectionImagesBase()
Определения HitDirectionImagesBase.c:6
void RegisterImage(string layout_path, string image_name)
Определения HitDirectionImagesBase.c:25
void PerformRegisterImages()
Определения HitDirectionImagesBase.c:16
Определения EnMath.c:7
Определения EnWidgets.c:190
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
Определения EnMath.c:54
proto native external Widget CreateWidgets(string layout, Widget parentWidget=NULL, bool immedUpdate=true)
Create widgets from *.layout file.