843{
845 {
847 m_InputActionName = "EmoteGreeting";
852 m_HideItemInHands = false;
853 }
854}
855
857{
859 {
860 m_ID = EmoteConstants.ID_EMOTE_SOS;
861 m_InputActionName = "EmoteSOS";
862 m_StanceMaskAdditive = 0;
864 m_AdditiveCallbackUID = 0;
866 m_HideItemInHands = true;
867 }
868
870 {
872 }
873}
874
876{
878 {
879 m_ID = EmoteConstants.ID_EMOTE_HEART;
880 m_InputActionName = "EmoteHeart";
885 m_HideItemInHands = true;
886 }
887
889 {
891 }
892}
893
895{
897 {
898 m_ID = EmoteConstants.ID_EMOTE_TAUNT;
899 m_InputActionName = "EmoteTaunt";
904 m_HideItemInHands = false;
905 }
906}
907
909{
912 {
913 m_ID = EmoteConstants.ID_EMOTE_LYINGDOWN;
914 m_InputActionName = "EmoteLyingDown";
915 m_StanceMaskAdditive = 0;
917 m_AdditiveCallbackUID = 0;
919 m_HideItemInHands = true;
920 }
921
923 {
926 return false;
928 }
929}
930
932{
934 {
935 m_ID = EmoteConstants.ID_EMOTE_TAUNTKISS;
936 m_InputActionName = "EmoteTauntKiss";
941 m_HideItemInHands = false;
942 }
943}
944
946{
948 {
949 m_ID = EmoteConstants.ID_EMOTE_POINT;
950 m_InputActionName = "EmotePoint";
955 m_HideItemInHands = false;
956 }
957}
958
960{
962 {
963 m_ID = EmoteConstants.ID_EMOTE_TAUNTELBOW;
964 m_InputActionName = "EmoteTauntElbow";
966 m_StanceMaskFullbody = 0;
968 m_FullbodyCallbackUID = 0;
969 m_HideItemInHands = true;
970 }
971
973 {
975 }
976}
977
979{
981 {
982 m_ID = EmoteConstants.ID_EMOTE_THUMB;
983 m_InputActionName = "EmoteThumb";
988 m_HideItemInHands = false;
989 }
990}
991
993{
995 {
996 m_ID = EmoteConstants.ID_EMOTE_THUMBDOWN;
997 m_InputActionName = "EmoteThumbDown";
1002 m_HideItemInHands = false;
1003 }
1004}
1005
1007{
1009 {
1010 m_ID = EmoteConstants.ID_EMOTE_THROAT;
1011 m_InputActionName = "EmoteThroat";
1016 m_HideItemInHands = false;
1017 }
1018}
1019
1021{
1023 {
1024 m_ID = EmoteConstants.ID_EMOTE_DANCE;
1025 m_InputActionName = "EmoteDance";
1026 m_StanceMaskAdditive = 0;
1028 m_AdditiveCallbackUID = 0;
1030 m_HideItemInHands = true;
1031 }
1032
1034 {
1036 return false;
1037
1039 }
1040}
1041
1043{
1045 {
1046 m_ID = EmoteConstants.ID_EMOTE_SALUTE;
1047 m_InputActionName = "EmoteSalute";
1048 m_StanceMaskAdditive = 0;
1050 m_AdditiveCallbackUID = 0;
1052 m_HideItemInHands = true;
1053 }
1054
1056 {
1058 }
1059}
1060
1062{
1064 {
1065 m_ID = EmoteConstants.ID_EMOTE_TIMEOUT;
1066 m_InputActionName = "EmoteTimeout";
1071 m_HideItemInHands = true;
1072 }
1073
1075 {
1077 }
1078}
1079
1081{
1083 {
1084 m_ID = EmoteConstants.ID_EMOTE_DABBING;
1085
1087 m_StanceMaskFullbody = 0;
1089 m_FullbodyCallbackUID = 0;
1090 m_HideItemInHands = true;
1091 }
1092}
1093
1095{
1097 {
1098 m_ID = EmoteConstants.ID_EMOTE_FACEPALM;
1099 m_InputActionName = "EmoteFacepalm";
1101 m_StanceMaskFullbody = 0;
1103 m_FullbodyCallbackUID = 0;
1104 m_HideItemInHands = false;
1105 }
1106}
1107
1109{
1111 {
1112 m_ID = EmoteConstants.ID_EMOTE_CLAP;
1113 m_InputActionName = "EmoteClap";
1115 m_StanceMaskFullbody = 0;
1117 m_FullbodyCallbackUID = 0;
1118 m_HideItemInHands = true;
1119 }
1120
1122 {
1124 }
1125}
1126
1128{
1130 {
1131 m_ID = EmoteConstants.ID_EMOTE_SILENT;
1132 m_InputActionName = "EmoteSilent";
1137 m_HideItemInHands = false;
1138 }
1139}
1140
1142{
1144 {
1145 m_ID = EmoteConstants.ID_EMOTE_WATCHING;
1146 m_InputActionName = "EmoteWatching";
1151 m_HideItemInHands = false;
1152 }
1153}
1154
1156{
1158 {
1159 m_ID = EmoteConstants.ID_EMOTE_HOLD;
1160 m_InputActionName = "EmoteHold";
1165 m_HideItemInHands = false;
1166 }
1167}
1168
1170{
1172 {
1173 m_ID = EmoteConstants.ID_EMOTE_LISTENING;
1174 m_InputActionName = "EmoteListening";
1179 m_HideItemInHands = false;
1180 }
1181}
1182
1184{
1186 {
1187 m_ID = EmoteConstants.ID_EMOTE_POINTSELF;
1188 m_InputActionName = "EmotePointSelf";
1193 m_HideItemInHands = false;
1194 }
1195}
1196
1198{
1200 {
1201 m_ID = EmoteConstants.ID_EMOTE_LOOKATME;
1202 m_InputActionName = "EmoteLookAtMe";
1207 m_HideItemInHands = false;
1208 }
1209}
1210
1212{
1214 {
1215 m_ID = EmoteConstants.ID_EMOTE_TAUNTTHINK;
1216 m_InputActionName = "EmoteTauntThink";
1221 m_HideItemInHands = false;
1222 }
1223}
1224
1226{
1228 {
1229 m_ID = EmoteConstants.ID_EMOTE_MOVE;
1230 m_InputActionName = "EmoteMove";
1235 m_HideItemInHands = false;
1236 }
1237}
1238
1240{
1242 {
1243 m_ID = EmoteConstants.ID_EMOTE_DOWN;
1244 m_InputActionName = "EmoteGetDown";
1249 m_HideItemInHands = false;
1250 }
1251}
1252
1254{
1256 {
1257 m_ID = EmoteConstants.ID_EMOTE_COME;
1258 m_InputActionName = "EmoteCome";
1263 m_HideItemInHands = false;
1264 }
1265}
1266
1267
1269{
1271 {
1272 m_ID = EmoteConstants.ID_EMOTE_SURRENDER;
1273 m_InputActionName = "EmoteSurrender";
1274 m_HideItemInHands = false;
1275 }
1276
1278 {
1279 Transport transportEnt;
1280 return !
m_Player.PhysicsGetLinkedEntity() && !Class.CastTo(transportEnt,
m_Player.PhysicsGetFloorEntity());
1281 }
1282
1283 override bool DetermineOverride(out
int callback_ID, out
int stancemask, out
bool is_fullbody)
1284 {
1286 return true;
1287 }
1288
1289 override bool EmoteStartOverride(
typename callbacktype,
int id,
int mask,
bool fullbody)
1290 {
1292 return true;
1293 }
1294}
1295
1297{
1299 {
1300 m_ID = EmoteConstants.ID_EMOTE_CAMPFIRE;
1301 m_InputActionName = "EmoteCampfireSit";
1302 m_StanceMaskAdditive = 0;
1304 m_AdditiveCallbackUID = 0;
1306 m_HideItemInHands = true;
1307 }
1308
1310 {
1312 }
1313}
1314
1316{
1318 {
1319 m_ID = EmoteConstants.ID_EMOTE_SITA;
1320 m_InputActionName = "EmoteSitA";
1321 m_StanceMaskAdditive = 0;
1323 m_AdditiveCallbackUID = 0;
1325 m_HideItemInHands = false;
1326 }
1327}
1328
1330{
1332 {
1333 m_ID = EmoteConstants.ID_EMOTE_SITB;
1334 m_InputActionName = "EmoteSitB";
1335 m_StanceMaskAdditive = 0;
1337 m_AdditiveCallbackUID = 0;
1339 m_HideItemInHands = false;
1340 }
1341
1343 {
1345 }
1346}
1347
1349{
1351 {
1352 m_ID = EmoteConstants.ID_EMOTE_RPS;
1353 m_InputActionName = "EmoteRPSRandom";
1355 m_StanceMaskFullbody = 0;
1357 m_FullbodyCallbackUID = 0;
1358 m_HideItemInHands = false;
1359 }
1360}
1361
1363{
1365 {
1366 m_ID = EmoteConstants.ID_EMOTE_RPS_R;
1367 m_InputActionName = "EmoteRPSRock";
1369 m_StanceMaskFullbody = 0;
1371 m_FullbodyCallbackUID = 0;
1372 m_HideItemInHands = false;
1373 }
1374}
1375
1377{
1379 {
1380 m_ID = EmoteConstants.ID_EMOTE_RPS_P;
1381 m_InputActionName = "EmoteRPSPaper";
1383 m_StanceMaskFullbody = 0;
1385 m_FullbodyCallbackUID = 0;
1386 m_HideItemInHands = false;
1387 }
1388}
1389
1391{
1393 {
1394 m_ID = EmoteConstants.ID_EMOTE_RPS_S;
1395 m_InputActionName = "EmoteRPSScisors";
1397 m_StanceMaskFullbody = 0;
1399 m_FullbodyCallbackUID = 0;
1400 m_HideItemInHands = false;
1401 }
1402}
1403
1405{
1407 {
1408 m_ID = EmoteConstants.ID_EMOTE_NOD;
1409 m_InputActionName = "EmoteNod";
1414 m_HideItemInHands = false;
1415 }
1416}
1417
1419{
1421 {
1422 m_ID = EmoteConstants.ID_EMOTE_SHAKE;
1423 m_InputActionName = "EmoteShake";
1428 m_HideItemInHands = false;
1429 }
1430}
1431
1433{
1435 {
1436 m_ID = EmoteConstants.ID_EMOTE_SHRUG;
1437 m_InputActionName = "EmoteShrug";
1442 m_HideItemInHands = false;
1443 }
1444}
1445
1447{
1449 {
1450 m_ID = EmoteConstants.ID_EMOTE_SUICIDE;
1451 m_InputActionName = "EmoteSuicide";
1452 m_StanceMaskAdditive = 0;
1453 m_StanceMaskFullbody = 0;
1454 m_AdditiveCallbackUID = 0;
1455 m_FullbodyCallbackUID = 0;
1456 m_HideItemInHands = false;
1457 }
1458
1459 override bool DetermineOverride(out
int callback_ID, out
int stancemask, out
bool is_fullbody)
1460 {
1461 is_fullbody = true;
1462 callback_ID = -1;
1463 stancemask = 0;
1464 string suicideStr;
1466 weapon =
m_Player.GetItemInHands();
1467 if (weapon)
1468 {
1469 if (weapon.ConfigIsExisting("suicideAnim"))
1470 {
1471 suicideStr = weapon.ConfigGetString("suicideAnim");
1472 }
1473
1474 if (weapon.IsKindOf("Pistol_Base"))
1475 {
1478
1479 }
1480 else if (Weapon_Base.Cast(weapon))
1481 {
1484
1485 }
1486 else
1487 {
1488 switch (suicideStr)
1489 {
1490 case "onehanded":
1493 break;
1494
1495 case "fireaxe":
1498 break;
1499
1500 case "pitchfork":
1503 break;
1504
1505 case "sword":
1508 break;
1509
1510 case "spear":
1513 break;
1514
1515 case "woodaxe":
1518 break;
1519
1520 case "sickle":
1523 break;
1524
1525 case "hoe":
1528 break;
1529 }
1530 }
1531 }
1532 if (callback_ID > -1)
1533 {
1534 return true;
1535 }
1536 return false;
1537 }
1538
1540 {
1542
1543 if (!itemInHands.CanBeUsedForSuicide())
1544 {
1545 return false;
1546 }
1547
1548 return super.EmoteCondition(stancemask);
1549 }
1550
1552 {
1553 int state = callback.GetState();
1555 return false;
1556
1557 return super.CanBeCanceledNormally(callback);;
1558 }
1559
1561 {
1562 if (callback_ID > -1)
1563 {
1566 }
1567 }
1568
1570 {
1572 }
1573}
1574
1576{
1578 {
1579 m_ID = EmoteConstants.ID_EMOTE_VOMIT;
1580 m_InputActionName = "EmoteVomit";
1585 m_HideItemInHands = false;
1586 }
1587
1589 {
1591 }
1592
1593 override bool EmoteStartOverride(
typename callbacktype,
int id,
int mask,
bool fullbody)
1594 {
1596 {
1597 SymptomBase symptom =
m_Player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT);
1598
1599 if ( symptom )
1600 {
1601 symptom.
SetDuration(Math.RandomIntInclusive(4,8));
1602 }
1603 }
1604
1605 m_Player.GetEmoteManager().SetEmoteLockState(
false);
1606
1607 return true;
1608 }
1609}
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()