From e1b3fe5b287162c43175af18e10f79ed9c67f98b Mon Sep 17 00:00:00 2001 From: chip Date: Mon, 26 Oct 2020 15:44:46 +0100 Subject: [PATCH] feat(bank/client): triggering events for credentials --- resources/client/cl_main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/client/cl_main.ts b/resources/client/cl_main.ts index dcad615..2ac5c9a 100644 --- a/resources/client/cl_main.ts +++ b/resources/client/cl_main.ts @@ -238,6 +238,7 @@ async function Phone() { emitNet(events.CONTACTS_GET_CONTACTS); emitNet(events.SELLOUT_FETCH_LISTING); emitNet(events.BANK_FETCH_TRANSACTIONS); + emitNet(events.BANK_GET_CREDENTIALS); console.log("Sellout fetched from client side")// Gets the credentials. Will eventually most likely only get the phone number and name, idk. SetCursorLocation(0.90, 0.922) //Experimental let res = GetActiveScreenResolution() @@ -276,6 +277,7 @@ async function Phone() { emitNet(events.CONTACTS_GET_CONTACTS); emitNet(events.SELLOUT_FETCH_LISTING); emitNet(events.BANK_FETCH_TRANSACTIONS); + emitNet(events.BANK_GET_CREDENTIALS); console.log("Sellout fetched from client side") SetCursorLocation(0.936, 0.922) //Experimental let res = GetActiveScreenResolution()