SetVersion overrides the default game version and feature set.
(gameVersion, featureSet string)
| 94 | |
| 95 | // SetVersion overrides the default game version and feature set. |
| 96 | func (p *PsyNet) SetVersion(gameVersion, featureSet string) { |
| 97 | p.gameVersion = gameVersion |
| 98 | p.featureSet = featureSet |
| 99 | p.buildID = strconv.Itoa(int(decodeBuildID(gameVersion))) |
| 100 | } |
| 101 | |
| 102 | // GetVersion returns the current game version and feature set. |
| 103 | func (p *PsyNet) GetVersion() (gameVersion, featureSet string) { |
nothing calls this directly
no test coverage detected