From 3814af535317a841f8cac5d180f0fff61f8ae5f9 Mon Sep 17 00:00:00 2001 From: F16Gaming Date: Mon, 14 Nov 2011 19:02:57 +0100 Subject: [PATCH] Updated documentation. --- docs/files/CommandManager.html | 40 +++++++++++++++++++++++++++++++++----- docs/files/PlayerManager.html | 42 ++++++++++++++++++++++++++++++++++------ 2 files changed, 71 insertions(+), 11 deletions(-) diff --git a/docs/files/CommandManager.html b/docs/files/CommandManager.html index 52e4515..2c9a322 100644 --- a/docs/files/CommandManager.html +++ b/docs/files/CommandManager.html @@ -107,6 +107,11 @@ + + + + + @@ -127,7 +132,7 @@ - + @@ -159,6 +164,23 @@ +
CM:AutoHelp ()
+
+Prints all command names together with their help messages. + + + + + + + + + +
+ + + +
CM:GetCommand (command)
Gets the callback for a command by name. @@ -179,7 +201,7 @@ Gets the callback for a command by name.

Return value:

- + @@ -278,7 +300,7 @@ Initialize CommandManager. NOTE: Unused. -
CM:Register (command, access, func)
+
CM:Register (names, access, func, help, command)
Register a new command. @@ -287,7 +309,7 @@ Register a new command. diff --git a/docs/files/PlayerManager.html b/docs/files/PlayerManager.html index 10f0e1f..0da16da 100644 --- a/docs/files/PlayerManager.html +++ b/docs/files/PlayerManager.html @@ -818,7 +818,7 @@ Set the state of an item on the list.
  • - list: True to list it, false to not list it. + list: True to list it, false to not list it.
  • @@ -828,6 +828,15 @@ Set the state of an item on the list. +

    Return values:

    +
      + +
    1. String stating that the command was added or removed, false if error.
    2. + +
    3. Error message if unsuccessful, nil otherwise.
    4. + +
    +
    @@ -854,8 +863,14 @@ Add a command to the blacklist/whitelist. -

    Return value:

    - +

    Return values:

    +
      + +
    1. String stating that the command was added, false if error.
    2. + +
    3. Error message if unsuccessful, nil otherwise.
    4. + +
    @@ -883,8 +898,14 @@ Remove a command from the blacklist/whitelist. -

    Return value:

    - +

    Return values:

    +
      + +
    1. String stating that the command was removed, false if error.
    2. + +
    3. Error message if unsuccessful, nil otherwise.
    4. + +
    @@ -902,7 +923,7 @@ Dynamically add or remove an item from the list. @@ -912,6 +933,15 @@ Dynamically add or remove an item from the list. +

    Return values:

    +
      + +
    1. String stating that the command was added or removed, false if error.
    2. + +
    3. Error message if unsuccessful, nil otherwise.
    4. + +
    + -- 1.7.9.5
    CM:AutoHelp ()Prints all command names together with their help messages.
    CM:GetCommand (command) Gets the callback for a command by name.
    CM:Register (command, access, func)CM:Register (names, access, func, help, command) Register a new command.