/// <summary> /// Create a new follower /// </summary> /// <remarks>Object A => follower, Object B => the object to follow</remarks> /// <param name="gameObject">The game-object for A.</param> /// <param name="offset">Offset to the COM of B</param> /// <param name="orientation">Local orientation of A</param> /// <param name="type">Following type of A</param> public Follower(GameObject gameObject, Vector3 offset, Quaternion orientation, FollowingType type) { GameObject = gameObject; Offset = offset; Orientation = orientation; Type = type; }
public async Task <ActionResult <List <UserProfileViewModel> > > GetFollowings(string username, FollowingType followingType) { return(await this.Mediator.Send(new FollowersListQuery(username, followingType))); }
public FollowersListQuery(string username, FollowingType followingType) { this.Username = username; this.FollowingType = followingType; }