steam condenser java errors
Posted
by
w0rm
on Stack Overflow
See other posts from Stack Overflow
or by w0rm
Published on 2012-06-15T17:14:08Z
Indexed on
2012/06/16
15:16 UTC
Read the original article
Hit count: 169
I've been working on a little project involving Steam Condenser, a Steam API written in Java, but I haven't been able to actually do anything with it.
I'll explain. This is what the wiki tells me:
SteamId id = new SteamId("demomenz");
GameStats stats = id.getGameStats("tf2");
List achievements = stats.getAchievements();
The problem is, eclipse doesn't like it apparently, as it spits out this error:
The constructor SteamId(String) is undefined
and it gives me the option to change it to:
SteamId id = new SteamId("demomenz", false);
But at this point a different error comes out:
The constructor SteamId(Object, boolean) is not visible
So, I'm assuming this function is internal to the API, and should not be called from the outside.
If anyone is familiar with this, or has a clue on why I'm getting this error (I'm fairly new to Java development), an answer would be greatly appreciated.
UPDATE:
The constructor SteamId(String) is undefined
This is if I use SteamId.create(ConvertedID); (ConvertedID is a String containing the Steam64 ID).
At this point I believe this API is not that well written, at least for java. Any other idea?
© Stack Overflow or respective owner