Object Differentiations
CollidaCube opened this issue · 1 comments
CollidaCube commented
What is the difference between these objects in the SDK:
Category and Pacakge.Category
CategoryPackage and Package
Additionally, what is Package.Server?
WildBamaBoy commented
Category
is a collection of purchasable packages and sub-categories which can be set up in the Tebex web panel.- Each
Package
has acategory
which is just the original category that it belongs to. CategoryPackage
is only the package information needed to display in-game as a listing: https://docs.tebex.io/plugin/endpoints/listingPackage
is the full Package object as seen here: https://docs.tebex.io/plugin/endpoints/packages
Any Server
is just information about the server that the package can be sold on.