objserial.h File Reference

#include <string>
#include "utils.h"
#include "servemsg.h"

Include dependency graph for objserial.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Serial_out
class  Serial_in
struct  Serial_schedule

Defines

#define OBJSERIAL_H   1
 Objserial.h - Object serialization.

Functions

int Object_out (int fd, Exult_server::Msg_type id, unsigned long addr, int tx, int ty, int tz, int shape, int frame, int quality, std::string name)
int Object_in (unsigned char *data, int datalen, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &quality, std::string &name)
int Egg_object_out (int fd, unsigned long addr, int tx, int ty, int tz, int shape, int frame, int type, int criteria, int probability, int distance, bool nocturnal, bool once, bool hatched, bool auto_reset, int data1, int data2)
int Egg_object_in (unsigned char *data, int datalen, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &type, int &criteria, int &probability, int &distance, bool &nocturnal, bool &once, bool &hatched, bool &auto_reset, int &data1, int &data2)
int Npc_actor_out (int fd, unsigned long addr, int tx, int ty, int tz, int shape, int frame, int face, std::string name, short npc_num, short ident, int usecode, int *properties, short attack_mode, short alignment, unsigned long oflags, unsigned long siflags, unsigned long type_flags, short num_schedules, Serial_schedule *schedules)
int Npc_actor_in (unsigned char *data, int datalen, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &face, std::string &name, short &npc_num, short &ident, int &usecode, int *properties, short &attack_mode, short &alignment, unsigned long &oflags, unsigned long &siflags, unsigned long &type_flags, short &num_schedules, Serial_schedule *schedules)
int Game_info_out (int fd, int version, int edit_lift, int hide_lift, bool map_editing, bool tile_grid, bool map_modified, int edit_mode)
int Game_info_in (unsigned char *data, int datalen, int &version, int &edit_lift, int &hide_lift, bool &map_editing, bool &tile_grid, bool &map_modified, int &edit_mode)


Define Documentation

#define OBJSERIAL_H   1

Objserial.h - Object serialization.

Written: 5/25/2001 - JSF

Definition at line 26 of file objserial.h.


Function Documentation

int Egg_object_in ( unsigned char *  data,
int  datalen,
unsigned long &  addr,
int &  tx,
int &  ty,
int &  tz,
int &  shape,
int &  frame,
int &  type,
int &  criteria,
int &  probability,
int &  distance,
bool &  nocturnal,
bool &  once,
bool &  hatched,
bool &  auto_reset,
int &  data1,
int &  data2 
)

Definition at line 265 of file objserial.cc.

References Egg_object_io().

Referenced by ExultStudio::init_egg_window(), and Egg_object::update_from_studio().

Here is the call graph for this function:

int Egg_object_out ( int  fd,
unsigned long  addr,
int  tx,
int  ty,
int  tz,
int  shape,
int  frame,
int  type,
int  criteria,
int  probability,
int  distance,
bool  nocturnal,
bool  once,
bool  hatched,
bool  auto_reset,
int  data1,
int  data2 
)

Definition at line 232 of file objserial.cc.

References Exult_server::egg, Egg_object_io(), Exult_server::maxlength, and Exult_server::Send_data().

Referenced by Egg_object::edit(), and ExultStudio::save_egg_window().

Here is the call graph for this function:

int Game_info_in ( unsigned char *  data,
int  datalen,
int &  version,
int &  edit_lift,
int &  hide_lift,
bool &  map_editing,
bool &  tile_grid,
bool &  map_modified,
int &  edit_mode 
)

Definition at line 418 of file objserial.cc.

References Game_info_io().

Referenced by ExultStudio::info_received(), and ExultStudio::need_to_save().

Here is the call graph for this function:

int Game_info_out ( int  fd,
int  version,
int  edit_lift,
int  hide_lift,
bool  map_editing,
bool  tile_grid,
bool  map_modified,
int  edit_mode 
)

Definition at line 392 of file objserial.cc.

References Game_info_io(), Exult_server::info, Exult_server::maxlength, and Exult_server::Send_data().

Here is the call graph for this function:

int Npc_actor_in ( unsigned char *  data,
int  datalen,
unsigned long &  addr,
int &  tx,
int &  ty,
int &  tz,
int &  shape,
int &  frame,
int &  face,
std::string &  name,
short &  npc_num,
short &  ident,
int &  usecode,
int *  properties,
short &  attack_mode,
short &  alignment,
unsigned long &  oflags,
unsigned long &  siflags,
unsigned long &  type_flags,
short &  num_schedules,
Serial_schedule schedules 
)

int Npc_actor_out ( int  fd,
unsigned long  addr,
int  tx,
int  ty,
int  tz,
int  shape,
int  frame,
int  face,
std::string  name,
short  npc_num,
short  ident,
int  usecode,
int *  properties,
short  attack_mode,
short  alignment,
unsigned long  oflags,
unsigned long  siflags,
unsigned long  type_flags,
short  num_schedules,
Serial_schedule schedules 
)

int Object_in ( unsigned char *  data,
int  datalen,
unsigned long &  addr,
int &  tx,
int &  ty,
int &  tz,
int &  shape,
int &  frame,
int &  quality,
std::string &  name 
)

Definition at line 208 of file objserial.cc.

References Object_io().

Referenced by Combo_editor::add(), ExultStudio::init_obj_window(), and Game_object::update_from_studio().

Here is the call graph for this function:

int Object_out ( int  fd,
Exult_server::Msg_type  id,
unsigned long  addr,
int  tx,
int  ty,
int  tz,
int  shape,
int  frame,
int  quality,
std::string  name 
)

Definition at line 183 of file objserial.cc.

References Exult_server::maxlength, Object_io(), and Exult_server::Send_data().

Referenced by Game_window::double_clicked(), Game_object::edit(), and ExultStudio::save_obj_window().

Here is the call graph for this function:


Generated on Mon Jul 9 14:45:32 2007 for ExultEngine by  doxygen 1.5.1