KitsuneLab-Development/K4-System

[ENHANCEMENT] Add `TopPlacement` field to SharedApi

ivenuss opened this issue · 1 comments

Describe the enhancement

Add new field TopPlacement to SharedApi. It should return given player placement.

Concept structure

K4-SharedApi.cs

int TopPlacement { get; }

PluginAPI.cs

public int TopPlacement
{
	get
	{
		if (_player is null || !_player.IsValid || !_player.IsPlayer || _player.rankData is null)
			throw new Exception("K4-SharedAPI > TopPlacement (get) > Player is not valid or is not a player.");

		return _player.rankData.TopPlacement;
	}
}

The feature has been added to the upcoming release. It is going to be uploaded when I have finished with the rest