There's already an eventType unfortunately, which we capture (as
'eventType'). Example data:

        <event teamID="14" eventID="17175393">
            <eventType>throw in</eventType>
            <matchTime>(20)</matchTime>
            <eventTime>20</eventTime>
            <normalTime>19:57</normalTime>
            <addedTime>0:00</addedTime>
            <players>
                <player1 playerID="299390" teamID="14"
teamName="Norwich">Russell Martin</player1>
                <player2 playerID="" teamID="" teamName=""/>
            </players>
            <reason/>
            <how/>
            <whereFrom/>
            <whereTo/>
            <type>Attacking</type>
            <distance/>
            <outcome/>
        </event>

Tried thinking of a more specific name but didn't have much luck - other
types: Defending, Attacking, Direct, Normal, Indirect, Long, Catch ...

Will look at mixing the traits in now.


On 22 February 2013 14:29, Grant Klopper <notifications@github.com> wrote:

> In src/main/scala/pa/model.scala:
>
> > @@ -40,7 +40,8 @@ case class MatchEvent(
> >    whereFrom: Option[String],
> >    whereTo: Option[String],
> >    distance: Option[String],
> > -  outcome: Option[String]
> > +  outcome: Option[String],
> > +  typ: Option[String]
>
> eventType maybe..
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/guardian/pa-football-client/pull/20/files#r3116363>.
>
>



-- 

Please consider the environment before printing this email.
------------------------------------------------------------------
Visit guardian.co.uk - website of the year
 www.guardian.co.uk    www.observer.co.uk     www.guardiannews.com

On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone and iPad edition www.guardian.co.uk/iPad

Save up to 37% by subscribing to the Guardian and Observer - choose
the papers you want and get full digital access.
Visit guardian.co.uk/subscribe

---------------------------------------------------------------------
This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.

Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited

A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP

Registered in England Number 908396

Please consider the environment before printing this email.
------------------------------------------------------------------
Visit guardian.co.uk - website of the year
 
www.guardian.co.uk    www.observer.co.uk     www.guardiannews.com 
 
On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone and iPad edition www.guardian.co.uk/iPad 
 
Save up to 37% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access. 
Visit guardian.co.uk/subscribe
 
---------------------------------------------------------------------
This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.
 
Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.
 
Guardian News & Media Limited
 
A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP
 
Registered in England Number 908396