vn/code/generated/vn_character.meta.c

12 lines
431 B
C
Raw Permalink Normal View History

2023-10-04 17:21:15 +00:00
static character_state CR_CharacterStateFromString(string String)
{
character_state Result = CR_State_Invalid;
if(0) {}
else if(AreEqual(String, StrLit("none"))) { Result = CR_State_None; }
else if(AreEqual(String, StrLit("normal"))) { Result = CR_State_Normal; }
else if(AreEqual(String, StrLit("happy"))) { Result = CR_State_Happy; }
else if(AreEqual(String, StrLit("leaning"))) { Result = CR_State_Leaning; }
2023-10-04 17:21:15 +00:00
return(Result);
}