DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс EmoteConstructor

Закрытые члены

bool ConstructEmotes (PlayerBase player, out map< int, ref EmoteBase > emoteMap)
 
void RegisterEmotes (TTypenameArray emotes)
 

Подробное описание

Методы

◆ ConstructEmotes()

bool ConstructEmotes ( PlayerBase player,
out map< int, ref EmoteBase > emoteMap )
inlineprivate
4 {
8
11
12 for (int i = 0; i < emote_array_names.Count(); i++)
13 {
15 if (new_emote)
16 {
17 if (new_emote.GetID() < 0)
18 {
19 ErrorEx("Emote " + emote_array_names[i].ToString() + " has an invalid ID, registation failed!");
20 return false;
21 }
22 else if (emoteMap.Contains(new_emote.GetID()))
23 {
24 ErrorEx("Emote " + emote_array_names[i].ToString() + " has a duplicate ID, registation failed!");
25 return false;
26 }
27 else
28 {
29 new_emote.SetOwnerPlayer(player);
30 emoteMap.Insert(new_emote.GetID(), new_emote);
31 }
32 }
33 }
34 return true;
35 }
void Spawn()
spawn damage trigger
Definition AreaDamageManager.c:70
proto string ToString()
Definition EmoteBase.c:2
void RegisterEmotes(TTypenameArray emotes)
Definition EmoteConstructor.c:37
Definition EntityAI.c:95
enum ShapeType ErrorEx
proto void Sort(void param_array[], int num)
Sorts static array of integers(ascendically) / floats(ascendically) / strings(alphabetically)
array< typename > TTypenameArray
Definition EnScript.c:693

Перекрестные ссылки ErrorEx, RegisterEmotes(), Sort(), Spawn() и ToString().

◆ RegisterEmotes()

