func (sid SteamID) Steam2(newerFormat ...bool) string {
	var newFormat bool
	if len(newerFormat) > 0 {
		newFormat = newerFormat[0]
	} else {
		newFormat = false
	}

	if sid.idType != steamIDType.INDIVIDUAL {
		return ""
	} else {
		universe := int(sid.universe)

		if !newFormat && universe == 1 {
			universe = 0
		}

		id := fmt.Sprintf("%0.0f", math.Floor(float64(sid.accountid)/2))

		return fmt.Sprintf("STEAM_%s:%s:%s", strconv.Itoa(universe), strconv.Itoa(sid.accountid&1), id)
	}
}
// Steam2 Render this SteamID into Steam2 textual format

Steam2 Render this SteamID into Steam2 textual format
// Steam2 Render this SteamID into Steam2 textual format
func (sid SteamID) Steam2(newerFormat ...bool) string {
	var newFormat bool
	if len(newerFormat) > 0 {
		newFormat = newerFormat[0]
	} else {
		newFormat = false
	}
	if sid.idType != steamIDType.INDIVIDUAL {
		return ""
	} else {
		universe := int(sid.universe)
		if !newFormat && universe == 1 {
			universe = 0
		}
		id := fmt.Sprintf("%0.0f", math.Floor(float64(sid.accountid)/2))
		return fmt.Sprintf("STEAM_%s:%s:%s", strconv.Itoa(universe), strconv.Itoa(sid.accountid&1), id)
	}
}
func ( sid SteamID ) Steam2 ( newerFormat ... bool ) string { var newFormat bool if len ( newerFormat ) > 0 { newFormat = newerFormat [ 0 ] } else { newFormat = false } if sid . idType != steamIDType . INDIVIDUAL { return " " } else { universe := int ( sid . universe ) if ! newFormat && universe == 1 { universe = 0 } id := fmt . Sprintf ( " " , math . Floor ( float64 ( sid . accountid ) / 2 ) ) return fmt . Sprintf ( " " , strconv . Itoa ( universe ) , strconv . Itoa ( sid . accountid & 1 ) , id ) } }
Steam2 Render this SteamID into Steam2 textual format
Steam2 Render this SteamID into Steam2 textual format