code: def PlayerTypeEnum(ctx):
      
      return Enum(
          ctx,
          absent=0,
          closed=1,
          human=2,
          eliminated=3,
          computer=4,
          cyborg=5,
          spectator=6
      )
docs: Player Type Enumeration.