1
0
forked from akanyan/mu3-mods
Files
mu3-mods/InfiniteGP/MU3.User/patch_UserManager.cs
2024-07-02 10:50:04 +09:00

30 lines
614 B
C#

#pragma warning disable CS0649
#pragma warning disable IDE1006
namespace MU3.User;
public class patch_UserManager: UserManager {
public new const int DefaultGP = 666;
private int _gp;
private OnUpdate _onUpdateGP;
private OnReset _onResetGP;
public new void resetGP() {
_gp = 999;
if(_onResetGP != null) {
_onResetGP(_gp);
}
}
public new int GP {
get {
return _gp;
}
private set {
_gp = 999;
if(_onUpdateGP != null) {
_onUpdateGP(_gp);
}
}
}
}