void OnWorkshopError(SteamworksError error, DetailedResult result) { if (onError != null) { onError(error, result); } }
bool AssertError() { SteamworksError error = NativeMethods.Workshop_GetError(pointer); if (error != SteamworksError.ERR_NO_ERROR) { OnWorkshopError(error, NativeMethods.Workshop_GetErrorDetails(pointer)); return(true); } else { return(false); } }
bool AssertError() { SteamworksError error = NativeMethods.Leaderboard_GetError(pointer); if (error != SteamworksError.ERR_NO_ERROR && onError != null) { onError(error); return(true); } else { return(false); } }