Skip to content

OnNetworkSubscriptionsGather

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnNetworkSubscriptionsGather( NetworkVisibilityGrid instance, Group group, List`1 groups, int radius )
{
    Puts( "OnNetworkSubscriptionsGather works!" );
}

Location

  • NetworkVisibilityGrid::GetVisibleFrom(Network.Visibility.Group group, System.Collections.Generic.List`1<Network.Visibility.Group> groups, int radius)
csharp
private void GetVisibleFrom(Group group, List<Group> groups, int radius)
{
	if (Interface.CallHook("OnNetworkSubscriptionsGather", this, group, groups, radius) != null)
	{
		return;
	}
	NetworkVisibilityGrid.<>c__DisplayClass37_0 <>c__DisplayClass37_;
	<>c__DisplayClass37_.groups = groups;
//---

Released under the MIT License.