Ejemplo n.º 1
0
 public AttachmentMail(Dictionary serialized)
     : base(serialized)
 {
     attachment = AttachmentActionResult.Deserialize(
         (Dictionary)serialized["attachment"]
         );
 }
Ejemplo n.º 2
0
        public void UpdateV2(long blockIndex, Material material, int count)
        {
            Update(blockIndex);
            var result = new RapidCombination5.ResultModel((Dictionary)Result.Serialize())
            {
                cost = new Dictionary <Material, int> {
                    [material] = count
                }
            };

            Result = result;
        }
Ejemplo n.º 3
0
        public CombinationSlotState(Dictionary serialized) : base(serialized)
        {
            UnlockBlockIndex = serialized["unlockBlockIndex"].ToLong();
            UnlockStage      = serialized["unlockStage"].ToInteger();
            if (serialized.TryGetValue((Text)"result", out var result))
            {
                Result = AttachmentActionResult.Deserialize((Dictionary)result);
            }

            if (serialized.TryGetValue((Text)"startBlockIndex", out var value))
            {
                StartBlockIndex = value.ToLong();
            }
        }
Ejemplo n.º 4
0
 public MonsterCollectionMail(AttachmentActionResult attachmentActionResult, long blockIndex, Guid id, long requiredBlockIndex)
     : base(attachmentActionResult, blockIndex, id, requiredBlockIndex)
 {
 }
Ejemplo n.º 5
0
 public void Update(AttachmentActionResult result, long blockIndex, long unlockBlockIndex)
 {
     Result           = result;
     StartBlockIndex  = blockIndex;
     UnlockBlockIndex = unlockBlockIndex;
 }
Ejemplo n.º 6
0
 public SellerMail(AttachmentActionResult attachmentActionResult, long blockIndex, Guid id, long requiredBlockIndex) : base(attachmentActionResult,
                                                                                                                            blockIndex, id, requiredBlockIndex)
 {
 }
Ejemplo n.º 7
0
 protected AttachmentMail(AttachmentActionResult attachmentActionResult, long blockIndex, Guid id, long requiredBlockIndex)
     : base(blockIndex, id, requiredBlockIndex)
 {
     attachment = attachmentActionResult;
 }