Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 4 and Version 5 of code/howto/Synchronisable


Ignore:
Timestamp:
Sep 25, 2008, 9:28:06 PM (16 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/Synchronisable

    v4 v5  
    44 * If you want your class to get transfered, you have to ''register'' every important variable to the network (e.g. position, speed, health, ...). But only register variables that are absolutely neccessary (e.g. no local variables).
    55 * The default transfer ''direction'' of variables (and objects) is from server to the clients only. If you want to change this for a certain variable (and object), call REGISTERDATA_WITHDIR(varname, direction) or REGISTERSTRING_WITHDIR(stringname, direction) instead of REGISTERDATA or REGISTERSTRING.[[br]]
    6 See also [wiki:network/Synchronisable Synchronisable] for more information.
     6See also [wiki:network/Synchronisable Synchronisable reference] for more information.
    77== Basic steps ==
    88 1. Include the appropriate header file: