Thread
:
Commands.pl
View Single Post
#
2
03-16-2005, 02:37 PM
Cisyouc
Demi-God
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
It goes in your EQEMu Directory, it is used for creating '#' commands via perl.
If you dont know what it is, all it needs to contain is
Code:
sub commands_init{}
__________________
namespace
retval {
template
<
class
T>
class
ReturnValueGen {
private
: T x;
public
: ReturnValueGen() { x = 0; }; T& Generator() {
return
x; }; }; }
int
main() { retval::ReturnValueGen<
int
> retvalue;
return
retvalue.Generator(); }
C++ is
wonderful.
Cisyouc
View Public Profile
Send a private message to Cisyouc
Find all posts by Cisyouc