public int getMySize() { int total = 0; total += ProtoUtil.GetIntSize(this.roleId, true, 1, true, 0); total += ProtoUtil.GetIntSize(this.magicCode, true, 2, true, 0); return(total + ProtoUtil.GetListBytesSize <SpriteHitedInnerData>(this.enemys, true, 3)); }