Changeset 1943 for code/branches/objecthierarchy/src/orxonox/objects/infos
- Timestamp:
- Oct 18, 2008, 11:28:49 PM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/orxonox/objects/infos
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/infos/LevelInfo.cc
r1940 r1943 63 63 void LevelInfo::registerVariables() 64 64 { 65 REGISTER DATA(name_, network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::changedName));66 REGISTER DATA(description_, network::direction::toclient);67 REGISTER DATA(skybox_, network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::applySkybox));65 REGISTERSTRING(name_, network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::changedName)); 66 REGISTERSTRING(description_, network::direction::toclient); 67 REGISTERSTRING(skybox_, network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::applySkybox)); 68 68 REGISTERDATA(ambientLight_, network::direction::toclient, new network::NetworkCallback<LevelInfo>(this, &LevelInfo::applyAmbientLight)); 69 69 } -
code/branches/objecthierarchy/src/orxonox/objects/infos/PlayerInfo.cc
r1940 r1943 77 77 this->setObjectMode(network::direction::bidirectional); 78 78 79 REGISTER DATA(name_,network::direction::bidirectional, new network::NetworkCallback<PlayerInfo>(this, &PlayerInfo::changedName));79 REGISTERSTRING(name_, network::direction::bidirectional, new network::NetworkCallback<PlayerInfo>(this, &PlayerInfo::changedName)); 80 80 REGISTERDATA(clientID_, network::direction::toclient, new network::NetworkCallback<PlayerInfo>(this, &PlayerInfo::checkClientID)); 81 81 REGISTERDATA(ping_, network::direction::toclient);
Note: See TracChangeset
for help on using the changeset viewer.