Michsky – Docs Michsky – Docs
  • Home 
  • Documentation 
    • Hex UI 
    • Beam UI 
    • Reach UI 
    • Heat UI 
    • DreamOS 
    • Modern UI Pack 
    • Loading Screen Studio 
    • Dark UI 
    • Motion Titles Pack 
  • Contact 
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home 
  • Documentation 
    • Hex UI 
    • Beam UI 
    • Reach UI 
    • Heat UI 
    • DreamOS 
    • Modern UI Pack 
    • Loading Screen Studio 
    • Dark UI 
    • Motion Titles Pack 
  • Contact 

DreamOS

  • Quick Start
  • Animations
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Commander
    • Game Hub
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
    • Widget Library
  • Handlers & Managers
    • Audio Manager
    • Boot Manager
    • Data Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Localization
    • Getting Started
    • Localization Settings
    • Localization Manager
    • Localized Object
  • UI Elements
    • Button
    • Context Menu
    • Modal Window
    • Selectors
    • Slider
    • Switch
  • UI Manager
  • Others & Add-ons
    • Steam Messaging
  1. Home
  2. DreamOS
  3. Others & Add-ons
  4. Steam Messaging
Updated on May 24, 2022

DreamOS

  • Quick Start
  • Animations
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Commander
    • Game Hub
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
    • Widget Library
  • Handlers & Managers
    • Audio Manager
    • Boot Manager
    • Data Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Localization
    • Getting Started
    • Localization Settings
    • Localization Manager
    • Localized Object
  • UI Elements
    • Button
    • Context Menu
    • Modal Window
    • Selectors
    • Slider
    • Switch
  • UI Manager
  • Others & Add-ons
    • Steam Messaging

Steam Messaging

Author: admin 165 views

Dependencies

This add-on requires a Steamworks wrapper. All Steamworks wrappers should work with this package, but only Steamworks.NET has been tested. To install Steamworks.NET into your project, you can see this page or click here.

How To Use

All you have to do is create the Steam Chat Handler component. To do this easily, you can click on Tools > DreamOS > Add-ons > Create Steam Chat Handler. Steamworks.NET is made/maintained by Riley Labrecque (@rlabrecque).

We’re almost done – but there’s one more thing! Make sure you have Steam Manager in one of your scenes. If not, then create a new object and add the component, like this:

That’s it! You can now open the messaging app and use the Steam tab to chat with your steam friends.

Properties

Property Type Function
addInitializeDelay
bool

Helps when Steam avatars doesn't show up correctly.

dynamicSorting
bool

Changes sorting at runtime depending on unread status.

enableTypingIndicator
bool

Adds typing effect to the chat layout when enabled.

flipAvatars
bool

Steamworks returns mirrored avatars, this option shows the avatar icons as they should appear.

sortBy
enum

Changes the sorting algorithm.

updateMode
enum

Changes the update mode algorithm.

constantUpdateTime
float

Updates friend list depending on the given time (when).

Scripting

				
					using Michsky.DreamOS; // namespace

public SteamworksChatHandler chatHandler; // Steam chat handler variable

void YourFunction()
{
   chatHandler.panelIcon = SpriteVariable; // Set messaging panel icon
   chatHandler.panelName = "Steam Friends"; // Set messaging panel title
   chatHandler.onlineLabel = "Online"; // Set online label
   chatHandler.offlineLabel = "Offline"; // Set online label
   chatHandler.inGameLabel = "In Game"; // Set in-game label
   chatHandler.busyLabel = "Busy"; // Set busy label
   chatHandler.awayLabel = "Busy"; // Set away label
   chatHandler.snoozeLabel = "Busy"; // Set snooze label
   
   // Initialize Steam Chat Handler from scratch
   chatHandler.InitializeChat();
   
   // Update friend persona manually
   chatHandler.RefreshFriends();
}				
			

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

© 2024 Michsky