초기커밋
This commit is contained in:
46
ServerCommon/1. Define/BusinessLog/Domain/PositionLogInfo.cs
Normal file
46
ServerCommon/1. Define/BusinessLog/Domain/PositionLogInfo.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class PositionLogInfo : ILogInvoker.IInfo
|
||||
{
|
||||
[JsonProperty]
|
||||
public string PositionMoveType { get; set; } = string.Empty; // PositionMoveType
|
||||
[JsonProperty]
|
||||
public string ServerName { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public string MapType { get; set; } = string.Empty; // MapFileType
|
||||
[JsonProperty]
|
||||
public int MapMId { get; set; } // MapFileType 에 따른 MetaId
|
||||
[JsonProperty]
|
||||
public string RoomId { get; set; } = string.Empty;
|
||||
[JsonProperty]
|
||||
public Pos Pos { get; set; } = new Pos();
|
||||
|
||||
public PositionLogInfo()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
public PositionLogInfo(ILogInvoker parent, PositionLogInfo logParam)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != logParam)
|
||||
{
|
||||
setPositionInfo(logParam);
|
||||
}
|
||||
}
|
||||
|
||||
public void setPositionInfo(PositionLogInfo logInfo)
|
||||
{
|
||||
PositionMoveType = logInfo.PositionMoveType;
|
||||
ServerName = logInfo.ServerName;
|
||||
RoomId = logInfo.RoomId;
|
||||
MapType = logInfo.MapType;
|
||||
MapMId = logInfo.MapMId;
|
||||
Pos = logInfo.Pos;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user