mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7540] Move most reputation/force faction reaction code to new ReputationMgr.
This commit is contained in:
parent
ef014420a5
commit
c33eff13f4
19 changed files with 773 additions and 647 deletions
|
|
@ -860,7 +860,7 @@ void WorldSession::HandleSetFactionAtWar( WorldPacket & recv_data )
|
|||
recv_data >> repListID;
|
||||
recv_data >> flag;
|
||||
|
||||
GetPlayer()->SetFactionAtWar(repListID,flag);
|
||||
GetPlayer()->GetReputationMgr().SetAtWar(repListID,flag);
|
||||
}
|
||||
|
||||
//I think this function is never used :/ I dunno, but i guess this opcode not exists
|
||||
|
|
@ -888,7 +888,7 @@ void WorldSession::HandleSetFactionCheat( WorldPacket & /*recv_data*/ )
|
|||
}
|
||||
}
|
||||
*/
|
||||
GetPlayer()->SendFactionStates();
|
||||
GetPlayer()->GetReputationMgr().SendStates();
|
||||
}
|
||||
|
||||
void WorldSession::HandleMeetingStoneInfo( WorldPacket & /*recv_data*/ )
|
||||
|
|
@ -953,7 +953,7 @@ void WorldSession::HandleSetWatchedFactionInactiveOpcode(WorldPacket & recv_data
|
|||
uint8 inactive;
|
||||
recv_data >> replistid >> inactive;
|
||||
|
||||
_player->SetFactionInactive(replistid, inactive);
|
||||
_player->GetReputationMgr().SetInactive(replistid, inactive);
|
||||
}
|
||||
|
||||
void WorldSession::HandleToggleHelmOpcode( WorldPacket & /*recv_data*/ )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue