achivments #1

Closed
Ghost wants to merge 13 commits from achivments into main
First-time contributor

Achievment system

Achievment system
Ghost added 13 commits 2023-02-18 16:19:06 +01:00
Ghost requested review from Niikelion 2023-02-18 16:24:09 +01:00
Niikelion requested changes 2023-02-20 23:57:41 +01:00
Niikelion left a comment
Owner

Fix typos(Achievment -> Achievement)

Fix typos(`Achievment -> Achievement`)
BitterSmile requested changes 2023-02-21 00:14:50 +01:00
@ -0,0 +40,4 @@
foreach (var config in configs)
{
config.ApplyLast(builder);
Owner

Why need this, when all are empty

Why need this, when all are empty
Author
First-time contributor

was needed in earlier version, i will remove it

was needed in earlier version, i will remove it
@ -0,0 +58,4 @@
return this;
}
public Builder WithLabeledBackend(string label)
Owner

no check for empty label

no check for empty label
Author
First-time contributor

empty meaning null or empty meaning label with nothing assigned?

empty meaning null or empty meaning label with nothing assigned?
Owner

you check for nothing, why even bother questioning

you check for nothing, why even bother questioning
@ -0,0 +5,4 @@
namespace NEG.Utils.Achievments
{
public class AchievmentsUpdater : MonoBehaviour
Owner

Should be created automaticly

Should be created automaticly
Author
First-time contributor

How?

How?
Owner

Create game object and add component?

Create game object and add component?
Author
First-time contributor

When?

When?
Owner

Duno it's your system

Duno it's your system
@ -0,0 +31,4 @@
public SteamBackend()
{
//
SteamUserStats.RequestCurrentStats();
Owner

No reaction for callback

No reaction for callback
Author
First-time contributor

I asked about it, you said to ignore it, but I can change it

I asked about it, you said to ignore it, but I can change it
@ -0,0 +47,4 @@
switch (achievment)
{
case IntAchievmentData intAchievment:
SteamUserStats.SetStat(id, intAchievment.CurrentProgress);
Owner

No reaction for bool

No reaction for bool
Author
First-time contributor

will fix

will fix
@ -0,0 +104,4 @@
public void Update()
{
if (isDirty)
Owner

Should be check when last time, min time of refresh sholub be greater than minute

Should be check when last time, min time of refresh sholub be greater than minute
Author
First-time contributor

I dont understand

I dont understand
Owner

look to documentatnion, you should fire storage callback withing minutes not seconds

look to documentatnion, you should fire storage callback withing minutes not seconds
@ -0,0 +107,4 @@
if (isDirty)
{
//Reiterate on failure?
isDirty = !SteamUserStats.StoreStats();
Owner

No reaction for callback

No reaction for callback
Author
First-time contributor

will fix

will fix
Owner

Just read steam api and use it with caution

Just read steam api and use it with caution
BitterSmile requested changes 2023-02-21 00:17:41 +01:00
@ -0,0 +1,5 @@
Static Achievments class (done)
Owner

This file shouldn't exist

This file shouldn't exist
Author
First-time contributor

will fix

will fix
BitterSmile closed this pull request 2023-05-21 12:58:25 +02:00

Pull request closed

Sign in to join this conversation.
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: negames/Neg_Utils#1
No description provided.