Link Search Menu Expand Document

Prototypes

Функции


get_proto_data

int get_proto_data(int pid, int offset)

Used to read the in-memory copies of the .pro files Fallout makes when they are loaded. The offset refers to the offset in memory from the start of the proto to the element you are reading.


set_proto_data

void set_proto_data(int pid, int offset, int value)

Used to alter the in-memory copies of the .pro files Fallout makes when they are loaded. The offset refers to the offset in memory from the start of the proto to the element you are reading. Changes are not stored on disc, and are not permanent. If you modify the protos, and then Fallout subsequently reloads the file your changes will be lost.