You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
753 B
24 lines
753 B
using System.Collections.Generic; |
|
|
|
namespace ET |
|
{ |
|
public static class FarmlandHelper |
|
{ |
|
public static void M2C_NtfFarmlandRipeProgress(Unit unit, List<long> farmlandIds, List<int> progresses) |
|
{ |
|
if (farmlandIds.Count == 0) |
|
{ |
|
return; |
|
} |
|
MessageHelper.SendToClient(unit,new M2C_NtfFarmlandRipeProgress(){ FarmlandIds = farmlandIds,Progresses = progresses}); |
|
} |
|
public static void NotifyFarmlandRipe(Unit unit, List<long> farmlandIds) |
|
{ |
|
if (farmlandIds.Count == 0) |
|
{ |
|
return; |
|
} |
|
MessageHelper.SendToClient(unit,new M2C_NtfFarmlandRipe(){FarmlandIds =farmlandIds }); |
|
} |
|
} |
|
} |