Skip to content

Commit 3bc573a

Browse files
committed
write out enum string
1 parent cccd404 commit 3bc573a

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

CathodeLib/Scripts/CATHODE/Commands.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,7 @@ override protected bool SaveInternal()
722722
case DataType.INTEGER:
723723
writer.Write(((cInteger)parameters[i]).value);
724724
break;
725+
case DataType.ENUM_STRING:
725726
case DataType.STRING:
726727
int stringStart = ((int)writer.BaseStream.Position + 4) / 4;
727728
byte[] stringStartRaw = BitConverter.GetBytes(stringStart);

CathodeLib/Scripts/CATHODE/CommandsPAK/Components/TypeEnums.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,27 +1072,32 @@ public enum EnumType : uint
10721072
/* Enum strings available within Cathode (these are cString type, but can be looked up using DATA) */
10731073
public enum EnumStringType : uint
10741074
{
1075+
//TODO: need to update the enum webpage with these
1076+
10751077
ACHIEVEMENT_ID = 3485949151,
10761078
ACHIEVEMENT_STAT_ID = 1970461931,
10771079
ANIM_SET = 796973007,
10781080
ANIM_TREE_SET = 398817255,
10791081
ATTRIBUTE_SET = 2268397301,
10801082
BLUEPRINT_TYPE = 3218638249,
10811083
CHR_SKELETON_SET = 3537648953,
1082-
CUSTOM_PRESET_SET = 935006766,
1083-
DVR_MOMENT_ID = 1074858079,
10841084
GAME_VARIABLE = 3806196912,
10851085
GAMEPLAY_TIP_STRING_ID = 3550943910,
10861086
IDTAG_ID = 3358979085,
1087-
MAP_ELEMENT_ID = 3723361710,
10881087
MAP_KEYFRAME_ID = 1494642745,
10891088
NOSTROMO_LOG_ID = 1157640041,
10901089
OBJECTIVE_ENTRY_ID = 3067794301,
10911090
PRESENCE_ID = 2589585909,
10921091
SEVASTOPOL_LOG_ID = 3163607120,
1092+
SOUND_ARGUMENT = 4000624401,
10931093
SOUND_EVENT = 3122669037,
10941094
SOUND_FOOTWEAR_GROUP = 911429336,
10951095
SOUND_LEG_GROUP = 1285801591,
1096+
SOUND_PARAMETER = 743631359,
1097+
SOUND_REVERB = 1053063402,
1098+
SOUND_RTPC = 3430842214,
1099+
SOUND_STATE = 3294208177,
1100+
SOUND_SWITCH = 1905083384,
10961101
SOUND_TORSO_GROUP = 1112933567,
10971102
TUTORIAL_ENTRY_ID = 2135177174,
10981103
}

0 commit comments

Comments
 (0)