Jason Felds > Games-Framework-RCP > Games::Framework::RCP::Database::Result::CharacterCurrency

Download:
Games-Framework-RCP-0.04_01.tar.gz

Dependencies

Annotate this POD

Module Version: 0.22   Source  

NAME ^

Games::Framework::RCP::Database::Result::CharacterCurrency - Every currency a character has in storage.

VERSION ^

0.22

DESCRIPTION ^

The character currency table shows all of the money characters have in storage in various forms. Some Game Masters may also want to use this as an "infinite storage locker" for fighters to store money not brought to battle. Others may want to use this instead of CombatantCurrency to deal with currency found in battle. The uses are vast.

DATABASE TABLE ^

Every item a character has in storage.

id_character_currency

This is the primary key of the table, using the traditional auto incrementing.

fkey_character

This ID points to the Character table in a many to one mapping. Many currency can belong to a character.

fkey_currency

This ID points to the Currency table in a many to one mapping. Many characters can have the same currency.

quantity

This real number shows how much of the given currency is available. In general, once this hits zero, the currency should be removed from the table.

SUBROUTINES/METHODS ^

sqlt_deploy_hook()

sqlt_deploy_hook is used to define the table settings for the various databases.

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-Database-Result-CharacterCurrency. 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::Database::Result::CharacterCurrency

You can also look for information at:

ACKNOWLEDGEMENTS ^

See Games::Framework::RCP for all acknowledgements.

LICENSE AND COPYRIGHT ^

Copyright 2009 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.

syntax highlighting: