Table of Contents

Class AchievementUpdateBroadcastSerializer

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Wire format for AchievementUpdateBroadcast.

public static class AchievementUpdateBroadcastSerializer
Inheritance
AchievementUpdateBroadcastSerializer
Inherited Members

Remarks

Hand written for one field. TemplateID is a deterministic 32-bit hash (CachedScriptableObject.AddToCache), so it spans the whole signed range and FishNet's signed-packed form spends FIVE bytes where unpacked spends exactly four. The login sync ships every achievement the character has progress on in one AchievementUpdateMultipleBroadcast, and progress messages then arrive throughout play. Value stays packed — it is an unsigned progress count and small, and unsigned packing has no zigzag to defeat it — and Tier is already a single byte.

Methods

ReadAchievementUpdateBroadcast(Reader)

public static AchievementUpdateBroadcast ReadAchievementUpdateBroadcast(this Reader reader)

Parameters

reader Reader

Returns

AchievementUpdateBroadcast

WriteAchievementUpdateBroadcast(Writer, AchievementUpdateBroadcast)

public static void WriteAchievementUpdateBroadcast(this Writer writer, AchievementUpdateBroadcast value)

Parameters

writer Writer
value AchievementUpdateBroadcast