Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Sep 25, 2008, 9:27:38 PM (12 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/Synchronisable

    v3 v4  
    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] for more information.
     6See also [wiki:network/Synchronisable Synchronisable] for more information.
    77== Basic steps ==
    88 1. Include the appropriate header file: