861{
863 {
865 m_InputActionName = "EmoteGreeting";
870 m_HideItemInHands = false;
871 }
872}
873
875{
877 {
878 m_ID = EmoteConstants.ID_EMOTE_SOS;
879 m_InputActionName = "EmoteSOS";
880 m_StanceMaskAdditive = 0;
882 m_AdditiveCallbackUID = 0;
884 m_HideItemInHands = true;
885 }
886
888 {
890 }
891}
892
894{
896 {
897 m_ID = EmoteConstants.ID_EMOTE_HEART;
898 m_InputActionName = "EmoteHeart";
903 m_HideItemInHands = true;
904 }
905
907 {
909 }
910}
911
913{
915 {
916 m_ID = EmoteConstants.ID_EMOTE_TAUNT;
917 m_InputActionName = "EmoteTaunt";
922 m_HideItemInHands = false;
923 }
924}
925
927{
930 {
931 m_ID = EmoteConstants.ID_EMOTE_LYINGDOWN;
932 m_InputActionName = "EmoteLyingDown";
933 m_StanceMaskAdditive = 0;
935 m_AdditiveCallbackUID = 0;
937 m_HideItemInHands = true;
938 }
939
941 {
944 return false;
946 }
947}
948
950{
952 {
953 m_ID = EmoteConstants.ID_EMOTE_TAUNTKISS;
954 m_InputActionName = "EmoteTauntKiss";
959 m_HideItemInHands = false;
960 }
961}
962
964{
966 {
967 m_ID = EmoteConstants.ID_EMOTE_POINT;
968 m_InputActionName = "EmotePoint";
973 m_HideItemInHands = false;
974 }
975}
976
978{
980 {
981 m_ID = EmoteConstants.ID_EMOTE_TAUNTELBOW;
982 m_InputActionName = "EmoteTauntElbow";
984 m_StanceMaskFullbody = 0;
986 m_FullbodyCallbackUID = 0;
987 m_HideItemInHands = true;
988 }
989
991 {
993 }
994}
995
997{
999 {
1000 m_ID = EmoteConstants.ID_EMOTE_THUMB;
1001 m_InputActionName = "EmoteThumb";
1006 m_HideItemInHands = false;
1007 }
1008}
1009
1011{
1013 {
1014 m_ID = EmoteConstants.ID_EMOTE_THUMBDOWN;
1015 m_InputActionName = "EmoteThumbDown";
1020 m_HideItemInHands = false;
1021 }
1022}
1023
1025{
1027 {
1028 m_ID = EmoteConstants.ID_EMOTE_THROAT;
1029 m_InputActionName = "EmoteThroat";
1034 m_HideItemInHands = false;
1035 }
1036}
1037
1039{
1041 {
1042 m_ID = EmoteConstants.ID_EMOTE_DANCE;
1043 m_InputActionName = "EmoteDance";
1044 m_StanceMaskAdditive = 0;
1046 m_AdditiveCallbackUID = 0;
1048 m_HideItemInHands = true;
1049 }
1050
1052 {
1054 return false;
1055
1057 }
1058}
1059
1061{
1063 {
1064 m_ID = EmoteConstants.ID_EMOTE_SALUTE;
1065 m_InputActionName = "EmoteSalute";
1066 m_StanceMaskAdditive = 0;
1068 m_AdditiveCallbackUID = 0;
1070 m_HideItemInHands = true;
1071 }
1072
1074 {
1076 }
1077}
1078
1080{
1082 {
1083 m_ID = EmoteConstants.ID_EMOTE_TIMEOUT;
1084 m_InputActionName = "EmoteTimeout";
1089 m_HideItemInHands = true;
1090 }
1091
1093 {
1095 }
1096}
1097
1099{
1101 {
1102 m_ID = EmoteConstants.ID_EMOTE_DABBING;
1103
1105 m_StanceMaskFullbody = 0;
1107 m_FullbodyCallbackUID = 0;
1108 m_HideItemInHands = true;
1109 }
1110}
1111
1113{
1115 {
1116 m_ID = EmoteConstants.ID_EMOTE_FACEPALM;
1117 m_InputActionName = "EmoteFacepalm";
1119 m_StanceMaskFullbody = 0;
1121 m_FullbodyCallbackUID = 0;
1122 m_HideItemInHands = false;
1123 }
1124}
1125
1127{
1129 {
1130 m_ID = EmoteConstants.ID_EMOTE_CLAP;
1131 m_InputActionName = "EmoteClap";
1133 m_StanceMaskFullbody = 0;
1135 m_FullbodyCallbackUID = 0;
1136 m_HideItemInHands = true;
1137 }
1138
1140 {
1142 }
1143}
1144
1146{
1148 {
1149 m_ID = EmoteConstants.ID_EMOTE_SILENT;
1150 m_InputActionName = "EmoteSilent";
1155 m_HideItemInHands = false;
1156 }
1157}
1158
1160{
1162 {
1163 m_ID = EmoteConstants.ID_EMOTE_WATCHING;
1164 m_InputActionName = "EmoteWatching";
1169 m_HideItemInHands = false;
1170 }
1171}
1172
1174{
1176 {
1177 m_ID = EmoteConstants.ID_EMOTE_HOLD;
1178 m_InputActionName = "EmoteHold";
1183 m_HideItemInHands = false;
1184 }
1185}
1186
1188{
1190 {
1191 m_ID = EmoteConstants.ID_EMOTE_LISTENING;
1192 m_InputActionName = "EmoteListening";
1197 m_HideItemInHands = false;
1198 }
1199}
1200
1202{
1204 {
1205 m_ID = EmoteConstants.ID_EMOTE_POINTSELF;
1206 m_InputActionName = "EmotePointSelf";
1211 m_HideItemInHands = false;
1212 }
1213}
1214
1216{
1218 {
1219 m_ID = EmoteConstants.ID_EMOTE_LOOKATME;
1220 m_InputActionName = "EmoteLookAtMe";
1225 m_HideItemInHands = false;
1226 }
1227}
1228
1230{
1232 {
1233 m_ID = EmoteConstants.ID_EMOTE_TAUNTTHINK;
1234 m_InputActionName = "EmoteTauntThink";
1239 m_HideItemInHands = false;
1240 }
1241}
1242
1244{
1246 {
1247 m_ID = EmoteConstants.ID_EMOTE_MOVE;
1248 m_InputActionName = "EmoteMove";
1253 m_HideItemInHands = false;
1254 }
1255}
1256
1258{
1260 {
1261 m_ID = EmoteConstants.ID_EMOTE_DOWN;
1262 m_InputActionName = "EmoteGetDown";
1267 m_HideItemInHands = false;
1268 }
1269}
1270
1272{
1274 {
1275 m_ID = EmoteConstants.ID_EMOTE_COME;
1276 m_InputActionName = "EmoteCome";
1281 m_HideItemInHands = false;
1282 }
1283}
1284
1285
1287{
1289 {
1290 m_ID = EmoteConstants.ID_EMOTE_SURRENDER;
1291 m_InputActionName = "EmoteSurrender";
1292 m_HideItemInHands = false;
1293 }
1294
1296 {
1297 Transport transportEnt;
1298 return !
m_Player.PhysicsGetLinkedEntity() && !Class.CastTo(transportEnt,
m_Player.PhysicsGetFloorEntity());
1299 }
1300
1301 override bool DetermineOverride(out
int callback_ID, out
int stancemask, out
bool is_fullbody)
1302 {
1304 return true;
1305 }
1306
1307 override bool EmoteStartOverride(
typename callbacktype,
int id,
int mask,
bool fullbody)
1308 {
1310 return true;
1311 }
1312}
1313
1315{
1317 {
1318 m_ID = EmoteConstants.ID_EMOTE_CAMPFIRE;
1319 m_InputActionName = "EmoteCampfireSit";
1320 m_StanceMaskAdditive = 0;
1322 m_AdditiveCallbackUID = 0;
1324 m_HideItemInHands = true;
1325 }
1326
1328 {
1330 }
1331}
1332
1334{
1336 {
1337 m_ID = EmoteConstants.ID_EMOTE_SITA;
1338 m_InputActionName = "EmoteSitA";
1339 m_StanceMaskAdditive = 0;
1341 m_AdditiveCallbackUID = 0;
1343 m_HideItemInHands = false;
1344 }
1345}
1346
1348{
1350 {
1351 m_ID = EmoteConstants.ID_EMOTE_SITB;
1352 m_InputActionName = "EmoteSitB";
1353 m_StanceMaskAdditive = 0;
1355 m_AdditiveCallbackUID = 0;
1357 m_HideItemInHands = false;
1358 }
1359
1361 {
1363 }
1364}
1365
1367{
1369 {
1370 m_ID = EmoteConstants.ID_EMOTE_RPS;
1371 m_InputActionName = "EmoteRPSRandom";
1373 m_StanceMaskFullbody = 0;
1375 m_FullbodyCallbackUID = 0;
1376 m_HideItemInHands = false;
1377 }
1378}
1379
1381{
1383 {
1384 m_ID = EmoteConstants.ID_EMOTE_RPS_R;
1385 m_InputActionName = "EmoteRPSRock";
1387 m_StanceMaskFullbody = 0;
1389 m_FullbodyCallbackUID = 0;
1390 m_HideItemInHands = false;
1391 }
1392}
1393
1395{
1397 {
1398 m_ID = EmoteConstants.ID_EMOTE_RPS_P;
1399 m_InputActionName = "EmoteRPSPaper";
1401 m_StanceMaskFullbody = 0;
1403 m_FullbodyCallbackUID = 0;
1404 m_HideItemInHands = false;
1405 }
1406}
1407
1409{
1411 {
1412 m_ID = EmoteConstants.ID_EMOTE_RPS_S;
1413 m_InputActionName = "EmoteRPSScisors";
1415 m_StanceMaskFullbody = 0;
1417 m_FullbodyCallbackUID = 0;
1418 m_HideItemInHands = false;
1419 }
1420}
1421
1423{
1425 {
1426 m_ID = EmoteConstants.ID_EMOTE_NOD;
1427 m_InputActionName = "EmoteNod";
1432 m_HideItemInHands = false;
1433 }
1434}
1435
1437{
1439 {
1440 m_ID = EmoteConstants.ID_EMOTE_SHAKE;
1441 m_InputActionName = "EmoteShake";
1446 m_HideItemInHands = false;
1447 }
1448}
1449
1451{
1453 {
1454 m_ID = EmoteConstants.ID_EMOTE_SHRUG;
1455 m_InputActionName = "EmoteShrug";
1460 m_HideItemInHands = false;
1461 }
1462}
1463
1465{
1467 {
1468 m_ID = EmoteConstants.ID_EMOTE_SUICIDE;
1469 m_InputActionName = "EmoteSuicide";
1470 m_StanceMaskAdditive = 0;
1471 m_StanceMaskFullbody = 0;
1472 m_AdditiveCallbackUID = 0;
1473 m_FullbodyCallbackUID = 0;
1474 m_HideItemInHands = false;
1475 }
1476
1477 override bool DetermineOverride(out
int callback_ID, out
int stancemask, out
bool is_fullbody)
1478 {
1479 is_fullbody = true;
1480 callback_ID = -1;
1481 stancemask = 0;
1482 string suicideStr;
1484 weapon =
m_Player.GetItemInHands();
1485 if (weapon)
1486 {
1487 if (weapon.ConfigIsExisting("suicideAnim"))
1488 {
1489 suicideStr = weapon.ConfigGetString("suicideAnim");
1490 }
1491
1492 if (weapon.IsKindOf("Pistol_Base"))
1493 {
1496
1497 }
1498 else if (Weapon_Base.Cast(weapon))
1499 {
1502
1503 }
1504 else
1505 {
1506 switch (suicideStr)
1507 {
1508 case "onehanded":
1511 break;
1512
1513 case "fireaxe":
1516 break;
1517
1518 case "pitchfork":
1521 break;
1522
1523 case "sword":
1526 break;
1527
1528 case "spear":
1531 break;
1532
1533 case "woodaxe":
1536 break;
1537
1538 case "sickle":
1541 break;
1542
1543 case "hoe":
1546 break;
1547 }
1548 }
1549 }
1550 if (callback_ID > -1)
1551 {
1552 return true;
1553 }
1554 return false;
1555 }
1556
1558 {
1560
1561 if (!itemInHands.CanBeUsedForSuicide())
1562 {
1563 return false;
1564 }
1565
1566 return super.EmoteCondition(stancemask);
1567 }
1568
1570 {
1571 int state = callback.GetState();
1573 return false;
1574
1575 return super.CanBeCanceledNormally(callback);;
1576 }
1577
1579 {
1580 if (callback_ID > -1)
1581 {
1584 }
1585 }
1586
1588 {
1590 }
1591}
1592
1594{
1596 {
1597 m_ID = EmoteConstants.ID_EMOTE_VOMIT;
1598 m_InputActionName = "EmoteVomit";
1603 m_HideItemInHands = false;
1604 }
1605
1607 {
1609 }
1610
1611 override bool EmoteStartOverride(
typename callbacktype,
int id,
int mask,
bool fullbody)
1612 {
1614 {
1615 SymptomBase symptom =
m_Player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT);
1616
1617 if ( symptom )
1618 {
1619 symptom.
SetDuration(Math.RandomIntInclusive(4,8));
1620 }
1621 }
1622
1623 m_Player.GetEmoteManager().SetEmoteLockState(
false);
1624
1625 return true;
1626 }
1627}
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()