// [SEARCH]
void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, DWORD arg1, TItemPos arg2, DWORD arg3, void * pvData = NULL);
// [REPLACE]
void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, DWORD arg1, TItemPos arg2, DWORD arg3, BYTE dice, void * pvData = NULL);
void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, DWORD arg1, TItemPos arg2, DWORD arg3, void * pvData = NULL);
// [REPLACE]
void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, DWORD arg1, TItemPos arg2, DWORD arg3, BYTE dice, void * pvData = NULL);
sa vad daca da erroare la compilere
exchange.cpp:64:6: error: prototype for 'bool CHARACTER::ExchangeStart(LPCHARACT ER)' does not match any in class 'CHARACTER'
bool CHARACTER::ExchangeStart(LPCHARACTER victim)
^
In file included from exchange.cpp:6:0:
char.h
10: error: candidate is: bool CHARACTER::ExchangeStart(LPCHARACTER, BYTE)
bool ExchangeStart(LPCHARACTER victim, BYTE dice);
^
exchange.cpp:128:1: error: prototype for 'CExchange::CExchange(LPCHARACTER)' doe s not match any in class 'CExchange'
CExchange::CExchange(LPCHARACTER pOwner)
^
In file included from exchange.cpp:14:0:
exchange.h:16:7: error: candidates are: constexpr CExchange::CExchange(const CEx change&)
class CExchange
^
exchange.h:19:3: error: CExchange::CExchange(LPCHARACTER, BYTE)
CExchange(LPCHARACTER pOwner, BYTE dice);
bool CHARACTER::ExchangeStart(LPCHARACTER victim)
^
In file included from exchange.cpp:6:0:
char.h
bool ExchangeStart(LPCHARACTER victim, BYTE dice);
^
exchange.cpp:128:1: error: prototype for 'CExchange::CExchange(LPCHARACTER)' doe s not match any in class 'CExchange'
CExchange::CExchange(LPCHARACTER pOwner)
^
In file included from exchange.cpp:14:0:
exchange.h:16:7: error: candidates are: constexpr CExchange::CExchange(const CEx change&)
class CExchange
^
exchange.h:19:3: error: CExchange::CExchange(LPCHARACTER, BYTE)
CExchange(LPCHARACTER pOwner, BYTE dice);

