(String tokenSource, PlayerCharacter pc, ExportHandler eh)
| 44 | } |
| 45 | |
| 46 | @Override |
| 47 | public String getToken(String tokenSource, PlayerCharacter pc, ExportHandler eh) |
| 48 | { |
| 49 | String retString = ""; |
| 50 | |
| 51 | if ("EQSET.START".equals(tokenSource)) |
| 52 | { |
| 53 | //TODO: Does Nothing here, only on EQSheet exports, should that be fixed? |
| 54 | Logging.debugPrint("EQSET.START does Nothing here, only on EQSheet exports, should that be fixed?"); |
| 55 | } |
| 56 | else if ("EQSET.END".equals(tokenSource)) |
| 57 | { |
| 58 | //TODO: Does Nothing here, only on EQSheet exports, should that be fixed? |
| 59 | Logging.debugPrint("EQSET.END does Nothing here, only on EQSheet exports, should that be fixed?"); |
| 60 | } |
| 61 | else if ("EQSET.NUMBER".equals(tokenSource)) |
| 62 | { |
| 63 | retString = Integer.toString(getNumberToken(pc)); |
| 64 | } |
| 65 | else if ("EQSET.NAME".equals(tokenSource)) |
| 66 | { |
| 67 | retString = getNameToken(pc.getDisplay()); |
| 68 | } |
| 69 | |
| 70 | return retString; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Get Name Token |
nothing calls this directly
no test coverage detected