31 Commits over 0 Days - ∞cph!
Use userId instead of broadcasterId, they're the same thing but userId makes more sense
Fix TwitchAPI.SetChannelLanguage
Add TwitchAPI.GetChannel
try catch http requests
Remove username from IStreamClient, no longer needed
Add TwitchAPI.SetUserDescription
Add TwitchAPI.SetChannelTitle
Add set channel game, language and delay
Add StreamClient.UserId so this doesn't have to be queried all the time
StreamClient.Username uses name from service token
Make StreamClient.TwitchAPI publicly accessible
Don't connect to twitch pubsub for now, isn't useful yet
Only fetch twitch credentials once across client, pubsub and api
Initial support for twitch helix api. Added TwitchAPI.GetUser
Add internal TwitchAPI.ServiceToken which throws for invalid token for convenience
Add internal TwitchAPI.Http which sets up http client with client-id and auth headers
Add TwitchAPI.GetUserFollowing and TwitchAPI.GetUserFollowers
Add the rest of the UserFollow data
Add TwitchAPI.GetStream
Make sure join and part use lowercase channel name
Remove twitch test menu cmd
Add StreamClient.LeaveChannel
Add StreamClient.Username
Add StreamClient.JoinChannel, don't automatically join our own channel
Add StreamClient.Service getter
Remove rfc2812 class, isn't needed anymore
Add cap req for tags, commands, membership
Grab chat message color from tags
Add badges to chat message
Don't split badges string if it's null or empty
Add join/leave events
Send username in join and leave events
Add StreamClient.ClearChat
Add StreamClient.BanUser and StreamClient.UnbanUser
Add StreamClient.TimeoutUser
Squashed commit of the following:
Add Event.Stream.Command attrubute
Squashed commit of the following:
commit 66cbb293211702db15af39a7a3333eb4d9f3c19e
Merge: d8f87ec65 3baee98d8
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Mon Sep 6 16:33:43 2021 +0300
Merge branch 'master' of sbox
commit d8f87ec6587441a577f2d12df1dadda77c0fbc45
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Mon Sep 6 16:30:53 2021 +0300
Allow connecting to server without correct password for loopback addresses
commit 3baee98d8097dd3fe0684e51e25aed4bc03be0ed
Author: aylaylay <fortblox@gmail.com>
Date: Mon Sep 6 14:29:24 2021 +0100
Add Model.BoneCount, Model.GetBoneName, Model.GetBoneParent
commit 18a2533d5e22a4ba22574a481b18dce44a00cf2d
Author: aylaylay <fortblox@gmail.com>
Date: Mon Sep 6 14:25:15 2021 +0100
Fix CSceneAnimatableObject using scaled world transform to evaluate pose, fixes scaled anim scene objects
commit d3b2dece8813303eb2a42122ca51f4723d8f1ee2
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 14:19:11 2021 +0100
Don't change SceneObject's m_nID when parenting - this prevents a crash due to hanging pointer in m_objectList
commit 9098669a376b526f625d5f5a8ea83d3204e4872c
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 14:18:33 2021 +0100
Fix startup assert
commit 726a522837f4cdb3783d81dbe1bbc565a0911742
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 13:19:16 2021 +0100
SceneObject delete uses DeleteSceneObjectAtFrameEnd
commit e5b15971652001ea779f4692cf7ba1dd2a6cf775
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 10:49:39 2021 +0100
AnimSceneObject.Update takes a delta instead of absolute time
commit fcdf5f9acab0e7858e9f527864591d1556094ad9
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 10:49:10 2021 +0100
Light SceneObjects use SceneObject transform instead of own Ang/Pos
commit 2aad6196377c6217346ff3b85c619e3caef1f6bd
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 10:46:23 2021 +0100
Fix point light falloff being fucked
commit e8fde90c9aa8c823a3207571828f5a302f3a9087
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 10:01:46 2021 +0100
ScenePanel.Position/Angles becomes ScenePanel.CameraPosition/Rotation
commit 75e1746d3b25ae5c1841cd9e0f9185abf5507721
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 10:01:11 2021 +0100
Add INode.GetAttribute<T>()
commit 6f88a0359ed301975377f44cef9135d671581c48
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 10:00:38 2021 +0100
Add SceneObject.Rotation, SceneObject.Position
commit e488dac908b2dcc06b4a86ce948c1e69eb0f0441
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 09:09:58 2021 +0100
Don't let exceptions in Panel.DrawContent take down the whole UI
commit ec25568e27ab2412de3484f1ca088e9bfcab9198
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Mon Sep 6 09:09:34 2021 +0100
UI.Scene becomes UI.ScenePanel
commit 82b8eafc1da720c04f7fd9fa80ee173d2f659ef7
Author: Sam Pavlovic <samzanemesis@gmail.com>
Date: Fri Sep 3 19:41:57 2021 +0300
Calculate hash from a stringtoken of resource id rather than a random one
commit badd6f4b7069c74c58af624ab43c727ed69f19f4
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Fri Sep 3 17:17:08 2021 +0300
Fixed loss of functionality in Hammer when doing manipulations on a path node when a tangent is selected
commit 4b6702fe7d07488a79c7317be7f64e12296b21f0
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Fri Sep 3 17:16:26 2021 +0300
Minor improvement with path node numbers when one node is selected
commit 5fd7caa169c4409d029916b16bcb48ce8a53e12e
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Fri Sep 3 15:55:54 2021 +0300
Rotating and Scaling nodes affects tangents properly.
commit 4d10945967c04e6033a0b7489c89ac8bf9ffc606
Merge: 4517687b2 8df266cc0
Author: Sam Pavlovic <samzanemesis@gmail.com>
Date: Fri Sep 3 02:32:42 2021 +0300
Merge branch 'master' of sbox
commit 4517687b2afd2bbec735592b1e026ccede8331b0
Author: Sam Pavlovic <samzanemesis@gmail.com>
Date: Fri Sep 3 02:32:30 2021 +0300
Pass which light cookie a light desc uses to path tracer as a hash rather than as a handle to not mess distributed processing
commit 8df266cc08233c1d81cdbfa87b6a5895a152e927
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 21:32:59 2021 +0300
Draw path node numbers when path/node is selected
commit e78f93b6e962a9e249184cecc4a906a35ccd1ff9
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 21:32:10 2021 +0300
Improved behavior of shift dragging path nodes in Hammer
commit 945cfb17dc540939240b827aac0f79076396fd02
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 16:02:41 2021 +0100
Fixed ConVar.ClientData returning string
commit 5b2db68c0a9bb0574135447cd22677c6bf58522d
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 15:46:44 2021 +0100
Add a couple more decimal places to Color json encoding
commit 03fdfa814c41b6ed11c448f4b6725a77b529bb19
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 15:42:49 2021 +0100
Fixed scss variables with variables
commit 0e8d8d6cd33d5b60251e7d11e13ee34a440a2bd9
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 17:31:45 2021 +0300
Make Sound.FromEntity throw NRE instead of silently doing nothing with invalid entities
commit 7973af2f53edb6a4f22082e988be71c55f7f88e8
Merge: 93050daa1 4862bd360
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 15:07:38 2021 +0100
Merge branch 'master' of sbox
commit 4862bd36059cc3b2a5fe526867801851fb4ca976
Merge: 67be40950 72ca0e41a
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 16:52:06 2021 +0300
Merge branch 'master' of sbox
commit 67be40950eeef22f9e040035a65b9dba41909fe6
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 16:51:52 2021 +0300
Fixed Sound.FromEntity crashing with invalid entities
commit 93050daa19234520cd60b822b5c4d0cd83244d74
Merge: f34af1673 72ca0e41a
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:40:59 2021 +0100
Merge branch 'master' of sbox
commit f34af1673f49abbaeae9abf596926052a45f5c22
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:40:47 2021 +0100
When precaching, make available via Resources too
commit 72ca0e41a97ae4f775ae97c8c0e260235d277773
Author: Conna Wiles <kurozael@gmail.com>
Date: Thu Sep 2 14:39:06 2021 +0100
Fixed RenderEntity transform updates being tied to tick rate
commit 8b5ddeabe764dc9d1391a6303e43e382ae74c5df
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:23:50 2021 +0100
Fixed WorldEntity not being able to be sent in rpc
commit fd07037b909084985ac39e909ec82043243cc0a7
Author: Sam Pavlovic <samzanemesis@gmail.com>
Date: Thu Sep 2 16:23:03 2021 +0300
Remove silly blinking Vis Reflectivity Warning on albedo and reflectivity visualization
commit a1f9e0e8d9097158f4ec2c8fcf486527f40a486c
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:03:04 2021 +0100
Move decal class to addons
commit 6546fb3de58d1bce0109272c8b1b62b54c36ecb3
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:02:35 2021 +0100
Codegen - warn if we want a class to be partial
commit 07a4c80ac90ebf619b58c2f08aafa2d722c4d7b4
Author: Sam Pavlovic <samzanemesis@gmail.com>
Date: Thu Sep 2 15:36:59 2021 +0300
Allow lightcookies to be baked on path tracer
commit ad5555c6660e7f4260cfed085b91366921bd89ad
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 12:01:22 2021 +0100
Tweaked how Global.TickRate is read and reported by the engine (and tested it all this time)
Hook up service api to twitch client
Add disconnected stream event
Don't reconnect twitch client if websocket disconnect reason is "disposing" bit lame
Completely abstract twitch client behind StreamClient
Start to move things into a general streamer api
Rename Event.Twitch attributes to Event.Stream
Squashed commit of the following:
commit 945cfb17dc540939240b827aac0f79076396fd02
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 16:02:41 2021 +0100
Fixed ConVar.ClientData returning string
commit 5b2db68c0a9bb0574135447cd22677c6bf58522d
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 15:46:44 2021 +0100
Add a couple more decimal places to Color json encoding
commit 03fdfa814c41b6ed11c448f4b6725a77b529bb19
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 15:42:49 2021 +0100
Fixed scss variables with variables
commit 0e8d8d6cd33d5b60251e7d11e13ee34a440a2bd9
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 17:31:45 2021 +0300
Make Sound.FromEntity throw NRE instead of silently doing nothing with invalid entities
commit 7973af2f53edb6a4f22082e988be71c55f7f88e8
Merge: 93050daa1 4862bd360
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 15:07:38 2021 +0100
Merge branch 'master' of sbox
commit 4862bd36059cc3b2a5fe526867801851fb4ca976
Merge: 67be40950 72ca0e41a
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 16:52:06 2021 +0300
Merge branch 'master' of sbox
commit 67be40950eeef22f9e040035a65b9dba41909fe6
Author: Rubat <3299036+robotboy655@users.noreply.github.com>
Date: Thu Sep 2 16:51:52 2021 +0300
Fixed Sound.FromEntity crashing with invalid entities
commit 93050daa19234520cd60b822b5c4d0cd83244d74
Merge: f34af1673 72ca0e41a
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:40:59 2021 +0100
Merge branch 'master' of sbox
commit f34af1673f49abbaeae9abf596926052a45f5c22
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:40:47 2021 +0100
When precaching, make available via Resources too
commit 72ca0e41a97ae4f775ae97c8c0e260235d277773
Author: Conna Wiles <kurozael@gmail.com>
Date: Thu Sep 2 14:39:06 2021 +0100
Fixed RenderEntity transform updates being tied to tick rate
commit 8b5ddeabe764dc9d1391a6303e43e382ae74c5df
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:23:50 2021 +0100
Fixed WorldEntity not being able to be sent in rpc
commit a1f9e0e8d9097158f4ec2c8fcf486527f40a486c
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:03:04 2021 +0100
Move decal class to addons
commit 6546fb3de58d1bce0109272c8b1b62b54c36ecb3
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 14:02:35 2021 +0100
Codegen - warn if we want a class to be partial
commit ad5555c6660e7f4260cfed085b91366921bd89ad
Author: Garry Newman <garrynewman@users.noreply.github.com>
Date: Thu Sep 2 12:01:22 2021 +0100
Tweaked how Global.TickRate is read and reported by the engine (and tested it all this time)
Use event system instead of delegates
Support calling static events that have args
Send user and join channel only when authed and connected. Don't try to reconnect if auth fails.
Make ChatMessage a struct
Add Event.Twitch.Message and Event.Twitch.Connected