Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2010, 1:01:23 AM (14 years ago)
Author:
landauf
Message:

renamed GameMode::hasServer() as GameMode::isServer() for consistency.
added documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/libraries/core/command/ConsoleCommand.cc

    r7352 r7374  
    137137            case AccessLevel::Standalone: return GameMode::isStandalone();
    138138            case AccessLevel::Master:     return GameMode::isMaster();
    139             case AccessLevel::Server:     return GameMode::hasServer();
     139            case AccessLevel::Server:     return GameMode::isServer();
    140140            case AccessLevel::Client:     return GameMode::isClient();
    141             case AccessLevel::Online:     return (GameMode::hasServer() || GameMode::isClient());
     141            case AccessLevel::Online:     return (GameMode::isServer() || GameMode::isClient());
    142142            case AccessLevel::Offline:    return GameMode::isStandalone();
    143143            case AccessLevel::None:       return false;
Note: See TracChangeset for help on using the changeset viewer.