// Token: 0x06003CA6 RID: 15526 RVA: 0x00113170 File Offset: 0x00111370 public static SoldierSkin PbSoldierSkinToSoldierSkin(ProSoldierSkin pbSkin) { return(new SoldierSkin { SkinId = pbSkin.SkinId, SoldierId = pbSkin.SoldierId }); }
public static int SoldierSkinToPbSoldierSkin_s(IntPtr l) { int result; try { SoldierSkin skin; LuaObject.checkType <SoldierSkin>(l, 1, out skin); ProSoldierSkin o = SoldierSkin.SoldierSkinToPbSoldierSkin(skin); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }