static private SendProfileTo ( |
||
fromClient | ||
toClient | ||
return | void |
static void SendProfileTo(Client fromClient, Client toClient)
{
if (fromClient.Value.Authenticated)
{
byte[] profile = Packer.Serialize(GetProfile(ServerPacket.ViewProfile, toClient.Value.Username));
fromClient.Send(profile);
}
}