C# 클래스 Rogue, rogue-sharp

파일 보기 프로젝트 열기: jdiamond/rogue-sharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
A_ATTRIBUTES int
A_CHARTEXT int
A_COLOR int
ISGONE int

Private Properties

프로퍼티 타입 설명
CCHAR char
CTRL char
GOLDCALC int
GetAddress IntPtr,
GetInt32 int
GetIntPtr IntPtr,
GetProcAddress IntPtr,
INDEX PLACE
ISMULT bool
ISRING bool
ISWEARING bool
LoadLibrary IntPtr,
Main void
accnt_maze void
add_haste bool
add_line int
add_str void
addch int
addmsg void
addstr int
aggravate void
atoi int
attach void
attack int
be_trapped int
bounce void
call_it void
cansee bool
ce bool
chase bool
chat char
check_level void
chg_str void
choose_str string
clear int
clearok int
clrtoeol int
come_down void
d_slot delayed_action
death void
delwin int
detach void
diag_ok bool
dig void
discard void
discovered void
dist int
dist_cp int
do_chase int
do_daemons void
do_fuses void
do_maze void
do_motion void
do_move void
do_pot void
do_run void
doadd void
doctor void
door_open void
draw_room void
drop void
dropcheck bool
eat void
end_line void
endit void
endmsg int
enter_room void
erase_lamp void
erasechar char
extinguish void
fall void
fallpos bool
fatal void
fight bool
find_dest coord
find_floor bool
find_obj THING
find_slot delayed_action
flat int
free_list void
fuse void
get_dir bool
get_str int
getcurx int
getcury int
gethand int
hit void
hit_monster bool
horiz void
inch int
init_player void
init_probs void
init_weapon void
initscr IntPtr
inv_name string
invis_on void
is_current bool
is_magic bool
kill_daemon void
killchar char
killed void
land void
leave_room void
leaveok int
lengthen void
look void
main void
miss void
missile void
moat THING
move int
move_monst int
msg int
mvaddch int
mvaddstr int
mvinch int
mvwaddstr int
mvwin int
mvwinch int
my_exit void
nameit void
new_item THING
new_thing THING
newwin IntPtr
next THING
nohaste void
nothing string
nullstr string
num string
on bool
pick_color string
pick_one int
playit void
prev THING
print_disc void
prname string
put_things void
quaff void
quit void
raise_level void
read_scroll void
readchar char
refresh int
relocate void
remove_mon void
ring_eat int
ring_num string
ring_off void
ring_on void
rnd int
rnd2 int
rnd_pos void
rnd_room int
rnd_thing char
rndmove coord
roll int
roll_em bool
rollwand void
roomin room
runners void
runto void
rust_armor void
see_monst bool
seen_stairs bool
set_know void
set_mname string
set_oldch void
set_order void
show_floor bool
show_map void
show_win void
sight void
spread int
standend int
standout int
start_daemon void
status void
step_ok bool
stomach void
subwin IntPtr
sumprobs void
swander void
swing bool
take_off void
teleport void
thunk void
total_winner void
touchwin int
treas_room void
trip_ch int
turn_ok bool
turn_see bool
turn_see_fuse void
turnref void
type_name string
unconfuse void
unctrl string
uncurse void
unsee void
vert void
visuals void
vowelstr string
waddch int
waddstr int
wait_for void
waste_time void
wclear int
wclrtoeol int
wear void
werase int
whatis void
wield void
winat char
wmove int
wrefresh int
wstandend int
wstandout int

공개 메소드들

메소드 설명
InitActions ( ) : void
Rogue ( ) : RogueSharp
Rogue ( IRandomNumberGenerator rng ) : RogueSharp
chat ( int y, int x, char ch ) : void
do_rooms ( ) : void
flat ( int y, int x, int flags ) : void
getyx ( IntPtr w, int &y, int &x ) : void
init_colors ( ) : void
init_materials ( ) : void
init_names ( ) : void
init_stones ( ) : void
moat ( int y, int x, THING monst ) : void
mvprintw ( int y, int x, string fmt ) : int
mvwprintw ( IntPtr win, int y, int x, string fmt ) : int
new_level ( ) : void
printw ( string fmt ) : int

비공개 메소드들

메소드 설명
CCHAR ( int x ) : char
CTRL ( char c ) : char
GOLDCALC ( ) : int
GetAddress ( string name ) : IntPtr,
GetInt32 ( string name ) : int
GetIntPtr ( string name ) : IntPtr,
GetProcAddress ( IntPtr, hModule, string procName ) : IntPtr,
INDEX ( int y, int x ) : PLACE
ISMULT ( int type ) : bool
ISRING ( int h, int r ) : bool
ISWEARING ( int r ) : bool
LoadLibrary ( string lpszLib ) : IntPtr,
Main ( string args ) : void
accnt_maze ( int y, int x, int ny, int nx ) : void
add_haste ( bool potion ) : bool
add_line ( string fmt, string arg ) : int
add_str ( int &sp, int amt ) : void
addch ( int ch ) : int
addmsg ( string fmt ) : void
addstr ( string str ) : int
aggravate ( ) : void
atoi ( string s, int i ) : int
attach ( THING &list, THING item ) : void
attack ( THING mp ) : int
be_trapped ( coord tc ) : int
bounce ( THING weap, string mname, bool noend ) : void
call_it ( obj_info info ) : void
cansee ( int y, int x ) : bool
ce ( coord a, coord b ) : bool
chase ( THING tp, coord ee ) : bool
chat ( int y, int x ) : char
check_level ( ) : void
chg_str ( int amt ) : void
choose_str ( string ts, string ns ) : string
clear ( ) : int
clearok ( IntPtr win, bool bf ) : int
clrtoeol ( ) : int
come_down ( int ignored ) : void
d_slot ( ) : delayed_action
death ( char monst ) : void
delwin ( IntPtr win ) : int
detach ( THING &list, THING item ) : void
diag_ok ( coord sp, coord ep ) : bool
dig ( int y, int x ) : void
discard ( THING item ) : void
discovered ( ) : void
dist ( int y1, int x1, int y2, int x2 ) : int
dist_cp ( coord c1, coord c2 ) : int
do_chase ( THING th ) : int
do_daemons ( int flag ) : void
do_fuses ( int flag ) : void
do_maze ( room rp ) : void
do_motion ( THING obj, int ydelta, int xdelta ) : void
do_move ( int dy, int dx ) : void
do_pot ( int type, bool knowit ) : void
do_run ( char ch ) : void
doadd ( string fmt, object args ) : void
doctor ( int ignored ) : void
door_open ( room rp ) : void
draw_room ( room rp ) : void
drop ( ) : void
dropcheck ( THING obj ) : bool
eat ( ) : void
end_line ( ) : void
endit ( int sig ) : void
endmsg ( ) : int
enter_room ( coord cp ) : void
erase_lamp ( coord pos, room rp ) : void
erasechar ( ) : char
extinguish ( Action func ) : void
fall ( THING obj, bool pr ) : void
fallpos ( coord pos, coord newpos ) : bool
fatal ( string s ) : void
fight ( coord mp, THING weap, bool thrown ) : bool
find_dest ( THING tp ) : coord
find_floor ( room rp, coord &cp, int limit, bool monst ) : bool
find_obj ( int y, int x ) : THING
find_slot ( Action func ) : delayed_action
flat ( int y, int x ) : int
free_list ( THING &ptr ) : void
fuse ( Action func, int arg, int time, int type ) : void
get_dir ( ) : bool
get_str ( string &vopt, IntPtr win ) : int
getcurx ( IntPtr win ) : int
getcury ( IntPtr win ) : int
gethand ( ) : int
hit ( string er, string ee, bool noend ) : void
hit_monster ( int y, int x, THING obj ) : bool
horiz ( room rp, int starty ) : void
inch ( ) : int
init_player ( ) : void
init_probs ( ) : void
init_weapon ( THING weap, int which ) : void
initscr ( ) : IntPtr
inv_name ( THING obj, bool drop ) : string
invis_on ( ) : void
is_current ( THING obj ) : bool
is_magic ( THING obj ) : bool
kill_daemon ( Action func ) : void
killchar ( ) : char
killed ( THING tp, bool pr ) : void
land ( int ignored ) : void
leave_room ( coord cp ) : void
leaveok ( IntPtr win, bool bf ) : int
lengthen ( Action func, int xtime ) : void
look ( bool wakeup ) : void
main ( ) : void
miss ( string er, string ee, bool noend ) : void
missile ( int ydelta, int xdelta ) : void
moat ( int y, int x ) : THING
move ( int y, int x ) : int
move_monst ( THING tp ) : int
msg ( string fmt ) : int
mvaddch ( int y, int x, int ch ) : int
mvaddstr ( int y, int x, string str ) : int
mvinch ( int y, int x ) : int
mvwaddstr ( IntPtr win, int y, int x, string str ) : int
mvwin ( IntPtr win, int y, int x ) : int
mvwinch ( IntPtr win, int y, int x ) : int
my_exit ( int st ) : void
nameit ( THING obj, string type, string which, obj_info op, string>.Func prfunc ) : void
new_item ( ) : THING
new_thing ( ) : THING
newwin ( int nlines, int ncols, int begin_y, int begin_x ) : IntPtr
next ( THING ptr ) : THING
nohaste ( int ignored ) : void
nothing ( char type ) : string
nullstr ( THING ignored ) : string
num ( int n1, int n2, char type ) : string
on ( THING thing, int flag ) : bool
pick_color ( string col ) : string
pick_one ( obj_info info, int nitems ) : int
playit ( ) : void
prev ( THING ptr ) : THING
print_disc ( char type ) : void
prname ( string mname, bool upper ) : string
put_things ( ) : void
quaff ( ) : void
quit ( int sig ) : void
raise_level ( ) : void
read_scroll ( ) : void
readchar ( ) : char
refresh ( ) : int
relocate ( THING th, coord new_loc ) : void
remove_mon ( coord mp, THING tp, bool waskill ) : void
ring_eat ( int hand ) : int
ring_num ( THING obj ) : string
ring_off ( ) : void
ring_on ( ) : void
rnd ( int range ) : int
rnd2 ( int range, string key ) : int
rnd_pos ( room rp, coord &cp ) : void
rnd_room ( ) : int
rnd_thing ( ) : char
rndmove ( THING who ) : coord
roll ( int number, int sides ) : int
roll_em ( THING thatt, THING thdef, THING weap, bool hurl ) : bool
rollwand ( int ignored ) : void
roomin ( coord cp ) : room
runners ( int ignored ) : void
runto ( coord runner ) : void
rust_armor ( THING arm ) : void
see_monst ( THING mp ) : bool
seen_stairs ( ) : bool
set_know ( THING obj, obj_info info ) : void
set_mname ( THING tp ) : string
set_oldch ( THING tp, coord cp ) : void
set_order ( int order, int numthings ) : void
show_floor ( ) : bool
show_map ( ) : void
show_win ( string message ) : void
sight ( int ignored ) : void
spread ( int nm ) : int
standend ( ) : int
standout ( ) : int
start_daemon ( Action func, int arg, int type ) : void
status ( ) : void
step_ok ( char ch ) : bool
stomach ( int ignored ) : void
subwin ( IntPtr orig, int nlines, int ncols, int begin_y, int begin_x ) : IntPtr
sumprobs ( obj_info info, int bound ) : void
swander ( int ignored ) : void
swing ( int at_lvl, int op_arm, int wplus ) : bool
take_off ( ) : void
teleport ( ) : void
thunk ( THING weap, string mname, bool noend ) : void
total_winner ( ) : void
touchwin ( IntPtr win ) : int
treas_room ( ) : void
trip_ch ( int y, int x, int ch ) : int
turn_ok ( int y, int x ) : bool
turn_see ( int turn_off ) : bool
turn_see_fuse ( int turn_off ) : void
turnref ( ) : void
type_name ( int type ) : string
unconfuse ( int ignored ) : void
unctrl ( char c ) : string
uncurse ( THING obj ) : void
unsee ( int ignored ) : void
vert ( room rp, int startx ) : void
visuals ( int ignored ) : void
vowelstr ( string str ) : string
waddch ( IntPtr win, int ch ) : int
waddstr ( IntPtr win, string str ) : int
wait_for ( int ch ) : void
waste_time ( ) : void
wclear ( IntPtr win ) : int
wclrtoeol ( IntPtr win ) : int
wear ( ) : void
werase ( IntPtr win ) : int
whatis ( bool insist, int type ) : void
wield ( ) : void
winat ( int y, int x ) : char
wmove ( IntPtr win, int y, int x ) : int
wrefresh ( IntPtr win ) : int
wstandend ( IntPtr win ) : int
wstandout ( IntPtr win ) : int

메소드 상세

InitActions() 공개 메소드

public InitActions ( ) : void
리턴 void

Rogue() 공개 메소드

public Rogue ( ) : RogueSharp
리턴 RogueSharp

Rogue() 공개 메소드

public Rogue ( IRandomNumberGenerator rng ) : RogueSharp
rng IRandomNumberGenerator
리턴 RogueSharp

chat() 공개 메소드

public chat ( int y, int x, char ch ) : void
y int
x int
ch char
리턴 void

do_rooms() 공개 메소드

public do_rooms ( ) : void
리턴 void

flat() 공개 메소드

public flat ( int y, int x, int flags ) : void
y int
x int
flags int
리턴 void

getyx() 공개 정적인 메소드

public static getyx ( IntPtr w, int &y, int &x ) : void
w IntPtr
y int
x int
리턴 void

init_colors() 공개 메소드

public init_colors ( ) : void
리턴 void

init_materials() 공개 메소드

public init_materials ( ) : void
리턴 void

init_names() 공개 메소드

public init_names ( ) : void
리턴 void

init_stones() 공개 메소드

public init_stones ( ) : void
리턴 void

moat() 공개 메소드

public moat ( int y, int x, THING monst ) : void
y int
x int
monst THING
리턴 void

mvprintw() 공개 정적인 메소드

public static mvprintw ( int y, int x, string fmt ) : int
y int
x int
fmt string
리턴 int

mvwprintw() 공개 정적인 메소드

public static mvwprintw ( IntPtr win, int y, int x, string fmt ) : int
win IntPtr
y int
x int
fmt string
리턴 int

new_level() 공개 메소드

public new_level ( ) : void
리턴 void

printw() 공개 정적인 메소드

public static printw ( string fmt ) : int
fmt string
리턴 int

프로퍼티 상세

A_ATTRIBUTES 공개적으로 정적으로 프로퍼티

public static int A_ATTRIBUTES
리턴 int

A_CHARTEXT 공개적으로 정적으로 프로퍼티

public static int A_CHARTEXT
리턴 int

A_COLOR 공개적으로 정적으로 프로퍼티

public static int A_COLOR
리턴 int

ISGONE 공개적으로 정적으로 프로퍼티

public static int ISGONE
리턴 int