Simplify logic by removing the switch statement and replacing with direct assignment.
This assumes that the value of the annotation subtitle is one of the player types. Additional checks will be necessary upon assigning player type to ensure that player type is set correctly.
Simplify logic by removing the switch statement and replacing with direct assignment.
This assumes that the value of the annotation subtitle is one of the player types. Additional checks will be necessary upon assigning player type to ensure that player type is set correctly.