class MAGES::Analytics::EventsScriptableObject¶
Overview¶
Scriptable object that stores the operation events. More…
class EventsScriptableObject: public ScriptableObject { public: // properties SerializableDictionaryEventTypes.BaseType> AllEvents; SerializableDictionary EventTypes.ActionPerformed> ActionPerformedEvents; SerializableDictionary EventTypes.ActionUndone> ActionUndoneEvents; SerializableDictionary EventTypes.SessionStarted> SessionStartedEvents; SerializableDictionary EventTypes.SessionEnded> SessionEndedEvents; SerializableDictionary EventTypes.OnCollision> OnCollisionEvents; SerializableDictionary EventTypes.OnInteraction> OnInteractionEvents; SerializableDictionary EventTypes.CustomEventType> CustomEventTypeEvents; // methods int GetDictionaryCount(string name); List GetDictionaryKeys(string name); void Invalidate(EventTypes.BaseType baseEvent); void Delete(EventTypes.BaseType baseEvent); void Rename(EventTypes.BaseType baseEvent, string oldName, string newName); };
Detailed Documentation¶
Scriptable object that stores the operation events.
Properties¶
SerializableDictionaryEventTypes.BaseType> AllEvents
Gets or sets the disctionary holding all the events.
SerializableDictionaryEventTypes.ActionPerformed> ActionPerformedEvents
Gets or sets the disctionary holding all the action performed events.
SerializableDictionaryEventTypes.ActionUndone> ActionUndoneEvents
Gets or sets the disctionary holding all the action undone events.
SerializableDictionaryEventTypes.SessionStarted> SessionStartedEvents
Gets or sets the disctionary holding all the session started events.
SerializableDictionaryEventTypes.SessionEnded> SessionEndedEvents
Gets or sets the disctionary holding all the session ended events.
SerializableDictionaryEventTypes.OnCollision> OnCollisionEvents
Gets or sets the disctionary holding all the on collision events.
SerializableDictionaryEventTypes.OnInteraction> OnInteractionEvents
Gets or sets the disctionary holding all the on interaction events.
SerializableDictionaryEventTypes.CustomEventType> CustomEventTypeEvents
Gets or sets the disctionary holding all the custom event types objects.
Methods¶
int GetDictionaryCount(string name)
Return the size of the dictionary of the given internal type.
Parameters:
name |
The name of dictionary internal type. |
Returns:
The size of the dictionary of the given internal type.
ListGetDictionaryKeys(string name)
Return the size of the dictionary of the given internal type.
Parameters:
name |
The name of dictionary internal type. |
Returns:
The size of the dictionary of the given internal type.
void Invalidate(EventTypes.BaseType baseEvent)
Invalidates the given event.
Parameters:
baseEvent |
The event to invalidate. |
void Delete(EventTypes.BaseType baseEvent)
Deletes the given event object.
Parameters:
baseEvent |
The event object to be deleted. |
void Rename(EventTypes.BaseType baseEvent, string oldName, string newName)
Renames an event object of specific name and type.
Parameters:
baseEvent |
The event object to be renamed. |
oldName |
The current name of the event object. |
newName |
The new name of the event object. |