Feat(Main:Client): Fetching event when opening the phone

This commit is contained in:
chip committed 2020-10-18 21:54:47 +02:00
1 parent 72c20f1742
commit 68be13ed39
1 file changed
+2
+2
View File
@@ -151,6 +151,7 @@ async function Phone() {
isPhoneOpen = true
await phoneOpenAnim()
emitNet(events.CONTACTS_GET_CONTACTS);
emitNet(events.SELLOUT_FETCH_LISTING);
emitNet('phone:getCredentials') // Gets the credentials. Will eventually most likely only get the phone number and name, idk.
SetCursorLocation(0.936, 0.922) //Experimental
let res = GetActiveScreenResolution()
@@ -188,6 +189,7 @@ async function Phone() {
isPhoneOpen = true
await phoneOpenAnim()
emitNet(events.CONTACTS_GET_CONTACTS);
emitNet(events.SELLOUT_FETCH_LISTING);
emitNet('phone:getCredentials')
SetCursorLocation(0.936, 0.922) //Experimental
let res = GetActiveScreenResolution()