852{
854 {
856 m_InputActionName = "EmoteGreeting";
861 m_HideItemInHands = false;
862 }
863}
864
866{
868 {
869 m_ID = EmoteConstants.ID_EMOTE_SOS;
870 m_InputActionName = "EmoteSOS";
871 m_StanceMaskAdditive = 0;
873 m_AdditiveCallbackUID = 0;
875 m_HideItemInHands = true;
876 }
877
879 {
881 }
882}
883
885{
887 {
888 m_ID = EmoteConstants.ID_EMOTE_HEART;
889 m_InputActionName = "EmoteHeart";
894 m_HideItemInHands = true;
895 }
896
898 {
900 }
901}
902
904{
906 {
907 m_ID = EmoteConstants.ID_EMOTE_TAUNT;
908 m_InputActionName = "EmoteTaunt";
913 m_HideItemInHands = false;
914 }
915}
916
918{
921 {
922 m_ID = EmoteConstants.ID_EMOTE_LYINGDOWN;
923 m_InputActionName = "EmoteLyingDown";
924 m_StanceMaskAdditive = 0;
926 m_AdditiveCallbackUID = 0;
928 m_HideItemInHands = true;
929 }
930
932 {
935 return false;
937 }
938}
939
941{
943 {
944 m_ID = EmoteConstants.ID_EMOTE_TAUNTKISS;
945 m_InputActionName = "EmoteTauntKiss";
950 m_HideItemInHands = false;
951 }
952}
953
955{
957 {
958 m_ID = EmoteConstants.ID_EMOTE_POINT;
959 m_InputActionName = "EmotePoint";
964 m_HideItemInHands = false;
965 }
966}
967
969{
971 {
972 m_ID = EmoteConstants.ID_EMOTE_TAUNTELBOW;
973 m_InputActionName = "EmoteTauntElbow";
975 m_StanceMaskFullbody = 0;
977 m_FullbodyCallbackUID = 0;
978 m_HideItemInHands = true;
979 }
980
982 {
984 }
985}
986
988{
990 {
991 m_ID = EmoteConstants.ID_EMOTE_THUMB;
992 m_InputActionName = "EmoteThumb";
997 m_HideItemInHands = false;
998 }
999}
1000
1002{
1004 {
1005 m_ID = EmoteConstants.ID_EMOTE_THUMBDOWN;
1006 m_InputActionName = "EmoteThumbDown";
1011 m_HideItemInHands = false;
1012 }
1013}
1014
1016{
1018 {
1019 m_ID = EmoteConstants.ID_EMOTE_THROAT;
1020 m_InputActionName = "EmoteThroat";
1025 m_HideItemInHands = false;
1026 }
1027}
1028
1030{
1032 {
1033 m_ID = EmoteConstants.ID_EMOTE_DANCE;
1034 m_InputActionName = "EmoteDance";
1035 m_StanceMaskAdditive = 0;
1037 m_AdditiveCallbackUID = 0;
1039 m_HideItemInHands = true;
1040 }
1041
1043 {
1045 return false;
1046
1048 }
1049}
1050
1052{
1054 {
1055 m_ID = EmoteConstants.ID_EMOTE_SALUTE;
1056 m_InputActionName = "EmoteSalute";
1057 m_StanceMaskAdditive = 0;
1059 m_AdditiveCallbackUID = 0;
1061 m_HideItemInHands = true;
1062 }
1063
1065 {
1067 }
1068}
1069
1071{
1073 {
1074 m_ID = EmoteConstants.ID_EMOTE_TIMEOUT;
1075 m_InputActionName = "EmoteTimeout";
1080 m_HideItemInHands = true;
1081 }
1082
1084 {
1086 }
1087}
1088
1090{
1092 {
1093 m_ID = EmoteConstants.ID_EMOTE_DABBING;
1094
1096 m_StanceMaskFullbody = 0;
1098 m_FullbodyCallbackUID = 0;
1099 m_HideItemInHands = true;
1100 }
1101}
1102
1104{
1106 {
1107 m_ID = EmoteConstants.ID_EMOTE_FACEPALM;
1108 m_InputActionName = "EmoteFacepalm";
1110 m_StanceMaskFullbody = 0;
1112 m_FullbodyCallbackUID = 0;
1113 m_HideItemInHands = false;
1114 }
1115}
1116
1118{
1120 {
1121 m_ID = EmoteConstants.ID_EMOTE_CLAP;
1122 m_InputActionName = "EmoteClap";
1124 m_StanceMaskFullbody = 0;
1126 m_FullbodyCallbackUID = 0;
1127 m_HideItemInHands = true;
1128 }
1129
1131 {
1133 }
1134}
1135
1137{
1139 {
1140 m_ID = EmoteConstants.ID_EMOTE_SILENT;
1141 m_InputActionName = "EmoteSilent";
1146 m_HideItemInHands = false;
1147 }
1148}
1149
1151{
1153 {
1154 m_ID = EmoteConstants.ID_EMOTE_WATCHING;
1155 m_InputActionName = "EmoteWatching";
1160 m_HideItemInHands = false;
1161 }
1162}
1163
1165{
1167 {
1168 m_ID = EmoteConstants.ID_EMOTE_HOLD;
1169 m_InputActionName = "EmoteHold";
1174 m_HideItemInHands = false;
1175 }
1176}
1177
1179{
1181 {
1182 m_ID = EmoteConstants.ID_EMOTE_LISTENING;
1183 m_InputActionName = "EmoteListening";
1188 m_HideItemInHands = false;
1189 }
1190}
1191
1193{
1195 {
1196 m_ID = EmoteConstants.ID_EMOTE_POINTSELF;
1197 m_InputActionName = "EmotePointSelf";
1202 m_HideItemInHands = false;
1203 }
1204}
1205
1207{
1209 {
1210 m_ID = EmoteConstants.ID_EMOTE_LOOKATME;
1211 m_InputActionName = "EmoteLookAtMe";
1216 m_HideItemInHands = false;
1217 }
1218}
1219
1221{
1223 {
1224 m_ID = EmoteConstants.ID_EMOTE_TAUNTTHINK;
1225 m_InputActionName = "EmoteTauntThink";
1230 m_HideItemInHands = false;
1231 }
1232}
1233
1235{
1237 {
1238 m_ID = EmoteConstants.ID_EMOTE_MOVE;
1239 m_InputActionName = "EmoteMove";
1244 m_HideItemInHands = false;
1245 }
1246}
1247
1249{
1251 {
1252 m_ID = EmoteConstants.ID_EMOTE_DOWN;
1253 m_InputActionName = "EmoteGetDown";
1258 m_HideItemInHands = false;
1259 }
1260}
1261
1263{
1265 {
1266 m_ID = EmoteConstants.ID_EMOTE_COME;
1267 m_InputActionName = "EmoteCome";
1272 m_HideItemInHands = false;
1273 }
1274}
1275
1276
1278{
1280 {
1281 m_ID = EmoteConstants.ID_EMOTE_SURRENDER;
1282 m_InputActionName = "EmoteSurrender";
1283 m_HideItemInHands = false;
1284 }
1285
1287 {
1288 Transport transportEnt;
1289 return !
m_Player.PhysicsGetLinkedEntity() && !Class.CastTo(transportEnt,
m_Player.PhysicsGetFloorEntity());
1290 }
1291
1292 override bool DetermineOverride(out
int callback_ID, out
int stancemask, out
bool is_fullbody)
1293 {
1295 return true;
1296 }
1297
1298 override bool EmoteStartOverride(
typename callbacktype,
int id,
int mask,
bool fullbody)
1299 {
1301 return true;
1302 }
1303}
1304
1306{
1308 {
1309 m_ID = EmoteConstants.ID_EMOTE_CAMPFIRE;
1310 m_InputActionName = "EmoteCampfireSit";
1311 m_StanceMaskAdditive = 0;
1313 m_AdditiveCallbackUID = 0;
1315 m_HideItemInHands = true;
1316 }
1317
1319 {
1321 }
1322}
1323
1325{
1327 {
1328 m_ID = EmoteConstants.ID_EMOTE_SITA;
1329 m_InputActionName = "EmoteSitA";
1330 m_StanceMaskAdditive = 0;
1332 m_AdditiveCallbackUID = 0;
1334 m_HideItemInHands = false;
1335 }
1336}
1337
1339{
1341 {
1342 m_ID = EmoteConstants.ID_EMOTE_SITB;
1343 m_InputActionName = "EmoteSitB";
1344 m_StanceMaskAdditive = 0;
1346 m_AdditiveCallbackUID = 0;
1348 m_HideItemInHands = false;
1349 }
1350
1352 {
1354 }
1355}
1356
1358{
1360 {
1361 m_ID = EmoteConstants.ID_EMOTE_RPS;
1362 m_InputActionName = "EmoteRPSRandom";
1364 m_StanceMaskFullbody = 0;
1366 m_FullbodyCallbackUID = 0;
1367 m_HideItemInHands = false;
1368 }
1369}
1370
1372{
1374 {
1375 m_ID = EmoteConstants.ID_EMOTE_RPS_R;
1376 m_InputActionName = "EmoteRPSRock";
1378 m_StanceMaskFullbody = 0;
1380 m_FullbodyCallbackUID = 0;
1381 m_HideItemInHands = false;
1382 }
1383}
1384
1386{
1388 {
1389 m_ID = EmoteConstants.ID_EMOTE_RPS_P;
1390 m_InputActionName = "EmoteRPSPaper";
1392 m_StanceMaskFullbody = 0;
1394 m_FullbodyCallbackUID = 0;
1395 m_HideItemInHands = false;
1396 }
1397}
1398
1400{
1402 {
1403 m_ID = EmoteConstants.ID_EMOTE_RPS_S;
1404 m_InputActionName = "EmoteRPSScisors";
1406 m_StanceMaskFullbody = 0;
1408 m_FullbodyCallbackUID = 0;
1409 m_HideItemInHands = false;
1410 }
1411}
1412
1414{
1416 {
1417 m_ID = EmoteConstants.ID_EMOTE_NOD;
1418 m_InputActionName = "EmoteNod";
1423 m_HideItemInHands = false;
1424 }
1425}
1426
1428{
1430 {
1431 m_ID = EmoteConstants.ID_EMOTE_SHAKE;
1432 m_InputActionName = "EmoteShake";
1437 m_HideItemInHands = false;
1438 }
1439}
1440
1442{
1444 {
1445 m_ID = EmoteConstants.ID_EMOTE_SHRUG;
1446 m_InputActionName = "EmoteShrug";
1451 m_HideItemInHands = false;
1452 }
1453}
1454
1456{
1458 {
1459 m_ID = EmoteConstants.ID_EMOTE_SUICIDE;
1460 m_InputActionName = "EmoteSuicide";
1461 m_StanceMaskAdditive = 0;
1462 m_StanceMaskFullbody = 0;
1463 m_AdditiveCallbackUID = 0;
1464 m_FullbodyCallbackUID = 0;
1465 m_HideItemInHands = false;
1466 }
1467
1468 override bool DetermineOverride(out
int callback_ID, out
int stancemask, out
bool is_fullbody)
1469 {
1470 is_fullbody = true;
1471 callback_ID = -1;
1472 stancemask = 0;
1473 string suicideStr;
1475 weapon =
m_Player.GetItemInHands();
1476 if (weapon)
1477 {
1478 if (weapon.ConfigIsExisting("suicideAnim"))
1479 {
1480 suicideStr = weapon.ConfigGetString("suicideAnim");
1481 }
1482
1483 if (weapon.IsKindOf("Pistol_Base"))
1484 {
1487
1488 }
1489 else if (Weapon_Base.Cast(weapon))
1490 {
1493
1494 }
1495 else
1496 {
1497 switch (suicideStr)
1498 {
1499 case "onehanded":
1502 break;
1503
1504 case "fireaxe":
1507 break;
1508
1509 case "pitchfork":
1512 break;
1513
1514 case "sword":
1517 break;
1518
1519 case "spear":
1522 break;
1523
1524 case "woodaxe":
1527 break;
1528
1529 case "sickle":
1532 break;
1533
1534 case "hoe":
1537 break;
1538 }
1539 }
1540 }
1541 if (callback_ID > -1)
1542 {
1543 return true;
1544 }
1545 return false;
1546 }
1547
1549 {
1551
1552 if (!itemInHands.CanBeUsedForSuicide())
1553 {
1554 return false;
1555 }
1556
1557 return super.EmoteCondition(stancemask);
1558 }
1559
1561 {
1562 int state = callback.GetState();
1564 return false;
1565
1566 return super.CanBeCanceledNormally(callback);;
1567 }
1568
1570 {
1571 if (callback_ID > -1)
1572 {
1575 }
1576 }
1577
1579 {
1581 }
1582}
1583
1585{
1587 {
1588 m_ID = EmoteConstants.ID_EMOTE_VOMIT;
1589 m_InputActionName = "EmoteVomit";
1594 m_HideItemInHands = false;
1595 }
1596
1598 {
1600 }
1601
1602 override bool EmoteStartOverride(
typename callbacktype,
int id,
int mask,
bool fullbody)
1603 {
1605 {
1606 SymptomBase symptom =
m_Player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT);
1607
1608 if ( symptom )
1609 {
1610 symptom.
SetDuration(Math.RandomIntInclusive(4,8));
1611 }
1612 }
1613
1614 m_Player.GetEmoteManager().SetEmoteLockState(
false);
1615
1616 return true;
1617 }
1618}
void DayZPlayerUtils()
cannot be instantiated
class EmoteWatching extends EmoteBase EmoteHold()
class EmoteLyingDown extends EmoteBase EmoteTauntKiss()
class EmoteClap extends EmoteBase EmoteSilent()
class EmoteShake extends EmoteBase EmoteShrug()
class EmoteListening extends EmoteBase EmotePointSelf()
class EmoteSitB extends EmoteBase EmoteRPSRandom()
class EmoteMove extends EmoteBase EmoteGetDown()
class EmoteRPSRock extends EmoteBase EmoteRPSPaper()
class EmoteHeart extends EmoteBase EmoteTaunt()
class EmoteSalute extends EmoteBase EmoteTimeout()
class EmoteRPSScisors extends EmoteBase EmoteNod()
class EmoteSuicide extends EmoteBase EmoteVomit()
class EmoteThroat extends EmoteBase EmoteDance()
class EmotePoint extends EmoteBase EmoteTauntElbow()
class EmoteGreeting extends EmoteBase EmoteSOS()
class EmoteLookAtMe extends EmoteBase EmoteTauntThink()
class EmoteThumb extends EmoteBase EmoteThumbDown()
class EmoteDabbing extends EmoteBase EmoteFacepalm()
class EmoteCampfireSit extends EmoteBase EmoteSitA()
class EmoteCome extends EmoteBase EmoteSurrender()
class GP5GasMask extends MaskBase ItemBase
void OverrideShootFromCamera(bool pState)
void SetSuicide(bool state)
bool CanBeCanceledNormally(notnull EmoteCB callback)
bool DetermineOverride(out int callback_ID, out int stancemask, out bool is_fullbody)
bool EmoteStartOverride(typename callbacktype, int id, int mask, bool fullbody)
bool EmoteCondition(int stancemask)
void OnBeforeStandardCallbackCreated(int callback_ID, int stancemask, bool is_fullbody)
void SetDuration(float duration)
DayZPlayerInstanceType
defined in C++
DayZPlayerConstants
defined in C++
const int ID_EMOTE_GREETING
class HumanCommandLadder HumanCommandSwim()
class HumanAnimInterface HumanCommandActionCallback()