MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / AddClientToInstance

Method AddClientToInstance

common/database_instances.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54bool Database::AddClientToInstance(uint16 instance_id, uint32 character_id)
55{
56 auto e = InstanceListPlayerRepository::NewEntity();
57
58 e.id = instance_id;
59 e.charid = character_id;
60
61 return InstanceListPlayerRepository::ReplaceOne(*this, e);
62}
63
64bool Database::CheckInstanceByCharID(uint16 instance_id, uint32 character_id)
65{

Callers 12

AddPlayerMethod · 0.80
AssignToInstanceMethod · 0.80
AssignToInstanceMethod · 0.80
GotoPlayerMethod · 0.80
MoveZoneInstanceMethod · 0.80
ZonePCMethod · 0.80
command_zone_instanceFunction · 0.80
command_zone_shardFunction · 0.80
command_instanceFunction · 0.80
AddMemberMethod · 0.80
SwapMemberMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected