public void onPreReceive(ReceivePack rp,Collection<ReceiveCommand> commands) {for (int i = 0; i < count; i++)hooks[i].onPreReceive(rp, commands);}
public override void OnPreReceive(ReceivePack rp, ICollection<ReceiveCommand> commands){for (int i = 0; i < count; i++){hooks[i].OnPreReceive(rp, commands);}}