Finding player room ID

Post Reply
chrio
Posts: 73
Joined: Mon Aug 22, 2016 11:34 am

Finding player room ID

Post by chrio »

Is there a built in function get the current playerRoomId (The room we can set with centerview), or do we need to keep track on it manually?

User avatar
SlySven
Posts: 1023
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Finding player room ID

Post by SlySven »

Not at present - it is on my todo list and I agree it is a glaring omission!

chrio
Posts: 73
Joined: Mon Aug 22, 2016 11:34 am

Re: Finding player room ID

Post by chrio »

I wouldn't mind trying to add it myself and upload it. I'm pretty sure I can add the functionality, but I don't know the correct way to make contributions to the project.

edit:
I added a new function called getCenterRoomID() for this and issued a pull request (#315) through github. I hope that's ok.

Post Reply