![]() |
Object Synchronization (Clientside<->Serverside)
Basically this would be the ability to sync a TStaticVar on clientside and serverside so a variable change in one is reflected in the other just like with client flags. The reason I want this feature is for my mudlib which uses an all-purpose mud object at GraalObject.mud to store data and I thought it would be more efficient for Graal to sync data to client rather than doing it manually each time its changed.
Ideally the options would be controlled from serverside and there would be static variables to determine how it works, such as what variables to synchronize and if only serverside changes should be synced (like clientr.) or changes to both sides be synced. |
I approve.
|
Approve.
|
Yes, please. :)
|
Guilty, Inverness is guilty in making up an amazing idea that should be implented, and along with global functions.
|
Inverness.ego ++;
|
Quote:
Stefan, why can't you implent this? Same with global functions :o |
I'd love to have this feature sooner rather than later >.>
|
Bump
Waiting for a verdict. |
An easy way to fix this is having an event each time a variable changes... Such as:
PHP Code:
(@ this.name ).(@ varName ) = newValue; The this.name should be matching on both clientside and serverside for this to work, however... But it would be one method to do it. |
Quote:
|
| All times are GMT +2. The time now is 02:36 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.