Intended to be invoked by a script.
(targetActor scripting.ScriptActor)
| 97 | |
| 98 | // Intended to be invoked by a script. |
| 99 | func (f *FollowModule) Scripting_GetFollowers(targetActor scripting.ScriptActor) []*scripting.ScriptActor { |
| 100 | |
| 101 | results := []*scripting.ScriptActor{} |
| 102 | |
| 103 | for _, f := range f.getFollowers(followId{mobInstanceId: targetActor.InstanceId()}) { |
| 104 | results = append(results, scripting.GetActor(f.userId, f.mobInstanceId)) |
| 105 | } |
| 106 | |
| 107 | return results |
| 108 | } |
| 109 | |
| 110 | // Get all followeres attached to a target |
| 111 | func (f *FollowModule) isFollowing(followCheck followId) bool { |
nothing calls this directly
no test coverage detected