public AttachmentMail(Dictionary serialized) : base(serialized) { attachment = AttachmentActionResult.Deserialize( (Dictionary)serialized["attachment"] ); }
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; }
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(); } }
public MonsterCollectionMail(AttachmentActionResult attachmentActionResult, long blockIndex, Guid id, long requiredBlockIndex) : base(attachmentActionResult, blockIndex, id, requiredBlockIndex) { }
public void Update(AttachmentActionResult result, long blockIndex, long unlockBlockIndex) { Result = result; StartBlockIndex = blockIndex; UnlockBlockIndex = unlockBlockIndex; }
public SellerMail(AttachmentActionResult attachmentActionResult, long blockIndex, Guid id, long requiredBlockIndex) : base(attachmentActionResult, blockIndex, id, requiredBlockIndex) { }
protected AttachmentMail(AttachmentActionResult attachmentActionResult, long blockIndex, Guid id, long requiredBlockIndex) : base(blockIndex, id, requiredBlockIndex) { attachment = attachmentActionResult; }