Beispiel #1
0
// パーティ移動通知
static
int intif_parse_PartyMove (int fd)
{
//  if(battle_config.etc_log)
//      printf("intif: party move %d %d %s %d %d\n",RFIFOL(fd,2),RFIFOL(fd,6),RFIFOP(fd,10),RFIFOB(fd,26),RFIFOW(fd,27));
    party_recv_movemap (RFIFOL (fd, 2), RFIFOL (fd, 6), (const char *)RFIFOP (fd, 10),
                        RFIFOB (fd, 26), RFIFOW (fd, 27));
    return 0;
}
Beispiel #2
0
// パーティ移動通知
static
void intif_parse_PartyMove(int fd)
{
    int party_id = RFIFOL(fd, 2);
    int account_id = RFIFOL(fd, 6);
    MapName map = stringish<MapName>(RFIFO_STRING<16>(fd, 10));
    uint8_t online = RFIFOB(fd, 26);
    uint16_t lv = RFIFOW(fd, 27);
    party_recv_movemap(party_id, account_id, map, online, lv);
}
Beispiel #3
0
// パーティ移動通知
static
void intif_parse_PartyMove(Session *, const Packet_Fixed<0x3825>& fixed)
{
    PartyId party_id = fixed.party_id;
    AccountId account_id = fixed.account_id;
    MapName map = fixed.map_name;
    uint8_t online = fixed.online;
    uint16_t lv = fixed.level;
    party_recv_movemap(party_id, account_id, map, online, lv);
}