DISCLAIMER
This software is currently under development. It is not done. While it will not be done quickly, contributions can help make things go faster. Please contribute if you can.
NAME
Games::Framework::RCP::Utilities::Vars_Ints - Subroutines for the vars_ints Table.
VERSION
Version 0.07
DEPENDENCIES
The requirements for this module are as follows:
Perl 5.10 or higher
SYNOPSIS
Games::Framework::RCP::Utilities::Vars_Ints - A listing of the different subroutines that one can use to manipulate integer variables.
DESCRIPTION
This module contains various functions used to manipulate the vars_ints table. One can insert, delete, update, and select various integer variable names and values. Note that it is recommended to not delete the particular variables.
CONFIGURATION AND ENVIRONMENT
No configuration should be required.
SUBROUTINES/METHODS
insert_integer_variable
This function is used to insert a new variable that takes a integer value. Any new variables created are inaccessible until either coded in the modules or your own driver program.
The parameters are as follows:
$_[0]
the name of the variable.
$_[1]
the value of the variable. It defaults to 0 if nothing is provided.
update_integer_variable_value_by_name
This function takes a integer variable's name to update its value.
The parameters are as follows:
$_[0]
the name of the variable.
$_[1]
the new value.
update_integer_variable_value_by_id
This function takes a integer variable's ID to update its value.
The parameters are as follows:
$_[0]
the ID of the variable.
$_[1]
the new value.
invert_integer_variable_by_name
This function inverts a integer variable's value, given a name. It is provided as a convenience to Game Masters.
The parameters are as follows:
$_[0]
the name of the variable.
invert_integer_variable_by_id
This function inverts a integer variable's value, given an ID. It is provided as a convenience to Game Masters.
The parameters are as follows:
$_[0]
the ID of the variable.
invert_all_integer_variables
This function inverts all of the integer variables' values. It is provided as a convenience to Game Masters.
There are no parameters in this function.
delete_integer_variable_by_name
This function removes a integer variable based off of its name. It is recommended to NEVER call this function: however, it is provided just in case someone wants to have fun with it.
The parameters are as follows:
$_[0]
the name of the variable.
delete_integer_variable_by_id
This function removes a integer variable based off of its ID. It is recommended to NEVER call this function: however, it is provided just in case someone wants to have fun with it.
The parameters are as follows:
$_[0]
the ID of the variable.
select_integer_variable_value_by_name
This function is available to get the value of a integer variable by its name.
The parameters are as follows:
$_[0]
the name of the variable.
Return the value of the variable if it was selected.
select_integer_variable_value_by_id
This function is available to get the value of a integer variable by its ID.
The parameters are as follows:
$_[0]
the ID of the variable.
Return the value of the variable if it was selected.
select_id_by_integer_variable
This function returns the ID of the specific integer variable.
The parameters are as follows:
$_[0]
The name of the variable.
Returns the ID of the variable if it exists.
INCOMPATIBILITIES
There are no known incompatibilities in this module.
DIAGNOSTICS
There are no known problems, and therefore no need to provide solutions.
AUTHOR
Jason Felds, <wolfman.ncsu2000 at gmail.com>
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-Games-Framework-RCP at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Games-Framework-RCP-Utilities-Vars_Ints. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Games::Framework::RCP::Utilities::Vars_Ints
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-Framework-RCP-Utilities-Vars_Ints
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Games-Framework-RCP-Utilities-Vars_Ints
CPAN Ratings
http://cpanratings.perl.org/d/Games-Framework-RCP-Utilities-Vars_Ints
Search CPAN
http://search.cpan.org/dist/Games-Framework-RCP-Utilities-Vars_Ints/
ACKNOWLEDGEMENTS
See Games::Framework::RCP for all acknowledgements.
LICENSE AND COPYRIGHT
Copyright 2008 Jason Felds, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.