void HandlePersonaChangeResponse(IPacketMsg packetMsg) { var response = new ClientMsgProtobuf <CMsgPersonaChangeResponse>(packetMsg); // update our cache to what steam says our name is cache.LocalUser.Name = response.Body.player_name; var callback = new PersonaChangeCallback(packetMsg.TargetJobID, response.Body); Client.PostCallback(callback); }
void HandlePersonaChangeResponse( IPacketMsg packetMsg ) { var response = new ClientMsgProtobuf<CMsgPersonaChangeResponse>( packetMsg ); // update our cache to what steam says our name is cache.LocalUser.Name = response.Body.player_name; var callback = new PersonaChangeCallback( packetMsg.TargetJobID, response.Body ); Client.PostCallback( callback ); }