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

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

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

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

	SteamUserCallbackAdapter(SteamUserCallback callback) {
		super(callback);
	}

	void onValidateAuthTicket(long steamID, int authSessionResponse, long ownerSteamID) {
		callback.onValidateAuthTicket(new SteamID(steamID),
				SteamAuth.AuthSessionResponse.byOrdinal(authSessionResponse), new SteamID(ownerSteamID));
	}

	void onMicroTxnAuthorization(int appID, long orderID, boolean authorized) {
		callback.onMicroTxnAuthorization(appID, orderID, authorized);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy