private static void LoadWeGame() { SocialAPI.LoadModule <Terraria.Social.WeGame.CoreSocialModule>(); SocialAPI.Cloud = (Terraria.Social.Base.CloudSocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.CloudSocialModule>(); SocialAPI.Friends = (Terraria.Social.Base.FriendsSocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.FriendsSocialModule>(); SocialAPI.Overlay = (Terraria.Social.Base.OverlaySocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.OverlaySocialModule>(); SocialAPI.Network = (Terraria.Social.Base.NetSocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.NetServerSocialModule>(); WeGameHelper.WriteDebugString("LoadWeGame modules"); }
private static void LoadWeGame() { LoadModule <Terraria.Social.WeGame.CoreSocialModule>(); Cloud = LoadModule <Terraria.Social.WeGame.CloudSocialModule>(); Friends = LoadModule <Terraria.Social.WeGame.FriendsSocialModule>(); Overlay = LoadModule <Terraria.Social.WeGame.OverlaySocialModule>(); Network = LoadModule <Terraria.Social.WeGame.NetClientSocialModule>(); WeGameHelper.WriteDebugString("LoadWeGame modules"); }
private static void LoadSteam() { LoadModule <Terraria.Social.Steam.CoreSocialModule>(); Friends = LoadModule <Terraria.Social.Steam.FriendsSocialModule>(); Achievements = LoadModule <Terraria.Social.Steam.AchievementsSocialModule>(); Cloud = LoadModule <Terraria.Social.Steam.CloudSocialModule>(); Overlay = LoadModule <Terraria.Social.Steam.OverlaySocialModule>(); Network = LoadModule <Terraria.Social.Steam.NetClientSocialModule>(); WeGameHelper.WriteDebugString("LoadSteam modules"); }
private static void LoadSteam() { SocialAPI.LoadModule <Terraria.Social.Steam.CoreSocialModule>(); SocialAPI.Friends = (Terraria.Social.Base.FriendsSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.FriendsSocialModule>(); SocialAPI.Achievements = (Terraria.Social.Base.AchievementsSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.AchievementsSocialModule>(); SocialAPI.Cloud = (Terraria.Social.Base.CloudSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.CloudSocialModule>(); SocialAPI.Overlay = (Terraria.Social.Base.OverlaySocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.OverlaySocialModule>(); SocialAPI.Network = (Terraria.Social.Base.NetSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.NetClientSocialModule>(); WeGameHelper.WriteDebugString("LoadSteam modules"); }