void RegisterEmotes ( TTypenameArray emotes)
inlineprivate
38 {
39 emotes.Insert(EmoteGreeting);
40 emotes.Insert(EmoteSOS);
41 emotes.Insert(EmoteHeart);
42 emotes.Insert(EmoteTaunt);
43 emotes.Insert(EmoteLyingDown);
44 emotes.Insert(EmoteTauntKiss);
45 emotes.Insert(EmotePoint);
46 emotes.Insert(EmoteTauntElbow);
47 emotes.Insert(EmoteThumb);
48 emotes.Insert(EmoteThumbDown);
49 emotes.Insert(EmoteThroat);
50 emotes.Insert(EmoteDance);
51 emotes.Insert(EmoteSalute);
52 emotes.Insert(EmoteTimeout);
53 //emotes.Insert(EmoteDabbing);
54 emotes.Insert(EmoteFacepalm);
55 emotes.Insert(EmoteClap);
56 emotes.Insert(EmoteSilent);
57 emotes.Insert(EmoteWatching);
58 emotes.Insert(EmoteHold);
59 emotes.Insert(EmoteListening);
60 emotes.Insert(EmotePointSelf);
61 emotes.Insert(EmoteLookAtMe);
62 emotes.Insert(EmoteTauntThink);
63 emotes.Insert(EmoteMove);
64 emotes.Insert(EmoteGetDown);
65 emotes.Insert(EmoteCome);
66 emotes.Insert(EmoteSurrender); //exception, partially handled in EmoteManager directly (..)
68 emotes.Insert(EmoteSitA);
69 emotes.Insert(EmoteSitB);
70 emotes.Insert(EmoteRPSRandom);
71 emotes.Insert(EmoteRPSRock);
72 emotes.Insert(EmoteRPSPaper);
73 emotes.Insert(EmoteRPSScisors);
74 emotes.Insert(EmoteNod);
75 emotes.Insert(EmoteShake);
76 emotes.Insert(EmoteShrug);
77 emotes.Insert(EmoteSuicide);
78 emotes.Insert(EmoteVomit);
79 }
class EmoteWatching extends EmoteBase EmoteHold()
Definition EmoteClasses.c:317
class EmoteLyingDown extends EmoteBase EmoteTauntKiss()
Definition EmoteClasses.c:93
void EmoteHeart()
Definition EmoteClasses.c:57
void EmoteSuicide()
Definition EmoteClasses.c:742
void EmoteGreeting()
Definition EmoteClasses.c:19
class EmoteClap extends EmoteBase EmoteSilent()
Definition EmoteClasses.c:289
class EmoteShake extends EmoteBase EmoteShrug()
Definition EmoteClasses.c:598
class EmoteListening extends EmoteBase EmotePointSelf()
Definition EmoteClasses.c:345
class EmoteSitB extends EmoteBase EmoteRPSRandom()
Definition EmoteClasses.c:514
class EmoteMove extends EmoteBase EmoteGetDown()
Definition EmoteClasses.c:401
void EmoteWatching()
Definition EmoteClasses.c:318
class EmoteRPSRock extends EmoteBase EmoteRPSPaper()
Definition EmoteClasses.c:542
class EmoteHeart extends EmoteBase EmoteTaunt()
Definition EmoteClasses.c:56
void EmoteSitB()
Definition EmoteClasses.c:515
void EmoteShake()
Definition EmoteClasses.c:599
void EmoteThumb()
Definition EmoteClasses.c:155
void EmoteRPSRock()
Definition EmoteClasses.c:543
void EmoteRPSScisors()
Definition EmoteClasses.c:571
class EmoteSalute extends EmoteBase EmoteTimeout()
Definition EmoteClasses.c:223
void EmoteSalute()
Definition EmoteClasses.c:224
void EmotePoint()
Definition EmoteClasses.c:122
class EmoteRPSScisors extends EmoteBase EmoteNod()
Definition EmoteClasses.c:570
class EmoteSuicide extends EmoteBase EmoteVomit()
Definition EmoteClasses.c:741
void EmoteMove()
Definition EmoteClasses.c:402
class EmoteThroat extends EmoteBase EmoteDance()
Definition EmoteClasses.c:182
class EmotePoint extends EmoteBase EmoteTauntElbow()
Definition EmoteClasses.c:121
void EmoteLookAtMe()
Definition EmoteClasses.c:374
void EmoteThroat()
Definition EmoteClasses.c:183
class EmoteGreeting extends EmoteBase EmoteSOS()
Definition EmoteClasses.c:18
void EmoteLyingDown()
Definition EmoteClasses.c:95
class EmoteLookAtMe extends EmoteBase EmoteTauntThink()
Definition EmoteClasses.c:373
void EmoteCome()
Definition EmoteClasses.c:431
class EmoteThumb extends EmoteBase EmoteThumbDown()
Definition EmoteClasses.c:154
void EmoteListening()
Definition EmoteClasses.c:346
void EmoteClap()
Definition EmoteClasses.c:290
void EmoteCampfireSit()
Definition EmoteClasses.c:482
class EmoteDabbing extends EmoteBase EmoteFacepalm()
Definition EmoteClasses.c:256
class EmoteCampfireSit extends EmoteBase EmoteSitA()
Definition EmoteClasses.c:481
class EmoteCome extends EmoteBase EmoteSurrender()
Definition EmoteClasses.c:430

Перекрестные ссылки EmoteCampfireSit(), EmoteClap(), EmoteCome(), EmoteDance(), EmoteFacepalm(), EmoteGetDown(), EmoteGreeting(), EmoteHeart(), EmoteHold(), EmoteListening(), EmoteLookAtMe(), EmoteLyingDown(), EmoteMove(), EmoteNod(), EmotePoint(), EmotePointSelf(), EmoteRPSPaper(), EmoteRPSRandom(), EmoteRPSRock(), EmoteRPSScisors(), EmoteSalute(), EmoteShake(), EmoteShrug(), EmoteSilent(), EmoteSitA(), EmoteSitB(), EmoteSOS(), EmoteSuicide(), EmoteSurrender(), EmoteTaunt(), EmoteTauntElbow(), EmoteTauntKiss(), EmoteTauntThink(), EmoteThroat(), EmoteThumb(), EmoteThumbDown(), EmoteTimeout(), EmoteVomit() и EmoteWatching().

Используется в ConstructEmotes().


Объявления и описания членов класса находятся в файле: