Files
new-phone-who-dis/typings/phone.ts

22 lines
739 B
TypeScript

export const PHONE_NUMBER_REGEX = /^([0-9]{3}-[0-9]{4})|([0-9]{7})$/;
export enum PhoneEvents {
PLAYER_IS_READY = 'npwd:playerIsReady',
OPEN_APP_CONTACTS = 'npwd:app:CONTACTS',
OPEN_APP_BANK = 'npwd:app:BANK',
OPEN_APP_NOTES = 'npwd:app:NOTES',
OPEN_APP_LISTINGS = 'npwd:app:SELLOUT',
OPEN_APP_CAMERA = 'npwd:app:CAMERA',
OPEN_APP_DAILER = 'npwd:app:DIALER',
OPEN_PHONE = 'npwd:open',
CLOSE_PHONE = 'npwd:close',
SET_ALERT = 'npwd:setAlert',
SET_VISIBILITY = 'npwd:setVisibility',
SET_NOTIFICATION = 'npwd:setNotification',
SET_NUMBER = 'npwd:setNumber',
SET_PHONE_READY = 'npwd:phoneReady',
SET_CONFIG = 'npwd:setPhoneConfig',
SET_TIME = 'npwd:setGameTime',
SEND_CREDENTIALS = 'npwd:sendCredentials',
}