public void newGraphics(Pawn pawn)
        {
            if (pawn.RaceProps.Humanlike)
            {
                dataZ = new ZombieData(pawn);

                newGraphics(dataZ);
            }
        }
 // Token: 0x0600006D RID: 109 RVA: 0x000046E8 File Offset: 0x000028E8
 public ZombieData(ZombieData source, Color color, Color hairColor, string shaderCutoutPath)
 {
     this.bodyType         = source.bodyType;
     this.headGraphicPath  = source.headGraphicPath;
     this.hairGraphicPath  = source.hairGraphicPath;
     this.crownType        = source.crownType;
     this.color            = color;
     this.hairColor        = hairColor;
     this.shaderCutoutPath = shaderCutoutPath;
     //this.wornApparelDefs = new List<ThingDef>(source.wornApparelDefs);
 }
 // Token: 0x060041CE RID: 16846 RVA: 0x001E04F8 File Offset: 0x001DE8F8
 public Pawn_DrawTracker_Zombiefied(Pawn pawn, ZombieData data)
 {
     this.pawn            = pawn;
     this.tweener         = new PawnTweener(pawn);
     this.jitterer        = new JitterHandler();
     this.leaner          = new PawnLeaner(pawn);
     this.renderer        = new PawnRenderer_Zombiefied(pawn, data);
     this.ui              = new PawnUIOverlay(pawn);
     this.footprintMaker  = new PawnFootprintMaker(pawn);
     this.breathMoteMaker = new PawnBreathMoteMaker(pawn);
 }
Пример #4
0
 // Token: 0x060041F0 RID: 16880 RVA: 0x001E11B8 File Offset: 0x001DF5B8
 public PawnRenderer_Zombiefied(Pawn pawn, ZombieData data)
 {
     //this.oldPawn = oldPawn;
     this.pawn           = pawn;
     this.wiggler        = new PawnDownedWiggler(pawn);
     this.statusOverlays = new PawnHeadOverlays(pawn);
     this.woundOverlays  = new PawnWoundDrawer(pawn);
     this.graphics       = new ZombieGraphicSet(data);
     //this.graphics = gra;
     //this.effecters = new PawnStatusEffecters(pawn);
 }
Пример #5
0
 // Token: 0x06000073 RID: 115 RVA: 0x00004905 File Offset: 0x00002B05
 public ZombieGraphicSet(ZombieData data)
 {
     this.data = data;
 }
 public void newGraphics(ZombieData data)
 {
     drawerZ = new Pawn_DrawTracker_Zombiefied(this, data);
 }