public void ChangeRoommate(ChangeRoommateType type, uint target_avatar, uint target_lot) { Network.CityClient.Write(new ChangeRoommateRequest() { Type = type, AvatarId = target_avatar, LotLocation = target_lot }); }
public override void Deserialize(IoBuffer input, ISerializationContext context) { Type = input.GetEnum <ChangeRoommateType>(); AvatarId = input.GetUInt32(); LotLocation = input.GetUInt32(); }