6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
36 lines
893 B
C#
36 lines
893 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ObjectModel.Backend
|
|
{
|
|
public class RandListMoneyInfo
|
|
{
|
|
public long rowNum;
|
|
public int userId;
|
|
public string userName;
|
|
public string NickName;
|
|
public long Money;
|
|
public int gold;
|
|
public int coupon;
|
|
|
|
public RandListMoneyInfo() { }
|
|
|
|
public RandListMoneyInfo(DataRow row)
|
|
{
|
|
rowNum = (long)row["rowNum"];
|
|
userId = (int)row["userId"];
|
|
userName = (string)row["userName"];
|
|
NickName = row["NickName"] is string nick ? nick : string.Empty;
|
|
Money = (long)row["Money"];
|
|
gold = (int)row["hjha_Gold"];
|
|
coupon = (int)row["coupon"];
|
|
}
|
|
|
|
|
|
}
|
|
}
|