Pixelmon Sidemod API - Feature tracker

[8.1.2+] - A packet to update the clients last open PC box. implemented in vcs

Ticket description:
Example usage:
When making a chest GUI that displays the player storage as seen here: https://i.imgur.com/ZL8k6ol.png it would be nice if there was a way to synchronize the player with it, PCStorage#setLastBox does achieve this however the client will return to their previous page as soon as they open any PC screen, with a specific packet to request the client update this could be prevented.
ClientInitializePC exists but it would be a bit unnecessary to resend the entire pc storage every time we update it on the server side.
It could also be a built in feature on the setter but it would be redundant since by default its only called when the client performs an update.
Thanks, Licious

Comments

#22256 Posted by Waterdude » 28 Apr 2021 23:38

Added packet ClientSetLastOpenBox

Ticket details

  • Ticket ID: 15445
  • Project: Pixelmon Sidemod API
  • Status: Implemented in VCS
  • Component: (unknown)
  • Project version: 8.x.x
  • Priority: Normal
  • Assigned to: Waterdude
  • Reported by: Licious (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 12 Jan 2021 10:13
  • Ticket last visited by: SkyAsa2256 on 18 Dec 2022 15:44
JOIN THE TEAM