Class PluginAdvancement
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
The bounds the client checks an advancement request against.
public static class PluginAdvancement
- Inheritance
-
PluginAdvancement
- Inherited Members
Fields
MaxExperienceCost
The largest experience cost the client will carry to the server, which is the largest number the request's own field holds: it is 32 bits wide. A cost past this is refused rather than cut down to fit, because cutting it down would not fail -- it would spend a smaller, perfectly legal amount the plugin never asked for. Banked experience in the billions is ordinary at high level, so a plugin asking to spend what the character has must expect this answer and split the spend.
public const ulong MaxExperienceCost = 4294967295
Field Value
MaxSkillCredits
The largest number of skill credits the client will carry to the server for TrainSkill. Credits ride the same 32-bit field MaxExperienceCost is bounded by, but training costs a handful of them, so the ceiling sits far lower: anything near it is already a mistake.
public const uint MaxSkillCredits = 1000