초기커밋
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using MetaAssets;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GameServer
|
||||
{
|
||||
internal static class AddressBusinessLogHelper
|
||||
{
|
||||
public static AddressLogInfo toAddressLogInfo(int worldMetaId, int landMetaId, int buildingMetaId, int floor, int instanceMetaId, string myhomeGuid, string ownerGuid)
|
||||
{
|
||||
var address_log_info = new AddressLogInfo();
|
||||
address_log_info.setAddressInfo(worldMetaId, landMetaId, buildingMetaId, floor, instanceMetaId, myhomeGuid, ownerGuid);
|
||||
return address_log_info;
|
||||
}
|
||||
|
||||
public static void setAddressInfo(this AddressLogInfo logData, int worldMetaId, int landMetaId, int buildingMetaId, int floor, int instanceMetaId, string myhomeGuid, string ownerGuid)
|
||||
{
|
||||
logData.WorldMetaId = worldMetaId;
|
||||
logData.LandMetaId = landMetaId;
|
||||
logData.BuildingMetaId = buildingMetaId;
|
||||
logData.Floor = floor;
|
||||
logData.InstanceMetaId = instanceMetaId;
|
||||
logData.MyhomeGuid = myhomeGuid;
|
||||
logData.OwnerGuid = ownerGuid;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user