All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codedisaster.steamworks.SteamGameServerStatsCallbackAdapter Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package com.codedisaster.steamworks;

@SuppressWarnings("unused")
class SteamGameServerStatsCallbackAdapter extends SteamCallbackAdapter {

	SteamGameServerStatsCallbackAdapter(SteamGameServerStatsCallback callback) {
		super(callback);
	}

	void onStatsReceived(int result, long steamIDUser) {
		callback.onStatsReceived(SteamResult.byValue(result), new SteamID(steamIDUser));
	}

	void onStatsStored(int result, long steamIDUser) {
		callback.onStatsStored(SteamResult.byValue(result), new SteamID(steamIDUser));
	}
	
	void onStatsUnloaded(long steamIDUser) {
		callback.onStatsUnloaded(new SteamID(steamIDUser));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy