mirror of
https://github.com/thebreaddev/Supercell.GUT.git
synced 2024-11-10 07:44:37 +00:00
8c6a533918
todo: improve code and finish base structures
34 lines
681 B
C#
34 lines
681 B
C#
using Supercell.GUT.Logic.Base;
|
|
using Supercell.GUT.Titan.Logic.DataStream;
|
|
|
|
namespace Supercell.GUT.Logic.Player;
|
|
|
|
public class LogicInventory : LogicBase
|
|
{
|
|
public LogicInventory(int logicDataVersion) : base(logicDataVersion)
|
|
{
|
|
}
|
|
|
|
public override void Destruct()
|
|
{
|
|
base.Destruct();
|
|
}
|
|
|
|
public override void Encode(ChecksumEncoder checksumEncoder)
|
|
{
|
|
base.Encode(checksumEncoder);
|
|
|
|
checksumEncoder.WriteInt(0);
|
|
}
|
|
|
|
public override void Decode(ByteStream byteStream)
|
|
{
|
|
base.Decode(byteStream);
|
|
|
|
int count = byteStream.ReadInt();
|
|
for (int i = 0; i < count; i++)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|