func NewEventLostReadEvent(mapName string, lost float64) (*rules.Rule, *CustomEvent) {
	return newRule(&rules.RuleDefinition{
			ID: LostEventsRuleID,
		}), newCustomEvent(model.CustomLostReadEventType, EventLostRead{
			Name:      mapName,
			Lost:      lost,
			Timestamp: time.Now(),
		}.MarshalJSON)
}
// NewEventLostReadEvent returns the rule and a populated custom event for a lost_events_read event
NewEventLostReadEvent returns the rule and a populated custom event for a lost_events_read event
// NewEventLostReadEvent returns the rule and a populated custom event for a lost_events_read event
func NewEventLostReadEvent(mapName string, lost float64) (*rules.Rule, *CustomEvent) {
	return newRule(&rules.RuleDefinition{
			ID: LostEventsRuleID,
		}), newCustomEvent(model.CustomLostReadEventType, EventLostRead{
			Name:      mapName,
			Lost:      lost,
			Timestamp: time.Now(),
		}.MarshalJSON)
}
func NewEventLostReadEvent ( mapName string , lost float64 ) ( * rules . Rule , * CustomEvent ) { return newRule ( & rules . RuleDefinition { ID : LostEventsRuleID , } ) , newCustomEvent ( model . CustomLostReadEventType , EventLostRead { Name : mapName , Lost : lost , Timestamp : time . Now ( ) , } . MarshalJSON ) }
NewEventLostReadEvent returns the rule and a populated custom event for a lost_events_read event
NewEventLostReadEvent returns the rule and a populated custom event for a lost_events_read event