mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(bank): Calling events when opening phone | adding new events
This commit is contained in:
1 parent
1fab070904
commit
5dfc5a890d
2 files changed
+9
-1
No files matched your search
@@ -237,6 +237,7 @@ async function Phone() {
|
|||||||
emitNet('phone:getCredentials')
|
emitNet('phone:getCredentials')
|
||||||
emitNet(events.CONTACTS_GET_CONTACTS);
|
emitNet(events.CONTACTS_GET_CONTACTS);
|
||||||
emitNet(events.SELLOUT_FETCH_LISTING);
|
emitNet(events.SELLOUT_FETCH_LISTING);
|
||||||
|
emitNet(events.BANK_FETCH_TRANSACTIONS);
|
||||||
console.log("Sellout fetched from client side")// Gets the credentials. Will eventually most likely only get the phone number and name, idk.
|
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
|
SetCursorLocation(0.90, 0.922) //Experimental
|
||||||
let res = GetActiveScreenResolution()
|
let res = GetActiveScreenResolution()
|
||||||
@@ -274,6 +275,7 @@ async function Phone() {
|
|||||||
emitNet('phone:getCredentials')
|
emitNet('phone:getCredentials')
|
||||||
emitNet(events.CONTACTS_GET_CONTACTS);
|
emitNet(events.CONTACTS_GET_CONTACTS);
|
||||||
emitNet(events.SELLOUT_FETCH_LISTING);
|
emitNet(events.SELLOUT_FETCH_LISTING);
|
||||||
|
emitNet(events.BANK_FETCH_TRANSACTIONS);
|
||||||
console.log("Sellout fetched from client side")
|
console.log("Sellout fetched from client side")
|
||||||
SetCursorLocation(0.936, 0.922) //Experimental
|
SetCursorLocation(0.936, 0.922) //Experimental
|
||||||
let res = GetActiveScreenResolution()
|
let res = GetActiveScreenResolution()
|
||||||
|
|||||||
@@ -31,5 +31,11 @@ export default {
|
|||||||
// Sellout
|
// Sellout
|
||||||
SELLOUT_ADD_LISTING: 'phone:addListing',
|
SELLOUT_ADD_LISTING: 'phone:addListing',
|
||||||
SELLOUT_FETCH_LISTING: 'phone:fetchAllListings',
|
SELLOUT_FETCH_LISTING: 'phone:fetchAllListings',
|
||||||
SELLOUT_SEND_LISTING: 'phone:sendAllListings'
|
SELLOUT_SEND_LISTING: 'phone:sendAllListings',
|
||||||
|
|
||||||
|
// Bank
|
||||||
|
BANK_ADD_TRANSFER: 'phone:addTransfer',
|
||||||
|
BANK_FETCH_TRANSACTIONS: 'phone:fetchAllTransactions',
|
||||||
|
BANK_SEND_TRANSFERS: 'phone:sendTransfers',
|
||||||
|
BANK_TRANSACTION_ALERT: 'phone:transactionAlert'
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user