Handle network events for GPS blip & locale
This commit is contained in:
@@ -92,9 +92,11 @@ function addAllNetworkHandlers() {
|
||||
// House
|
||||
addNetworkEventHandler("vrr.house", receiveHouseFromServer);
|
||||
|
||||
// GPS
|
||||
addNetworkEventHandler("vrr.showGPSBlip", showGPSLocation);
|
||||
|
||||
// Locale
|
||||
addNetworkEventHandler("vrr.localeString", receiveLocaleStringFromServer);
|
||||
addNetworkEventHandler("vrr.localeStrings", receiveLocaleStringsFromServer);
|
||||
addNetworkEventHandler("vrr.locale", setLocale);
|
||||
|
||||
// Misc
|
||||
addNetworkEventHandler("vrr.mouseCursor", toggleMouseCursor);
|
||||
@@ -375,3 +377,9 @@ function serverRequestedLocalPlayerSpawn(skinId, position) {
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function sendLocaleSelectToServer(localeId) {
|
||||
sendNetworkEventToServer("vrr.localeSelect", localeId);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user