초기커밋
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using Amazon.DynamoDBv2.DocumentModel;
|
||||
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
|
||||
namespace GameServer
|
||||
{
|
||||
public static class SocialActionBusinessLogHelper
|
||||
{
|
||||
public static SocialActionLogInfo toSocialActionLogInfo(int socialActionId)
|
||||
{
|
||||
var social_action_log_info = new SocialActionLogInfo();
|
||||
social_action_log_info.setSocialActionInfo(socialActionId);
|
||||
return social_action_log_info;
|
||||
}
|
||||
|
||||
public static void setSocialActionInfo(this SocialActionLogInfo logData, int socialActionId)
|
||||
{
|
||||
logData.SocialActionMetaId = socialActionId;
|
||||
}
|
||||
|
||||
public static SocialActionSlotExchangeLogInfo toSocialActionSlotExchangeLogInfo(string usetGuid, int socialActionSlot, int oldSocialActionMetaId, int newSocialActionMetaId)
|
||||
{
|
||||
var social_action_slot_exchange_log_info = new SocialActionSlotExchangeLogInfo();
|
||||
social_action_slot_exchange_log_info.setSocialActionSlotExchangeInfo(usetGuid, socialActionSlot, oldSocialActionMetaId, newSocialActionMetaId);
|
||||
return social_action_slot_exchange_log_info;
|
||||
}
|
||||
|
||||
public static void setSocialActionSlotExchangeInfo(this SocialActionSlotExchangeLogInfo logData, string usetGuid, int socialActionSlot, int oldSocialActionMetaId, int newSocialActionMetaId)
|
||||
{
|
||||
logData.UserGuid = usetGuid;
|
||||
logData.SocialActionSlot = socialActionSlot;
|
||||
logData.OldSocialActionMetaId = oldSocialActionMetaId;
|
||||
logData.NewSocialActionMetaId = newSocialActionMetaId;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user