Guest User

Untitled

a guest
Oct 10th, 2015
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct TLevelTriggerActionProperty
  2. {
  3.     // Stores the name of the property.
  4.     TString m_PropertyName;
  5.     // Stores the display text of the property.
  6.     TString m_PropertyDisplayText;
  7.  
  8.     // Stores the property type.
  9.     enum class ELevelTriggerActionPropertyType
  10.     {
  11.         INT,
  12.         BOOL,
  13.         FLOAT,
  14.         STRING,
  15.         VECTOR,
  16.         ENTITY_TYPE,
  17.         ENTITY_REFERENCE
  18.     }; ELevelTriggerActionPropertyType m_PropertyType;
  19.  
  20.     // Stores the value of the property.
  21.     struct TLevelTriggerActionPropertyValue
  22.     {
  23.         int m_Int;
  24.         bool m_Bool;
  25.         float m_Float;
  26.         TString m_String;
  27.         float m_Vector[2];  // Cheat for vector data.
  28.         ELevelEntityType m_EntityType;
  29.     }; TLevelTriggerActionPropertyValue m_PropertyValue;
  30. };
RAW Paste Data